
/* Registration Page */
.registration-section {
    width: 100%;
    min-height: 75vh;
    padding: 65px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 55%, #edf4ff 100%);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.registration-card {
    width: 100%;
    max-width: 510px;
    background: #ffffff;
    padding: 40px 42px;
    border-radius: 20px;
    border: 1px solid #e6ebf5;
    box-shadow: 0 15px 50px rgba(26, 54, 100, 0.10);
    box-sizing: border-box;
}

.registration-heading {
    text-align: center;
    margin-bottom: 30px;
}

.registration-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1757d5, #3988ff);
    color: #ffffff;
    font-size: 27px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.registration-heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: #172b4d;
    margin: 0 0 10px;
    line-height: 1.35;
}

.registration-heading p {
    font-size: 13px;
    color: #718096;
    line-height: 1.8;
    margin: 0;
}

.registration-form .form-group {
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 9px;
    color: #263752;
    font-size: 13px;
    font-weight: 600;
}

.registration-form .input-wrapper {
    display: flex;
    align-items: center;
    height: 52px;
    border: 1px solid #dce4f0;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 15px;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
    box-sizing: border-box;
}

.registration-form .input-wrapper > i {
    color: #7b8ba6;
    font-size: 16px;
    width: 24px;
    flex-shrink: 0;
}

.registration-form .input-wrapper input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 8px;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #172b4d;
    font-family: inherit;
    font-size: 13px;
    box-sizing: border-box;
}

.registration-form .input-wrapper input::placeholder {
    color: #a0aec0;
    opacity: 1;
}

.registration-form .input-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.registration-form .register-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1757d5, #347fff);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.registration-form .register-btn i {
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.registration-form .register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(37, 99, 235, 0.25);
}

.registration-form .register-btn:hover i {
    transform: translateX(4px);
}

.registration-alert {
    padding: 13px 15px;
    margin-bottom: 22px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fff1f2;
    color: #b42318;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.registration-alert i {
    margin-right: 7px;
}

.registration-footer {
    margin: 22px 0 0;
    text-align: center;
    font-size: 12px;
    color: #718096;
}

.registration-footer a {
    color: #1757d5;
    font-weight: 600;
    text-decoration: none;
}

.registration-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .registration-section {
        min-height: auto;
        padding: 35px 14px;
    }

    .registration-card {
        padding: 28px 20px;
        border-radius: 15px;
    }

    .registration-heading h2 {
        font-size: 24px;
    }

    .registration-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .registration-form .input-wrapper {
        height: 49px;
    }
}

/* Student Login Page */

.login-card {
    max-width: 470px;
}

.login-card .registration-heading {
    margin-bottom: 32px;
}

.login-card .registration-form .form-group {
    margin-bottom: 24px;
}

.login-card .registration-form .register-btn {
    margin-top: 8px;
}

.login-success {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 15px;
    margin-bottom: 22px;
    border: 1px solid #a7f3d0;
    border-radius: 9px;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.login-success i {
    margin-top: 3px;
    flex-shrink: 0;
}

.login-card .registration-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf0f5;
}

@media (max-width: 576px) {
    .login-card {
        max-width: 100%;
    }

    .login-card .registration-heading {
        margin-bottom: 25px;
    }
}


/* Email OTP Verification Page */

.otp-card {
    max-width: 490px;
}

.otp-icon {
    background: linear-gradient(135deg, #0f766e, #2dd4bf);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.20);
}

.otp-card .registration-heading {
    margin-bottom: 32px;
}

.otp-card .registration-heading p {
    max-width: 365px;
    margin: 0 auto;
}

.otp-input-wrapper {
    width: 100%;
    margin-top: 8px;
}

.otp-input-wrapper input {
    display: block;
    width: 100%;
    height: 65px;
    padding: 10px 15px;
    border: 1px solid #dce4f0;
    border-radius: 12px;
    outline: none;
    background: #f9fbff;
    color: #172b4d;
    font-family: 'Poppins', sans-serif;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 12px;
    text-align: center;
    box-sizing: border-box;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
}

.otp-input-wrapper input::placeholder {
    color: #c0cada;
    opacity: 1;
}

.otp-input-wrapper input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.otp-help {
    margin: 12px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.7;
}

.otp-help i {
    margin-right: 5px;
    color: #2563eb;
}

.otp-form .register-btn {
    margin-top: 12px;
}

.otp-card .registration-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf0f5;
}

@media (max-width: 576px) {
    .otp-card {
        max-width: 100%;
    }

    .otp-input-wrapper input {
        height: 58px;
        font-size: 24px;
        letter-spacing: 9px;
    }
}


/* OTP Countdown Timer */

.otp-timer-box {
    text-align: center;
    margin: 24px 0;
    padding: 18px;
    border-radius: 12px;
    background: #f3f7ff;
    border: 1px solid #e0eaff;
}

.otp-timer-label {
    color: #64748b;
    font-size: 12px;
    margin: 0 0 6px;
}

.otp-countdown {
    color: #1757d5;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
}

.otp-countdown.expired {
    color: #dc2626;
}

.otp-expired-message {
    color: #dc2626;
    font-size: 12px;
    margin: 8px 0 0;
}

.resend-otp-area {
    text-align: center;
    margin: 22px 0;
}

.resend-otp-area > p {
    font-size: 13px;
    color: #718096;
    margin-bottom: 8px;
}

.resend-otp-btn {
    background: transparent;
    border: none;
    color: #1757d5;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
}

.resend-otp-btn:hover:not(:disabled) {
    color: #0d3ea8;
    text-decoration: underline;
}

.resend-otp-btn:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.resend-otp-btn i {
    margin-right: 5px;
}

.resend-countdown {
    margin: 5px 0 0;
    font-size: 12px;
    color: #718096;
}

@media (max-width: 576px) {
    .otp-timer-box {
        padding: 15px;
    }

    .otp-countdown {
        font-size: 27px;
    }
}


