/**
 * verify.css – Page-specific styles for the OasisWorld Verification Gateway.
 * Builds on top of root.css (CSS variables) and style.css (base components).
 */

/* ── Verify Hero ─────────────────────────────────────────────────────────── */
.verify-hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 5.75rem 0 4.75rem;
}

.verify-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-full);
    color: var(--oasis-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
}
.verify-image {
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}
.verify-image img {
    width: 30%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.verify-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.15;
    color: var(--oasis-text);
}

.verify-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--oasis-text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Data Table Card ─────────────────────────────────────────────────────── */
.data-table-card {
    width: 100%;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: left;
}

.data-table-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
    margin-bottom: 1rem;
}

.data-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.data-table th {
    background: rgba(255,255,255,0.03);
    color: var(--oasis-text-secondary);
    font-weight: var(--font-weight-semibold);
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--oasis-border);
    white-space: nowrap;
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--oasis-text);
    vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.data-table-note {
    margin-top: 1rem;
    font-size: var(--text-xs);
    color: var(--oasis-text-secondary);
    line-height: 1.6;
}

.data-table-note a { color: var(--oasis-primary); }

/* Source badges */
.source-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.source-badge.discord { background: rgba(88,101,242,.15); color: #7289da; }
.source-badge.web     { background: rgba(52,211,153,.12); color: #34d399; }
.source-badge.threat  { background: rgba(251,146,60,.12); color: #fb923c; }
.source-badge.browser { background: rgba(245,158,11,.12); color: #f59e0b; }

/* Difficulty badges */
.diff-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}
.diff-badge.diff-easy  { background: rgba(239,68,68,.12); color: #ef4444; }
.diff-badge.diff-medium{ background: rgba(245,158,11,.12); color: #f59e0b; }
.diff-badge.diff-hard  { background: rgba(52,211,153,.12); color: #34d399; }
.diff-badge.diff-vhard { background: rgba(251,146,60,.12); color: #fb923c; }

/* ── CTA Buttons ─────────────────────────────────────────────────────────── */
.verify-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-verify-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-ocean);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
}

.btn-verify-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 32px rgba(245,158,11,0.6);
}

.btn-verify-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-verify-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-md);
    color: var(--oasis-text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-verify-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--oasis-primary);
    color: var(--oasis-text);
    transform: translateY(-2px);
}

.verify-consent-note {
    font-size: var(--text-xs);
    color: var(--oasis-text-secondary);
    max-width: 540px;
    line-height: 1.6;
}

.verify-consent-note a { color: var(--oasis-primary); }

/* ── How it works ────────────────────────────────────────────────────────── */
.how-it-works {
    padding: 4rem 0 6rem;
    border-top: 1px solid var(--oasis-border);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--oasis-text);
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--oasis-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    font-weight: var(--font-weight-extrabold);
    font-size: var(--text-lg);
    color: #fff;
    flex-shrink: 0;
}

.step-card h3 {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-lg);
    color: var(--oasis-text);
}

.step-card p {
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ── Verify Stage ────────────────────────────────────────────────────────── */
.verify-stage {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 5.75rem 0 4.75rem;
}

.verify-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    animation: fadeInUp 0.5s ease both;
}

.identity-block {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.identity-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--oasis-primary);
    object-fit: cover;
    flex-shrink: 0;
}

.identity-name {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
}

.identity-sub {
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    margin-top: 0.2rem;
}

