/* ============================================================
   Benapole C&F Staff Association — Official Theme Variables
   Synchronized with Association Emblem (Royal Navy & Emerald Green)
   ============================================================ */

:root {
    /* Brand Colors - Official Association Emblem Theme */
    --primary: #1b4d89;        /* Royal Navy Blue (Logo Outer Ring) */
    --primary-light: #2563eb;  /* Vivid Royal Blue */
    --primary-dark: #0f2744;   /* Midnight Navy */
    --secondary: #059669;      /* Emerald Green (Logo Central Cog & Leaf) */
    --secondary-light: #10b981;
    --secondary-dark: #047857;
    --accent: #eff6ff;         /* Soft Royal Blue Tint */

    /* Semantic Colors */
    --success: #059669;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --warning: #d97706;
    --info: #0284c7;           /* Logo Water Wave Cyan */
    --star: #f59e0b;
    --discount: #dc2626;
    --out-of-stock: #94a3b8;

    /* Neutral Colors - Clean Institutional Palette */
    --text-dark: #0f172a;      /* Slate 900 */
    --text-main: #1e293b;      /* Slate 800 */
    --text-gray: #475569;      /* Slate 600 */
    --text-muted: #64748b;     /* Slate 500 */
    --text-light: #94a3b8;     /* Slate 400 */
    --text-silver: #cbd5e1;    /* Slate 300 */
    --bg-light: #f8fafc;       /* Clean Slate-50 */
    --bg-faint: #eff6ff;       /* Soft Royal Tint */
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Admin Panel Colors */
    --admin-sidebar-bg: #071224; /* Deep Maritime Obsidian */
    --admin-blue: #1b4d89;
    --admin-purple: #7c3aed;
    --admin-orange: #d97706;

    /* Admin Sidebar specific */
    --sidebar-bg: #071224;
    --sidebar-hover: rgba(27, 77, 137, 0.28);
    --sidebar-active: rgba(27, 77, 137, 0.55);
    --sidebar-text: rgba(255, 255, 255, 0.85);
    --sidebar-icon: rgba(255, 255, 255, 0.55);
    --topbar-h: 60px;
    --sidebar-w: 255px;

    /* Soft Status & Admin Colors */
    --admin-green-soft: #ecfdf5;
    --admin-blue-soft: #eff6ff;
    --admin-orange-soft: #fffbeb;
    --admin-purple-soft: #f5f3ff;
    --admin-red-soft: #fff1f2;

    /* Design Tokens - Royal Shadow */
    --shadow-sm: 0 2px 10px rgba(15, 39, 68, 0.06);
    --shadow-md: 0 6px 20px rgba(15, 39, 68, 0.10);
    --shadow-lg: 0 12px 36px rgba(15, 39, 68, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-bn: 'Hind Siliguri', sans-serif;
    --font-en: 'Inter', sans-serif;
}

/* ============================================================
   Overrides for Global Theme Mapping
   ============================================================ */

.btn-primary, .bg-primary { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important; 
    color: #fff !important; 
}
.btn-primary:hover { 
    background-color: var(--primary-dark) !important; 
    border-color: var(--primary-dark) !important; 
}
.text-primary { color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

/* Secondary Brand Action (Emerald Green) */
.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}
.btn-secondary:hover {
    background-color: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
}

/* Success Elements */
.btn-success, .bg-success { 
    background-color: var(--secondary) !important; 
    border-color: var(--secondary) !important; 
    color: #fff !important; 
}
.btn-success:hover { 
    background-color: var(--secondary-dark) !important; 
    border-color: var(--secondary-dark) !important; 
}
.text-success { color: var(--secondary) !important; }
.border-success { border-color: var(--secondary) !important; }
.btn-outline-success {
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}
.btn-outline-success:hover {
    background-color: var(--secondary) !important;
    color: #fff !important;
}
