/**
 * BidAI brand tokens — single source of truth for colour, type, radius, shadow.
 * Enqueued on every page that has an aiv2 shortcode (settings, catalogue,
 * catalogue-view, export, my-account, account, topup).
 */
:root {
    --aiv2-brown:        #9A6E56;
    --aiv2-brown-hover:  #7E5944;
    --aiv2-blue:         #5FA5C2;     /* the existing main-nav background */
    --aiv2-text:         #2C363D;
    --aiv2-text-muted:   #6B7280;
    --aiv2-text-dim:     #94A3B8;
    --aiv2-bg:           #F5F7FA;
    --aiv2-card:         #FFFFFF;
    --aiv2-border:       #E5E7EB;
    --aiv2-border-hover: #CBD5E1;
    --aiv2-focus:        rgba(154, 110, 86, 0.15);
    --aiv2-success:      #16A34A;
    --aiv2-success-bg:   #DCFCE7;
    --aiv2-warn:         #D97706;
    --aiv2-warn-bg:      #FEF3C7;
    --aiv2-danger:       #DC2626;
    --aiv2-danger-bg:    #FEE2E2;
    --aiv2-info:         #38BDF8;
    --aiv2-info-bg:      #DBEAFE;

    --aiv2-radius-sm:    6px;     /* inputs */
    --aiv2-radius-md:    10px;    /* small buttons / tags */
    --aiv2-radius-lg:    16px;    /* cards */
    --aiv2-radius-pill:  100px;   /* CTA buttons */

    --aiv2-shadow-card:  0 14px 40px rgba(15, 23, 42, 0.08);
    --aiv2-shadow-soft:  0 2px 8px rgba(15, 23, 42, 0.04);

    --aiv2-font:         'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Shared trial-app shell styling (used by page-catalogue/view/export/my-account). */
.aiv2-app-main {
    background: var(--aiv2-bg);
    min-height: calc(100vh - 220px);
    padding: 1px 0;
    font-family: var(--aiv2-font);
    color: var(--aiv2-text);
}
.aiv2-app-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
@media (max-width: 640px) {
    .aiv2-app-page-wrap { padding: 16px 12px 80px; }
}

/* Shared placeholder while a JS bundle mounts on its root */
.aiv2-app-root {
    padding: 18px 20px;
    border: 1px dashed var(--aiv2-border-hover);
    border-radius: var(--aiv2-radius-md);
    color: var(--aiv2-text-muted);
    background: var(--aiv2-card);
}
