.callout-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.card-success {
    border-color: #28a745;
}

.card-success .card-header {
    background-color: #d4edda;
}

.badge.bg-success {
    background-color: #28a745;
}

.lead {
    font-size: 1.25rem;
}

.card img {
    max-width: 150px;
}

.custom-lead {
    font-size: 1.25rem;
    font-weight: bold;
}

/* ---------- THEME COLORS ---------- */

/* Light theme (default) */
body.light-theme {
    /* Slightly richer light gray background */
    background-color: #e5e7eb !important; /* tailwind gray-200 */
    color: #1f2933;
}

body.light-theme .content-wrapper {
    /* Subtle gradient panel background */
    background: linear-gradient(to bottom, #f9fafb, #e5e7eb) !important;
}

body.light-theme .main-header.navbar {
    /* Light gray top header */
    background: #e5e7eb;
    border-bottom: 1px solid #d1d5db;
    color: #111827;
}

body.light-theme .main-header.navbar .nav-link,
body.light-theme .main-header.navbar .navbar-nav .nav-link i {
    color: #111827 !important;
}

body.light-theme .main-sidebar,
body.light-theme .main-sidebar .sidebar {
    /* Light gray sidebar */
    background: #e5e7eb;
    border-right: 1px solid #d1d5db;
}

body.light-theme .nav-sidebar .nav-link,
body.light-theme .nav-sidebar .nav-link i {
    color: #1f2933;
}

body.light-theme .nav-sidebar .nav-link.active {
    background-color: #0ea5e9;
    color: #ffffff;
}

/* Submenu (treeview) items in light theme */
body.light-theme .nav-sidebar .nav-treeview > .nav-item > .nav-link,
body.light-theme .nav-sidebar .nav-treeview > .nav-item > .nav-link i {
    color: #4b5563 !important;   /* darker text */
    font-weight: 500;
}

body.light-theme .nav-sidebar .nav-treeview > .nav-item > .nav-link:hover {
    background-color: rgba(148, 163, 184, 0.25);
    color: #111827 !important;
}

body.light-theme .app-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
}

/* Dark theme */
body.dark-theme {
    background-color: #0b1120;
    color: #e5e7eb;
}

body.dark-theme .main-header.navbar {
    background: linear-gradient(90deg, #020617, #111827);
    border-bottom: none;
}

body.dark-theme .main-header.navbar .nav-link,
body.dark-theme .main-header.navbar .navbar-nav .nav-link i {
    color: #e5e7eb !important;
}

body.dark-theme .main-sidebar,
body.dark-theme .main-sidebar .sidebar {
    background: #020617;
}

body.dark-theme .nav-sidebar .nav-link,
body.dark-theme .nav-sidebar .nav-link i {
    color: #e5e7ff !important;
}

body.dark-theme .nav-sidebar .nav-link.active {
    background-color: #22c55e;
    color: #0b1120;
}

body.dark-theme .app-footer {
    background: #020617;
    border-top: 1px solid #111827;
    color: #9ca3af;
}

body.dark-theme .content-wrapper {
    background-color: #020617;
}

/* Sidebar spacing / readability */
.nav-sidebar .nav-link {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
}

.nav-sidebar .nav-link i.nav-icon {
    margin-right: 8px;
}

/* Hover states for better visibility */
body.light-theme .nav-sidebar .nav-link:hover {
    background-color: rgba(59, 130, 246, 0.12);
    color: #0f172a;
}

body.dark-theme .nav-sidebar .nav-link:hover {
    background-color: rgba(55, 65, 81, 0.8);
    color: #ffffff;
}

/* Header link hover */
.main-header.navbar .nav-link:hover {
    opacity: 0.85;
}