/* assets/frontend/css/admission-form.css */

#otpSection {
    display: none;
}

#formContainer {
    transition: opacity 0.5s ease-in-out;
}

label.error {
    color: red;
    font-style: italic;
    text-align: right;
    display: block;
}

.global-container {
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

form {
    padding-top: 10px;
    font-size: 14px;
    margin-top: 30px;
}

.card-title {
    font-weight: 300;
}

.login-form {
    margin: 20px;
}

.sign-up {
    text-align: center;
    padding: 20px 0 0;
}

.alert {
    margin-bottom: -30px;
    font-size: 13px;
    margin-top: 20px;
}

#signup a {
    font-weight: bold;
    text-decoration: underline;
    font-size: 16px;
}

.instruction_col {
    border: 1px double #ccc;
    padding: 10px;
    font-size: 14px;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.head-1 {
    color: #0A5304;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.head-3 {
    color: #A31114;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.head-2 {
    color: #D9CD45;
    font-size: 20px;
    text-align: center;
}

.header_nrs_new_logo {
    height: 98px !important;
}

.error {
    color: red;
}

/* Math CAPTCHA Styling */
#math-question {
    background: #0A5304;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px 0 0 5px;
}

#captcha-answer {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.input-group-text {
    border: 2px solid #0A5304;
}

.captcha-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Security Enhancement */
.form-security {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-security::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

/* Loading Animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Form Enhancements */
.form-control:focus {
    border-color: #0A5304;
    box-shadow: 0 0 0 0.2rem rgba(10, 83, 4, 0.25);
}

.btn-info {
    background-color: #0A5304;
    border-color: #0A5304;
}

.btn-info:hover {
    background-color: #087503;
    border-color: #087503;
}

.btn-primary {
    background-color: #A31114;
    border-color: #A31114;
}

.btn-primary:hover {
    background-color: #8B0E10;
    border-color: #8B0E10;
}

/* Countdown Timer */
.countdown {
    font-weight: bold;
    color: #A31114;
    font-size: 14px;
    padding-top: 8px;
}

/* Instructions Styling */
.instruction_col ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.instruction_col ul li b {
    color: #0A5304;
}

/* Modal Styling */
.modal-header {
    background-color: #0A5304;
    color: white;
}

.modal-title {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .instruction_col {
        margin-top: 20px;
    }
    
    .global-container {
        margin-bottom: 20px;
    }
}

/* Error Messages */
.error-message {
    color: #A31114;
    font-size: 12px;
    margin-top: 5px;
}

/* Success Messages */
.success-message {
    color: #0A5304;
    font-size: 12px;
    margin-top: 5px;
}

.field-error {
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}