/* Global theme — brand styles apply to both themes; light-only overrides are scoped */

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

a {
    color: inherit;
}

/* ── Light theme only ────────────────────────────────────────────────── */
html[data-bs-theme="light"] body {
    background: #ffffff;
    color: #000000;
}

html[data-bs-theme="light"] .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

html[data-bs-theme="light"] .card-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #000000;
    font-weight: 600;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #000000;
}

html[data-bs-theme="light"] .form-control:focus,
html[data-bs-theme="light"] .form-select:focus {
    background: #ffffff;
    border-color: #3b82f6;
    color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
}

html[data-bs-theme="light"] .alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #000000;
}

html[data-bs-theme="light"] .alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #000000;
}

html[data-bs-theme="light"] .alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #000000;
}

html[data-bs-theme="light"] .alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #000000;
}

html[data-bs-theme="light"] .text-muted {
    color: #4b5563 !important;
}

html[data-bs-theme="light"] .btn-close {
    filter: none;
}

/* ── Dark theme polish ───────────────────────────────────────────────── */
html[data-bs-theme="dark"] .card-header {
    font-weight: 600;
}

html[data-bs-theme="dark"] .card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
