/* ADE Brand Colors and Typography */

:root {
    /* Primary Colors */
    --ade-blue: #2E86AB;
    --ade-blue-dark: #1a5276;
    --ade-blue-light: #4da8c9;

    /* Secondary Colors */
    --ade-magenta: #A23B72;
    --ade-orange: #F18F01;
    --ade-green: #4CAF50;

    /* Neutral Colors */
    --ade-dark: #1a2a3a;
    --ade-gray: #666666;
    --ade-light-gray: #f5f7fa;
    --ade-white: #ffffff;

    /* Status Colors */
    --status-real: #4CAF50;
    --status-illustrative: #FF9800;
    --status-warning: #f44336;

    /* Sector Colors */
    --sector-domestic: #2E86AB;
    --sector-ic: #A23B72;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 0.875rem;
    --font-size-large: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

/* ADE Brand Typography */
.ade-heading-1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--ade-blue);
    line-height: 1.2;
}

.ade-heading-2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--ade-dark);
    line-height: 1.3;
}

.ade-heading-3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--ade-dark);
    line-height: 1.4;
}

.ade-body {
    font-size: var(--font-size-base);
    color: var(--ade-gray);
    line-height: 1.6;
}

.ade-caption {
    font-size: var(--font-size-small);
    color: var(--ade-gray);
    line-height: 1.5;
}

/* ADE Brand Components */
.ade-card {
    background: var(--ade-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.ade-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--ade-blue);
    color: var(--ade-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.ade-button:hover {
    background: var(--ade-blue-dark);
    transform: translateY(-1px);
}

.ade-button-secondary {
    background: transparent;
    color: var(--ade-blue);
    border: 2px solid var(--ade-blue);
}

.ade-button-secondary:hover {
    background: var(--ade-blue);
    color: var(--ade-white);
}

/* Data Status Badges */
.ade-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ade-badge-real {
    background: var(--status-real);
    color: var(--ade-white);
}

.ade-badge-illustrative {
    background: var(--status-illustrative);
    color: var(--ade-white);
}

.ade-badge-warning {
    background: var(--status-warning);
    color: var(--ade-white);
}

/* Sector Indicators */
.ade-sector-domestic {
    border-left: 4px solid var(--sector-domestic);
}

.ade-sector-ic {
    border-left: 4px solid var(--sector-ic);
}

/* Chart Color Scheme */
.chart-colors {
    --chart-1: #2E86AB;
    --chart-2: #A23B72;
    --chart-3: #F18F01;
    --chart-4: #4CAF50;
    --chart-5: #9C27B0;
    --chart-6: #00BCD4;
    --chart-7: #FF5722;
    --chart-8: #607D8B;
}

/* Print Styles */
@media print {
    .header, .footer, .nav {
        display: none;
    }

    .page {
        display: block !important;
        page-break-after: always;
    }

    .metric-card, .chart-card, .narrative-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
