/* ============================================================
   SDO Attendance System — Verify Page Styles
   ============================================================ */

/* ---------- Layout ---------- */
.verify-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px 60px;
    min-height: calc(100vh - 80px);
}

.verify-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 36px;
    animation: fadeSlideUp 0.5s ease;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Card Header ---------- */
.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.card-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.card-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.card-header p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.card-header p strong {
    color: var(--green-600);
    word-break: break-all;
}

/* ---------- Form ---------- */
.verify-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.verify-form .btn-lg {
    width: 100%;
    margin-top: 4px;
}

/* ---------- OTP Inputs ---------- */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 4px;
}

.otp-digit {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', monospace;
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: var(--transition);
    caret-color: var(--green-500);
}

.otp-digit:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), var(--shadow-md);
    background: white;
}

.otp-digit:not(:placeholder-shown) {
    border-color: var(--green-400);
    background: var(--green-50);
}

/* ---------- OTP Footer ---------- */
.otp-footer {
    text-align: center;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.otp-timer {
    font-size: 13px;
    color: var(--gray-500);
}

.otp-timer strong {
    color: var(--gray-700);
    font-variant-numeric: tabular-nums;
}

.btn-link {
    background: none;
    border: none;
    color: var(--blue-500);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.btn-link:disabled {
    color: var(--gray-400);
    cursor: not-allowed;
    background: none;
}

/* ---------- OTP Message ---------- */
.auth-message {
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.auth-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-message.success {
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-200);
}

/* ---------- Divider ---------- */
.verify-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
}

.verify-divider::before,
.verify-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.verify-divider span {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Resume Section ---------- */
.resume-section {
    text-align: center;
}

.resume-text {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.resume-section .btn-outline,
.verify-card > .btn-outline {
    width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
    .verify-card {
        padding: 28px 20px;
    }

    .otp-inputs {
        gap: 6px;
    }

    .otp-digit {
        width: 44px;
        height: 52px;
        font-size: 20px;
    }

    .card-header h2 {
        font-size: 19px;
    }
}
