/**
 * CSS Custom Properties — ESGscheibe Light Theme
 * Variable names retained from base theme for compatibility.
 * Values flipped to light palette: white surfaces, slate text, steel-blue accent.
 *
 * @package ESGscheibe
 */

:root {
    /* Colors — light theme */
    --ts-black: #ffffff;            /* page background (was darkest) */
    --ts-dark: #f7f7f8;             /* main surface */
    --ts-dark-secondary: #f5f6f7;   /* secondary surface */
    --ts-dark-tertiary: #e6e8eb;    /* tertiary surface / dividers */
    --ts-silver: #5b606b;           /* secondary text */
    --ts-silver-light: #6f747d;     /* tertiary text / muted */
    --ts-white: #15222c;            /* primary text (was light text on dark) */
    --ts-accent: #0b6e5f;           /* steel blue */
    --ts-accent-hover: #085a4e;     /* steel blue hover */
    --ts-accent-glow: rgba(11, 110, 95, 0.14);
    --ts-purple: #000000;           /* secondary accent: muted teal */
    --ts-purple-light: #1a1d23;
    --ts-success: #2a7d59;
    --ts-error: #c44545;

    /* Glassmorphism — neutralized for flat light theme */
    --ts-glass-bg: rgba(255, 255, 255, 0.92);
    --ts-glass-border: rgba(26, 29, 35, 0.08);
    --ts-glass-blur: blur(8px);

    /* Gradients — kept as gradient form for compat, mostly flat or near-flat */
    --ts-gradient-mirror: linear-gradient(135deg, rgba(26, 29, 35,0.02) 0%, rgba(26, 29, 35,0) 50%, rgba(26, 29, 35,0.02) 100%);
    --ts-gradient-silver: linear-gradient(180deg, #f5f6f7 0%, #e6e8eb 50%, #dcdfe3 100%);
    --ts-gradient-accent: linear-gradient(135deg, #1a1d23 0%, #000000 100%);
    --ts-gradient-accent-reverse: linear-gradient(135deg, #000000 0%, #1a1d23 100%);

    /* Typography — sans only, technical feel */
    --ts-font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ts-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ts-font-mono: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing Scale */
    --ts-space-xs: 0.25rem;
    --ts-space-sm: 0.5rem;
    --ts-space-md: 1rem;
    --ts-space-lg: 1.5rem;
    --ts-space-xl: 2rem;
    --ts-space-2xl: 3rem;
    --ts-space-3xl: 4rem;
    --ts-space-4xl: 6rem;

    /* Border Radius — tighter for technical look */
    --ts-radius-sm: 4px;
    --ts-radius-md: 6px;
    --ts-radius-lg: 8px;
    --ts-radius-xl: 12px;
    --ts-radius-full: 9999px;

    /* Shadows — subtle for light theme */
    --ts-shadow-sm: 0 1px 2px rgba(26, 29, 35, 0.04);
    --ts-shadow-md: 0 2px 6px rgba(26, 29, 35, 0.06), 0 1px 2px rgba(26, 29, 35, 0.04);
    --ts-shadow-lg: 0 8px 24px rgba(26, 29, 35, 0.08), 0 2px 6px rgba(26, 29, 35, 0.04);
    --ts-shadow-xl: 0 16px 40px rgba(26, 29, 35, 0.10), 0 4px 12px rgba(26, 29, 35, 0.06);
    --ts-shadow-glow: 0 0 0 3px rgba(26, 29, 35, 0.18);
    --ts-shadow-inner: inset 0 1px 2px rgba(26, 29, 35, 0.04);

    /* Transitions */
    --ts-transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --ts-transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --ts-transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    --ts-transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Layout */
    --ts-max-width: 1400px;
    --ts-header-height: 76px;
    --ts-admin-bar-height: 0px;
}

/* Admin bar */
.admin-bar {
    --ts-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar {
        --ts-admin-bar-height: 46px;
    }
}
