:root {
    --bs-primary: #0d9488;
    --bs-primary-rgb: 13, 148, 136;
    --bs-primary-text-emphasis: #0d9488;
    --bs-primary-bg-subtle: #ccfbf1;
    --bs-primary-border-subtle: #5eead4;

    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
}

.btn-primary {
    background-color: #0d9488;
    border-color: #0d9488;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
}
.btn-outline-primary {
    color: #0d9488;
    border-color: #0d9488;
}
.btn-outline-primary:hover {
    background-color: #0d9488;
    border-color: #0d9488;
}

a {
    color: #14b8a6;
}
a:hover {
    color: #5eead4;
}

.badge.bg-primary {
    background-color: #0d9488 !important;
}
.badge.bg-warning {
    background-color: #f59e0b !important;
}

.app-sidebar {
    background-color: #0f1e1c !important;
}
.sidebar-brand .brand-link {
    border-bottom-color: rgba(13, 148, 136, 0.25);
}
.nav-sidebar > .nav-item > .nav-link.active {
    background-color: rgba(13, 148, 136, 0.2);
    border-left: 3px solid #0d9488;
}
.nav-sidebar .nav-link:hover {
    background-color: rgba(13, 148, 136, 0.1);
}

.card-header {
    border-bottom-color: rgba(13, 148, 136, 0.15);
}

.form-control:focus,
.form-select:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
}

.spinner-border.text-primary {
    color: #0d9488 !important;
}

.text-primary {
    color: #14b8a6 !important;
}

/* Light mode adjustments — sidebar stays dark always (set via data-bs-theme
   on the <aside> itself), only the main content area switches. */
html[data-bs-theme="light"] .app-main {
    background-color: #f8f9fa;
}
html[data-bs-theme="light"] .card {
    background-color: #ffffff;
    border-color: #dee2e6;
}
html[data-bs-theme="light"] .table {
    color: #212529;
}
html[data-bs-theme="light"] .app-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6;
}
html[data-bs-theme="light"] .app-footer {
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    color: #495057;
}
html[data-bs-theme="light"] .text-muted {
    color: #6c757d !important;
}