/**
 * Bine Auth – Email Verification Styles v6.0
 * Scoped, safe, no bleed
 */

/* ------------------------------------------------------------
   WRAPPER (CRITICAL SCOPE)
------------------------------------------------------------ */
.auth-page-wrapper {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111;
}

/* ------------------------------------------------------------
   VERIFY CONTAINER
------------------------------------------------------------ */
.auth-page-wrapper .verify-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 36px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* ------------------------------------------------------------
   HEADINGS & TEXT
------------------------------------------------------------ */
.auth-page-wrapper h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
}

.auth-page-wrapper .subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ------------------------------------------------------------
   VERIFY ICONS
------------------------------------------------------------ */
.auth-page-wrapper .verify-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page-wrapper .verify-icon svg {
    width: 32px;
    height: 32px;
}

/* Success */
.auth-page-wrapper .verify-icon.success {
    background: #d4edda;
    color: #155724;
}

/* Error */
.auth-page-wrapper .verify-icon.error {
    background: #f8d7da;
    color: #721c24;
}

/* Pending */
.auth-page-wrapper .verify-icon.pending {
    background: #fff3cd;
    color: #856404;
}

/* ------------------------------------------------------------
   AUTH NOTICE (REUSES SHARED STYLE LANGUAGE)
------------------------------------------------------------ */
.auth-page-wrapper .auth-notice {
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.auth-page-wrapper .auth-notice .icon {
    font-size: 18px;
}

.auth-page-wrapper .auth-notice.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-page-wrapper .auth-notice.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-page-wrapper .auth-notice.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ------------------------------------------------------------
   VERIFY STEPS
------------------------------------------------------------ */
.auth-page-wrapper .verify-steps {
    display: grid;
    gap: 16px;
    margin: 28px 0;
    text-align: left;
}

.auth-page-wrapper .verify-steps .step {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-page-wrapper .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page-wrapper .verify-steps p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* ------------------------------------------------------------
   BUTTONS (MATCH AUTH BUTTON STYLE)
------------------------------------------------------------ */
.auth-page-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: #111;
    color: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
}

.auth-page-wrapper .btn:hover {
    background: #000;
}

.auth-page-wrapper .btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.auth-page-wrapper .btn-secondary:hover {
    background: #e4e4e4;
}

.auth-page-wrapper .btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-page-wrapper .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ------------------------------------------------------------
   LINKS & FOOTER
------------------------------------------------------------ */
.auth-page-wrapper .links {
    margin-top: 24px;
    font-size: 13px;
}

.auth-page-wrapper .links a {
    color: #007bff;
    text-decoration: none;
}

.auth-page-wrapper .links a:hover {
    text-decoration: underline;
}

.auth-page-wrapper .footer-note {
    margin-top: 36px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.5px;
}

/* ------------------------------------------------------------
   ANIMATIONS
------------------------------------------------------------ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------------------------------------------------
   MOBILE
------------------------------------------------------------ */
@media (max-width: 480px) {
    .auth-page-wrapper .verify-container {
        padding: 36px 24px;
    }

    .auth-page-wrapper h1 {
        font-size: 22px;
    }

    .auth-page-wrapper .subtitle {
        font-size: 14px;
    }
}
