/* ===========================================
   Hammarby Fotboll - Brand Styles
   Customizable Brand Colors
   =========================================== */

/* ===========================================
   FONTS
   Primary: Work Sans (brand font)
   Fallback: system-ui sans-serif
   =========================================== */

/* ===========================================
   CSS Custom Properties / Variables
   =========================================== */
:root {
    /* Brand Colors - Hammarby Fotboll */
    /* Primary: Hammarby Green */
    --color-primary: #007a43;           /* Hammarby Green */
    --color-primary-dark: #005c32;
    --color-primary-light: #009a54;
    --color-primary-overlay: rgba(0, 122, 67, 0.75);
    --color-primary-overlay-dark: rgba(0, 122, 67, 0.9);

    /* Accent: Hammarby Yellow (for CTAs and important actions) */
    --color-accent: #ffe500;            /* Hammarby Yellow */
    --color-accent-hover: #e6ce00;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-white-70: rgba(255, 255, 255, 0.7);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-20: rgba(255, 255, 255, 0.2);
    --color-white-muted: rgba(255,255,255,0.85);
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-dark-lighter: #2d2d2d;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e0e0e0;
    --color-border-dark: #cccccc;
    --color-background: #ffffff;
    --color-background-light: #f5f5f5;
    --color-background-muted: #eeeeee;

    /* Shared / semantic */
    --color-danger: #dc2626;
    --color-danger-hover: #b91c1c;
    --color-danger-bg: rgba(220,53,69,0.1);
    --color-danger-border: rgba(220,53,69,0.3);
    --color-danger-border-light: #fca5a5;

    --color-success-bg-soft: rgba(22,163,74,0.1);
    --color-success-bg: #dcfce7;
    --color-success-border-soft: rgba(22,163,74,0.3);
    --color-success-border: #86efac;
    --color-success-text: #166534;
    --color-success-text-bright: #16a34a;

    --color-error-bg-soft: #fef2f2;
    --color-error-border: #fecaca;
    --color-error-text: #991b1b;

    /* Accent surface (green-tinted UI surfaces) */
    --color-accent-surface-soft: rgba(0,122,67,0.05);
    --color-accent-surface: rgba(0,122,67,0.08);
    --color-accent-surface-hover: rgba(0,122,67,0.15);
    --color-accent-border: rgba(0,122,67,0.3);

    /* Neutral utility */
    --color-neutral-hover: #e5e7eb;
    --color-neutral-800: #1f2937;

    /* Newsletter & Preference Center */
    --color-newsletter-dio-banner-btn: #005c32;
    --color-newsletter-dio-banner-btn-border: #007a43;
    --color-newsletter-dio-banner-btn-hover: #007a43;
    --color-newsletter-icon-background: #005c32;
    --color-newsletter-icon: #ffe500;

    --color-checkbox-bg: #d1d5db;

    --color-resend-dio-div-bg: #fef3c7;
    --color-resend-dio-div-border: #fcd34d;
    --color-resend-dio-text: #92400e;

    /* Tickets */
    --color-ticket-card-background: #007a43;

    /* Typography - System font stack */
    --font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-family-heading: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1rem;
    --header-height: 64px;
    --header-height-mobile: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

@media (min-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --header-height: 80px;
    }
}
