/**
 * LOT Core — Unified Design Tokens & Base Component Classes
 *
 * shadcn/Vercel-inspired design system for LOT pages.
 * Geist typography, subtle borders, tighter radii.
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
    /* Brand */
    --lot-brand: #003D8F;
    --lot-brand-hover: #002D6B;
    --lot-brand-light: #0052CC;
    --lot-brand-muted: rgba(0, 61, 143, 0.10);
    --lot-brand-tint: #EEF3FB;

    /* Status */
    --lot-success: #16A34A;
    --lot-danger: #DC2626;
    --lot-warning: #D97706;

    /* Shadows (subtle, Vercel-style) */
    --lot-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --lot-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --lot-shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
    --lot-shadow-hover: 0 8px 16px rgba(0,0,0,0.06);

    /* Geometry */
    --lot-radius-sm: 6px;
    --lot-radius: 8px;
    --lot-radius-lg: 12px;

    /* Transitions */
    --lot-transition: 150ms ease;
}

/* ============================================
   BASE RESET — Geist on all Quasar elements
   ============================================ */

body,
.q-page,
.q-layout,
.q-card,
.q-btn,
.q-input,
.q-select,
.q-tab,
.q-tab-panel,
.q-table {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code, pre, .font-mono {
    font-family: 'Geist Mono', 'SF Mono', 'Consolas', monospace;
}

/* ============================================
   CARD COMPONENTS
   ============================================ */

.lot-card {
    background: var(--lot-bg-surface);
    border: 1px solid var(--lot-border);
    border-radius: var(--lot-radius);
    box-shadow: var(--lot-shadow-sm);
}

.lot-card-hover {
    background: var(--lot-bg-surface);
    border: 1px solid var(--lot-border);
    border-radius: var(--lot-radius);
    box-shadow: var(--lot-shadow-sm);
    transition: transform var(--lot-transition),
                box-shadow var(--lot-transition),
                border-color var(--lot-transition);
}

.lot-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--lot-shadow-hover);
    border-color: var(--lot-border-hover);
}

/* ============================================
   BUTTON COMPONENTS
   ============================================ */

.lot-btn-primary {
    background: var(--lot-brand) !important;
    color: white !important;
    border-radius: var(--lot-radius-sm) !important;
    font-weight: 500;
    transition: background var(--lot-transition),
                transform var(--lot-transition);
}

.lot-btn-primary:hover {
    background: var(--lot-brand-hover) !important;
    transform: translateY(-1px);
}

.lot-btn-primary:focus-visible {
    outline: 2px solid var(--lot-brand);
    outline-offset: 2px;
}

.lot-btn-ghost {
    background: transparent !important;
    color: var(--lot-text-secondary) !important;
    border-radius: var(--lot-radius-sm) !important;
    font-weight: 500;
    transition: background var(--lot-transition),
                color var(--lot-transition);
}

.lot-btn-ghost:hover {
    background: var(--lot-bg-surface-hover) !important;
    color: var(--lot-text-primary) !important;
}

.lot-btn-ghost:focus-visible {
    outline: 2px solid var(--lot-brand);
    outline-offset: 2px;
}

/* ============================================
   BADGE
   ============================================ */

.lot-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--lot-brand-muted);
    color: var(--lot-brand);
}

/* ── Legal Footer (dark brand) ────────────────────────── */
.lot-footer-main {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.5rem;
}

.lot-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lot-footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.lot-footer-text {
    font-size: 0.8rem;
    color: #ffffff;
}

.lot-footer-wrap .lot-footer-link {
    font-size: 0.8rem;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.lot-footer-wrap .lot-footer-link:hover {
    color: #ffffff !important;
}

.lot-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lot-footer-consent-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.lot-footer-consent-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lot-footer-consent-text a:hover {
    color: #ffffff;
}

@media (max-width: 640px) {
    .lot-footer-main {
        flex-direction: column;
        gap: 1.5rem;
    }
    .lot-footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ============================================
   DISCLAIMER TEXT
   ============================================ */

.lot-disclaimer-text {
    color: #6b7280;
    font-style: italic;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ============================================
   STATUS ICONS
   ============================================ */

.lot-status-icon-success {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    margin: 0 auto 16px;
}

.lot-status-icon-success .q-icon {
    color: var(--lot-success) !important;
    font-size: 32px !important;
}

.lot-status-icon-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    margin: 0 auto 16px;
}

.lot-status-icon-error .q-icon {
    color: var(--lot-danger) !important;
    font-size: 32px !important;
}