.identity-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.badge-green  { background: rgba(52,211,153,.15); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.badge-orange { background: rgba(251,146,60,.15);  color: #fb923c; border: 1px solid rgba(251,146,60,.3); }
.badge-blue   { background: rgba(34,211,238,.12);  color: #22d3ee; border: 1px solid rgba(34,211,238,.25); }
.badge-red    { background: rgba(239,68,68,.12);   color: #ef4444; border: 1px solid rgba(239,68,68,.25); }

.divider {
    border: none;
    border-top: 1px solid var(--oasis-border);
    margin: 1.5rem 0;
}

/* ── Progress Steps ──────────────────────────────────────────────────────── */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-xs);
    color: var(--oasis-text-secondary);
    flex: 1;
    text-align: center;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-done    { background: rgba(52,211,153,.2); color: #34d399; border: 2px solid #34d399; }
.step-pending { background: rgba(255,255,255,.06); color: var(--oasis-text-secondary); border: 2px solid var(--oasis-border); }
.step-error   { background: rgba(239,68,68,.2); color: #ef4444; border: 2px solid #ef4444; }

/* ── Status Box ──────────────────────────────────────────────────────────── */
.verify-status-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 1.25rem;
}

.verify-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(245,158,11,0.2);
    border-top-color: var(--oasis-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Verification Agreement ──────────────────────────────────────────────── */
.verify-agreement-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agreement-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    line-height: 1.6;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.agreement-label:hover {
    background: rgba(245, 158, 11, 0.055);
    border-color: rgba(245, 158, 11, 0.35);
}

.agreement-label input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
    flex: 0 0 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(245, 158, 11, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkmark::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #10100d;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) translate(-1px, -1px) scale(0.75);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.agreement-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-ocean);
    border-color: rgba(251, 146, 60, 0.9);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.agreement-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
    transform: rotate(45deg) translate(-1px, -1px) scale(1);
}

.agreement-label input[type="checkbox"]:focus-visible + .checkmark {
    outline: 2px solid rgba(245, 158, 11, 0.9);
    outline-offset: 3px;
}

.agreement-label:has(input[type="checkbox"]:checked) {
    background: rgba(245, 158, 11, 0.075);
    border-color: rgba(245, 158, 11, 0.42);
}

.agreement-copy {
    flex: 1;
}

.agreement-label a {
    color: var(--oasis-primary);
    font-weight: var(--font-weight-semibold);
}

.agreement-label strong {
    color: var(--oasis-text);
}

.verify-agreement-box .btn-verify-primary {
    width: 100%;
    justify-content: center;
}

.verify-agreement-box .btn-verify-primary:disabled {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(251, 146, 60, 0.55));
    color: rgba(255, 248, 231, 0.58);
    opacity: 1;
    box-shadow: none;
    cursor: not-allowed;
}

/* ── Turnstile Modal ────────────────────────────────────────────────────── */
body.turnstile-open {
    overflow: hidden;
}

.turnstile-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.turnstile-modal.active {
    display: flex;
}

.turnstile-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.turnstile-modal-panel {
    position: relative;
    width: min(440px, 100%);
    background: rgba(45, 40, 35, 0.96);
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 34px rgba(245, 158, 11, 0.14);
    padding: 1.5rem;
    animation: fadeInUp 0.24s ease both;
}

.turnstile-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.turnstile-eyebrow {
    color: var(--oasis-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.turnstile-modal h3 {
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: 1.25;
}

.turnstile-close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--oasis-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.turnstile-close-btn:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(245, 158, 11, 0.1);
    color: var(--oasis-primary);
}

.turnstile-copy,
.turnstile-message {
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.turnstile-widget-shell {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 0.875rem;
    min-height: 74px;
}

.turnstile-message {
    text-align: center;
}

/* ── Result Page ─────────────────────────────────────────────────────────── */
.result-section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 5.75rem 0 4.75rem;
}

.result-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: fadeInUp 0.5s ease both;
}

.result-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon--success { background: rgba(52,211,153,.12); color: #34d399; border: 2px solid rgba(52,211,153,.3); }
.result-icon--error   { background: rgba(239,68,68,.12);  color: #ef4444; border: 2px solid rgba(239,68,68,.3); }
.result-icon--warn    { background: rgba(245,158,11,.12); color: #f59e0b; border: 2px solid rgba(245,158,11,.3); }

.result-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-extrabold);
}
.result-title--success { color: #34d399; }
.result-title--error   { color: #ef4444; }
.result-title--warn    { color: #f59e0b; }

.result-message {
    color: var(--oasis-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}

.result-reason-box {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: var(--text-sm);
    text-align: left;
    line-height: 1.6;
}
.result-reason-box--error { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25); color: #fca5a5; }
.result-reason-box--warn  { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); color: #fcd34d; }

.result-hint {
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    line-height: 1.6;
}
.result-hint a { color: var(--oasis-primary); }

/* ── Legal Pages ─────────────────────────────────────────────────────────── */
.legal-section {
    padding: 7rem 0 4rem;
}

.legal-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--oasis-border);
}

.legal-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--oasis-text);
    margin: 1rem 0 0.5rem;
}

.legal-meta {
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
}

.legal-body h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin: 2rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.legal-body h2:first-child { margin-top: 0; border-top: none; }
.legal-body h3 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-primary);
    margin: 1.25rem 0 0.5rem;
}

.legal-body p, .legal-body li {
    color: var(--oasis-text-secondary);
    line-height: 1.8;
    font-size: var(--text-base);
}

.legal-body ul {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.legal-body ul li { margin-bottom: 0.4rem; }
.legal-body address { font-style: normal; color: var(--oasis-text-secondary); line-height: 1.8; }
.legal-body a { color: var(--oasis-primary); }
.legal-body strong { color: var(--oasis-text); }

.gdpr-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(34,211,238,.08);
    border: 1px solid rgba(34,211,238,.2);
    border-radius: var(--radius);
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}
.gdpr-info-box svg { flex-shrink: 0; color: #22d3ee; margin-top: 2px; }
.gdpr-info-box strong { color: #22d3ee; }

/* ── Admin Panel ─────────────────────────────────────────────────────────── */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat-card {
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}
.admin-stat-card--success { border-color: rgba(52,211,153,.3); }
.admin-stat-card--error   { border-color: rgba(239,68,68,.3); }
.admin-stat-card--warn    { border-color: rgba(245,158,11,.3); }
.admin-stat-card--threat  { border-color: rgba(251,146,60,.3); }

.stat-label {
    font-size: var(--text-xs);
    color: var(--oasis-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.stat-value {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--oasis-text);
}

.admin-toolbar {
    margin-bottom: 1rem;
}

.admin-search-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.admin-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--oasis-border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    background: var(--oasis-card);
}

.admin-table th {
    background: rgba(255,255,255,0.03);
    color: var(--oasis-text-secondary);
    font-weight: var(--font-weight-semibold);
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--oasis-border);
    white-space: nowrap;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--oasis-text);
    vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.threat-pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(239,68,68,.12);
    color: #ef4444;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    margin-right: 0.2rem;
}

.risk-score {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
}
.risk-score--low  { background: rgba(52,211,153,.12); color: #34d399; }
.risk-score--med  { background: rgba(245,158,11,.12); color: #f59e0b; }
.risk-score--high { background: rgba(239,68,68,.12);  color: #ef4444; }

.btn-table-action {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-sm);
    color: var(--oasis-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-table-action:hover { background: rgba(255,255,255,0.1); color: var(--oasis-text); }
.btn-table-action--danger { border-color: rgba(239,68,68,.3); color: #ef4444; }
.btn-table-action--danger:hover { background: rgba(239,68,68,.1); }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    color: var(--oasis-text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: var(--transition);
}
.page-btn:hover { border-color: var(--oasis-primary); color: var(--oasis-primary); }
.page-info { color: var(--oasis-text-secondary); font-size: var(--text-sm); }

/* ── Detail View ─────────────────────────────────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.detail-section-title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: var(--text-sm);
    align-items: baseline;
}
.detail-row:last-child { border-bottom: none; }

.detail-key {
    color: var(--oasis-text-secondary);
    min-width: 110px;
    flex-shrink: 0;
}

.detail-val {
    color: var(--oasis-text);
    word-break: break-word;
}

.text-danger { color: #ef4444 !important; }
.text-safe   { color: #34d399 !important; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label  { font-size: var(--text-sm); font-weight: var(--font-weight-medium); color: var(--oasis-text); }

.form-input {
    padding: 0.625rem 0.875rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius);
    color: var(--oasis-text);
    font-size: var(--text-sm);
    transition: var(--transition);
    font-family: var(--font-sans);
}

.form-input:focus {
    outline: none;
    border-color: var(--oasis-primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: var(--text-sm);
    line-height: 1.5;
}
.alert-success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: #34d399; }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #ef4444; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .verify-card { padding: 1.5rem; }
    .legal-card  { padding: 1.5rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .progress-steps { gap: 0.25rem; font-size: 0.65rem; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .verify-hero,
    .verify-stage,
    .result-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    .verify-image {
        max-width: 100px;
        margin: 2rem auto 0;
    }
    .verify-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .verify-cta-group { flex-direction: column; width: 100%; }
    .btn-verify-primary, .btn-verify-secondary { width: 100%; justify-content: center; }
    .admin-search-form { flex-direction: column; }
    .admin-stats-grid  { grid-template-columns: 1fr 1fr; }
}

/* Light mode overrides */
body.light-mode .data-table-card,
body.light-mode .verify-card,
body.light-mode .legal-card,
body.light-mode .result-card,
body.light-mode .step-card,
body.light-mode .admin-stat-card,
body.light-mode .admin-table,
body.light-mode .admin-login-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

body.light-mode .data-table th,
body.light-mode .admin-table th {
    background: rgba(0,0,0,.03);
    color: var(--oasis-text-secondary-light);
}

body.light-mode .data-table td,
body.light-mode .admin-table td {
    color: var(--oasis-text-light);
}

body.light-mode .form-input {
    background: rgba(0,0,0,.04);
    border-color: var(--oasis-border-light);
    color: var(--oasis-text-light);
}

body.light-mode .form-label,
body.light-mode .legal-title,
body.light-mode .legal-body h2,
body.light-mode .legal-body strong,
body.light-mode .legal-body p,
body.light-mode .legal-body li,
body.light-mode .legal-body address,
body.light-mode .result-message,
body.light-mode .verify-hero-subtitle {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .legal-header {
    border-bottom-color: var(--oasis-border-light);
}

body.light-mode .legal-meta,
body.light-mode .result-hint,
body.light-mode .verify-consent-note {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .legal-body h2 {
    border-top-color: rgba(139, 105, 20, 0.12);
}

body.light-mode .legal-body h3,
body.light-mode .legal-body a,
body.light-mode .legal-body strong {
    color: var(--oasis-text-light);
}

body.light-mode .gdpr-info-box {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.28);
    color: var(--oasis-text-secondary-light);
}

body.light-mode .agreement-label {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(180, 83, 9, 0.18);
    color: var(--oasis-text-secondary-light);
}

body.light-mode .agreement-label:hover,
body.light-mode .agreement-label:has(input[type="checkbox"]:checked) {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(180, 83, 9, 0.34);
}

body.light-mode .checkmark {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(180, 83, 9, 0.35);
}

body.light-mode .agreement-label a,
body.light-mode .agreement-label strong {
    color: var(--oasis-primary-dark);
}

body.light-mode .verify-agreement-box .btn-verify-primary:disabled {
    color: rgba(69, 26, 3, 0.58);
}

body.light-mode .turnstile-modal-backdrop {
    background: rgba(255, 232, 184, 0.64);
}

body.light-mode .turnstile-modal-panel {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(180, 83, 9, 0.2);
}

body.light-mode .turnstile-modal h3,
body.light-mode .turnstile-close-btn {
    color: var(--oasis-text-light);
}

body.light-mode .turnstile-copy,
body.light-mode .turnstile-message {
    color: var(--oasis-text-secondary-light);
}

body.light-mode .turnstile-close-btn {
    background: rgba(0, 0, 0, 0.035);
    border-color: var(--oasis-border-light);
}
