@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
:root {
    --bs-primary: #0047BB;
    --bs-primary-rgb: 0, 71, 187;
    --bs-secondary: #221c35;
    --bs-secondary-rgb: 34, 28, 53;
    --bs-info: #307fe2;
    --bs-info-rgb: 48, 127, 226;
    --bs-success: #4cae04;
    --bs-success-rgb: 76, 174, 4;
    --bs-warning: #de882d;
    --bs-warning-rgb: 222, 136, 45;
    --bs-danger: #e03c31;
    --bs-danger-rgb: 224, 60, 49;
    --bs-light: #f8f9fa;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark: #212529;
    --bs-dark-rgb: 33, 37, 41;
    --bs-heading-font-family: 'Roboto Slab', serif;
    --bs-body-font-family: 'Roboto', sans-serif;
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.375rem;
    --bs-border-radius-lg: 0.375rem;
    --bs-border-radius-xl: 0.375rem;
    --bs-border-radius-xxl: 0.375rem;
}
[data-bs-theme="light"] {
    --bs-primary-on: #f8f9fa;
    --bs-secondary-on: #f8f9fa;
    --bs-info-on: #1e1e1e;
    --bs-success-on: #212529;
    --bs-warning-on: #212529;
    --bs-danger-on: #ffffff;
    --bs-light-on: #212529;
    --bs-dark-on: #f8f9fa;
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: color-mix(in srgb, var(--bs-primary), #000 15%);
}
[data-bs-theme="dark"] {
    --bs-primary-on: #f8f9fa;
    --bs-secondary-on: #f8f9fa;
    --bs-info-on: #1e1e1e;
    --bs-success-on: #212529;
    --bs-warning-on: #212529;
    --bs-danger-on: #ffffff;
    --bs-light-on: #212529;
    --bs-dark-on: #f8f9fa;
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: color-mix(in srgb, var(--bs-primary), #fff 60%);
}

/* Contrast fixes (paleta do cliente) */
[data-bs-theme="light"] body .text-success { color: #221c35 !important; }
[data-bs-theme="light"] .box-surface .text-success { color: #221c35 !important; }
[data-bs-theme="light"] body .text-warning { color: #221c35 !important; }
[data-bs-theme="light"] .box-surface .text-warning { color: #221c35 !important; }
[data-bs-theme="light"] body .text-light { color: #221c35 !important; }
[data-bs-theme="light"] .box-surface .text-light { color: #221c35 !important; }
[data-bs-theme="dark"] body .text-primary { color: #f8f9fa !important; }
[data-bs-theme="dark"] .box-surface .text-primary { color: #f8f9fa !important; }
[data-bs-theme="dark"] body .text-secondary { color: #f8f9fa !important; }
[data-bs-theme="dark"] .box-surface .text-secondary { color: #f8f9fa !important; }
[data-bs-theme="dark"] body .text-dark { color: #f8f9fa !important; }
[data-bs-theme="dark"] .box-surface .text-dark { color: #f8f9fa !important; }
