/* ==================================================
   OTP + EXAM INTRO CONTAINER
================================================== */
.otp-gate {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ==================================================
   EXAM INTRO CARD
================================================== */
.exam-intro-card {
    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    padding: 24px 26px;
    margin-bottom: 32px;
}

.exam-intro-card h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 12px;
}

.exam-intro-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 16px;
}


.exam-rules {
    margin: 0;
    padding-left: 18px;
}

.exam-rules li {
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ==================================================
   AUTH SECTION HEADINGS
================================================== */
.auth-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.auth-intro {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 22px;
}

/* ==================================================
   FORM ROW
================================================== */
.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-row input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ==================================================
   PRIMARY BUTTON
================================================== */
.primary-btn {
    display: inline-block;
    width: 100%;
    background: linear-gradient(90deg, #1a73e8, #1558b0);
    color: #ffffff;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 6px;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.25);
}

.primary-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==================================================
   OTP CARD
================================================== */
.otp-card {
    margin-top: 24px;
    padding: 22px 20px;
    background: #f9fafb;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
}

.otp-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.otp-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

/* ==================================================
   OTP INPUTS
================================================== */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0;
}

.otp-input {
    width: 52px;
    height: 52px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* ==================================================
   OTP FOOTER
================================================== */
.otp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 14px;
}

#gate-otp-status {
    font-weight: 600;
}

#otpTimer {
    font-weight: 500;
    color: #374151;
}

/* ==================================================
   RESEND BUTTON
================================================== */
#resendOtpBtn {
    background: #ffffff;
    color: #1a73e8;
    border: 1px solid #1a73e8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#resendOtpBtn:hover:not(:disabled) {
    background: #1a73e8;
    color: #ffffff;
}

#resendOtpBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {
    .otp-gate {
        margin: 20px 12px;
        padding: 24px 18px;
    }

    .exam-intro-card {
        padding: 18px;
    }

    .otp-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .primary-btn {
        font-size: 14px;
    }
}