/* ==============================================================================
   Design System & Multi-Tenant Theme Tokens
   Kerman Open Data & TasmimChi SaaS
   ============================================================================== */

:root,
[data-theme="opendata"] {
    --tenant-brand: "Kerman Open Data";
    --color-primary: #084b5e;
    --color-primary-hover: #063947;
    --color-primary-light: #e6f1f4;
    --color-secondary: #2590b8;
    --color-accent: #f2a466;
    --color-surface: #ffffff;
    --color-bg: #f8fafc;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
}

[data-theme="tasmimchi"] {
    --tenant-brand: "TasmimChi Platform";
    --color-primary: #ff5b26;        /* Vibrant Energetic Fintech Orange */
    --color-primary-hover: #e04816;
    --color-primary-light: #fff7ed;
    --color-secondary: #0b0f17;      /* Deep Sleek Dark */
    --color-secondary-surface: #111827;
    --color-accent: #ff5b26;         /* Orange Accent */
    --color-surface: #ffffff;
    --color-bg: #fafbfc;
    --color-text-main: #0b0f17;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
}

/* Tenant-specific badge helpers */
.tenant-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

[data-theme="opendata"] .tenant-brand-badge {
    background-color: #e6f1f4;
    color: #084b5e;
}

[data-theme="tasmimchi"] .tenant-brand-badge {
    background-color: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
}
