/* ============================================================
   GLOBAL.CSS - Wspólne style dla całej aplikacji
   Inspirowane stylem FarmSiloses (silos-btn)
   Używane w: FarmPanel, FarmSiloses, BigBagsAndSprayers i innych
   ============================================================ */

/* ---------- Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --g-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --g-radius: 8px;
    --g-radius-lg: 12px;
    --g-transition: all 0.2s ease;

    /* Kolory przycisków */
    --g-green:        rgba(34, 197, 94, 0.12);
    --g-green-border: rgba(34, 197, 94, 0.25);
    --g-green-text:   #86efac;
    --g-green-hover:  rgba(34, 197, 94, 0.22);

    --g-amber:        rgba(245, 158, 11, 0.12);
    --g-amber-border: rgba(245, 158, 11, 0.25);
    --g-amber-text:   #fcd34d;
    --g-amber-hover:  rgba(245, 158, 11, 0.22);

    --g-blue:         rgba(59, 130, 246, 0.12);
    --g-blue-border:  rgba(59, 130, 246, 0.25);
    --g-blue-text:    #93c5fd;
    --g-blue-hover:   rgba(59, 130, 246, 0.22);

    --g-red:          rgba(239, 68, 68, 0.12);
    --g-red-border:   rgba(239, 68, 68, 0.25);
    --g-red-text:     #fca5a5;
    --g-red-hover:    rgba(239, 68, 68, 0.22);

    --g-teal:         rgba(20, 184, 166, 0.12);
    --g-teal-border:  rgba(20, 184, 166, 0.25);
    --g-teal-text:    #5eead4;
    --g-teal-hover:   rgba(20, 184, 166, 0.22);

    --g-purple:       rgba(168, 85, 247, 0.12);
    --g-purple-border:rgba(168, 85, 247, 0.25);
    --g-purple-text:  #d8b4fe;
    --g-purple-hover: rgba(168, 85, 247, 0.22);
}

/* ============================================================
   GLOBAL ACTION BUTTON (styl FarmSiloses)
   Klasy: .g-btn, .g-btn-green, .g-btn-amber, .g-btn-blue,
          .g-btn-red, .g-btn-teal, .g-btn-purple
   ============================================================ */

.g-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--g-radius);
    font-family: var(--g-font);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--g-transition);
    text-align: center;
    width: 100%;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
    position: relative;
}

/* Buttons that contain a badge-premium need extra right padding to avoid overlap */
.g-btn:has(.badge-premium) {
    padding-right: 3.5rem;
}

.g-btn i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.g-btn:hover {
    transform: translateY(-1px);
}

.g-btn:active {
    transform: translateY(0);
}

/* Warianty kolorystyczne */
.g-btn-green {
    background: var(--g-green);
    border-color: var(--g-green-border);
    color: var(--g-green-text);
}
.g-btn-green:hover {
    background: var(--g-green-hover);
    border-color: rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
}

.g-btn-amber {
    background: var(--g-amber);
    border-color: var(--g-amber-border);
    color: var(--g-amber-text);
}
.g-btn-amber:hover {
    background: var(--g-amber-hover);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fde68a;
}

.g-btn-blue {
    background: var(--g-blue);
    border-color: var(--g-blue-border);
    color: var(--g-blue-text);
}
.g-btn-blue:hover {
    background: var(--g-blue-hover);
    border-color: rgba(59, 130, 246, 0.45);
    color: #bfdbfe;
}

.g-btn-red {
    background: var(--g-red);
    border-color: var(--g-red-border);
    color: var(--g-red-text);
}
.g-btn-red:hover {
    background: var(--g-red-hover);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fecaca;
}

.g-btn-teal {
    background: var(--g-teal);
    border-color: var(--g-teal-border);
    color: var(--g-teal-text);
}
.g-btn-teal:hover {
    background: var(--g-teal-hover);
    border-color: rgba(20, 184, 166, 0.45);
    color: #99f6e4;
}

.g-btn-purple {
    background: var(--g-purple);
    border-color: var(--g-purple-border);
    color: var(--g-purple-text);
}
.g-btn-purple:hover {
    background: var(--g-purple-hover);
    border-color: rgba(168, 85, 247, 0.45);
    color: #e9d5ff;
}

/* Badge Premium wewnątrz przycisku - absolutnie, by nie psuć centrowania */
.g-btn .badge-premium {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fcd34d;
    font-size: 0.65rem;
    padding: 0.1em 0.45em;
    border-radius: 4px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Wariant inline (nie full-width) */
.g-btn-inline {
    width: auto;
    display: inline-flex;
}

/* Filter button active state */
.g-btn.filter-btn.active {
    box-shadow: 0 0 0 2px currentColor;
    opacity: 1;
}
.g-btn.filter-btn:not(.active) {
    opacity: 0.65;
}
.g-btn.filter-btn:not(.active):hover {
    opacity: 1;
}

/* Wariant duży */
.g-btn-lg {
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
}

/* Wariant mały */
.g-btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
}
.g-btn-sm.dropdown-toggle {
    padding-right: 1.5rem;
}

/* ============================================================
   SOLID BUTTONS (pełne tło - jak w FarmPanel "Wystaw ofertę")
   Klasy: .g-btn-solid-green, .g-btn-solid-blue, itd.
   ============================================================ */

.g-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--g-radius);
    font-family: var(--g-font);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--g-transition);
    text-decoration: none;
    white-space: nowrap;
}

.g-btn-solid:hover {
    transform: translateY(-1px);
}

.g-btn-solid:active {
    transform: translateY(0);
    box-shadow: none;
}

.g-btn-solid-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}
.g-btn-solid-green:hover {
    box-shadow: 0 5px 16px rgba(34, 197, 94, 0.45);
    color: #fff;
}

.g-btn-solid-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}
.g-btn-solid-blue:hover {
    box-shadow: 0 5px 16px rgba(59, 130, 246, 0.45);
    color: #fff;
}

.g-btn-solid-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}
.g-btn-solid-amber:hover {
    box-shadow: 0 5px 16px rgba(245, 158, 11, 0.45);
    color: #fff;
}

.g-btn-solid-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}
.g-btn-solid-red:hover {
    box-shadow: 0 5px 16px rgba(239, 68, 68, 0.45);
    color: #fff;
}

.g-btn-solid-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    box-shadow: 0 3px 10px rgba(20, 184, 166, 0.3);
}
.g-btn-solid-teal:hover {
    box-shadow: 0 5px 16px rgba(20, 184, 166, 0.45);
    color: #fff;
}

/* ============================================================
   LIGHT MODE OVERRIDES dla g-btn
   ============================================================ */

[data-bs-theme="light"] .g-btn-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.12));
    border-color: rgba(34, 197, 94, 0.4);
    color: #15803d;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.1);
}
[data-bs-theme="light"] .g-btn-green:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.2));
    border-color: rgba(34, 197, 94, 0.5);
    color: #14532d;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

[data-bs-theme="light"] .g-btn-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.12));
    border-color: rgba(245, 158, 11, 0.4);
    color: #b45309;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}
[data-bs-theme="light"] .g-btn-amber:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.2));
    border-color: rgba(245, 158, 11, 0.5);
    color: #92400e;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

[data-bs-theme="light"] .g-btn-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.12));
    border-color: rgba(59, 130, 246, 0.4);
    color: #1d4ed8;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.1);
}
[data-bs-theme="light"] .g-btn-blue:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
    color: #1e40af;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

[data-bs-theme="light"] .g-btn-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.12));
    border-color: rgba(239, 68, 68, 0.4);
    color: #b91c1c;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.1);
}
[data-bs-theme="light"] .g-btn-red:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.2));
    border-color: rgba(239, 68, 68, 0.5);
    color: #991b1b;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
}

[data-bs-theme="light"] .g-btn-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.12));
    border-color: rgba(20, 184, 166, 0.4);
    color: #0f766e;
    box-shadow: 0 1px 3px rgba(20, 184, 166, 0.1);
}
[data-bs-theme="light"] .g-btn-teal:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(20, 184, 166, 0.2));
    border-color: rgba(20, 184, 166, 0.5);
    color: #115e59;
    box-shadow: 0 2px 6px rgba(20, 184, 166, 0.15);
}

[data-bs-theme="light"] .g-btn-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.12));
    border-color: rgba(168, 85, 247, 0.4);
    color: #7c3aed;
    box-shadow: 0 1px 3px rgba(168, 85, 247, 0.1);
}
[data-bs-theme="light"] .g-btn-purple:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.2));
    border-color: rgba(168, 85, 247, 0.5);
    color: #6d28d9;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.15);
}

[data-bs-theme="light"] .g-btn .badge-premium {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #92400e;
}

/* ============================================================
   DROPDOWN STYLING (dla przycisków g-btn z dropdown)
   ============================================================ */

.g-btn.dropdown-toggle {
    position: relative;
    padding-right: 1.8rem;
}
.g-btn.dropdown-toggle::after {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.dropdown-menu {
    border-radius: var(--g-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    min-width: 220px;
    max-width: 280px;
    width: max-content;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: visible;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.dropdown-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.dropdown-item.text-success:hover {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
}

.dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Light mode dropdown */
[data-bs-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .dropdown-item {
    color: rgba(0, 0, 0, 0.8);
}

[data-bs-theme="light"] .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

[data-bs-theme="light"] .dropdown-item.text-success:hover {
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
}

[data-bs-theme="light"] .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

[data-bs-theme="light"] .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================================
   RESPONSIVE - MOBILE STYLES
   ============================================================ */

/* Na mobile wszystkie g-btn-inline mają pełną szerokość */
@media (max-width: 767.98px) {
    .g-btn-inline {
        width: 100% !important;
        display: flex !important;
    }
    
    /* Filter buttons na mobile - pełna szerokość */
    .filter-btn {
        width: 100% !important;
        justify-content: flex-start;
    }
    
    /* Flex containers z przyciskami - kolumna na mobile */
    .d-flex.gap-2 .g-btn,
    .d-flex.flex-wrap.gap-2 .g-btn {
        width: 100%;
    }
    
    /* Dropdown buttons (Podłącz, Zarządzaj) - pełna szerokość */
    .dropdown-toggle.g-btn {
        width: 100% !important;
    }
    
    /* WYJĄTEK: Przycisk toggle filtrów - pozostaje mały */
    #toggleFiltersBtn {
        width: auto !important;
        min-width: auto !important;
    }
    
    /* Link do podpiętego sprzętu - tylko ikonka na mobile */
    .g-btn-inline[href*="/PlayerVehicles/"] {
        width: auto !important;
        padding: 0.35rem 0.5rem !important;
        min-width: auto !important;
    }

    /* WYJĄTEK: Przyciski nawigacji pola - pozostają inline na mobile */
    .field-nav-btns .g-btn-inline {
        width: auto !important;
        display: inline-flex !important;
        min-width: 36px;
    }
    
    /* Wycentrowanie dropdown buttons (Podłącz, Zarządzaj) */
    .dropdown-toggle.g-btn {
        justify-content: center !important;
    }
    
    /* Badge w filtrach - wyrównanie do prawej */
    .filter-btn .badge {
        margin-left: auto !important;
    }
    
    /* Zapełnienie garażu - mniejszy font na mobile */
    .g-stat-card .g-stat-label {
        font-size: 0.7rem !important;
    }
    .g-stat-card .g-stat-value {
        font-size: 1rem !important;
    }
    
    /* Przyciski w Funkcje Premium - równa szerokość */
    .d-flex.flex-wrap.gap-2 .btn-group {
        flex: 1 1 100% !important;
    }
    .d-flex.flex-wrap.gap-2 .btn-group .g-btn {
        width: 100% !important;
    }
    
    /* Sekcja Zapełnienie garażu - mobile */
    .card-body .d-flex.justify-content-between.align-items-center {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    /* Tekst "Zapełnienie garażu" - mniejszy na mobile */
    .card-body h6 {
        font-size: 0.85rem !important;
    }
    
    /* Przyciski w sekcji garażu - kolumna na mobile */
    .card-body .d-flex.align-items-center.gap-2 {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
    
    /* Strong z liczbami - pełna szerokość */
    .card-body .d-flex.align-items-center.gap-2 strong {
        width: 100% !important;
        text-align: center !important;
        padding: 0.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 6px !important;
        font-size: 1.1rem !important;
    }
}

/* ============================================================
   TRACTOR CARD LAYOUT SYNC (_TractorPartial vs _TractorCardRefreshed)
   ============================================================ */

/* Kompaktowy layout dla kart traktorów - zawsze single column */
.tractor-card .row.g-0,
.row-filter .card .row.g-0 {
    flex-direction: column !important;
}

.tractor-card .col-md-4,
.tractor-card .col-md-8,
.row-filter .card .col-md-4,
.row-filter .card .col-md-8 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Obrazek traktora - wycentrowany */
.tractor-card .col-md-4,
.row-filter .card .col-md-4 {
    padding: 0 !important;
}

.tractor-card .figure,
.row-filter .card .figure {
    margin: 0 !important;
    width: 100%;
}

.tractor-card .figure-img,
.row-filter .card .figure-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Card header - gradient background */
.tractor-card .card-header,
.row-filter .card .card-header {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

/* ============================================================
   STAT CARDS (wspólne dla BigBagsAndSprayers, FarmPanel itp.)
   ============================================================ */

.g-stat-card {
    border-radius: var(--g-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(30, 41, 59, 0.6);
    transition: transform 0.2s;
}

[data-bs-theme="light"] .g-stat-card {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.g-stat-card:hover {
    transform: translateY(-2px);
}

.g-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.g-stat-label {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 2px;
    font-family: var(--g-font);
}

[data-bs-theme="light"] .g-stat-label {
    color: #64748b;
}

.g-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    font-family: var(--g-font);
}

[data-bs-theme="light"] .g-stat-value {
    color: #1e293b;
}

.g-stat-sub {
    font-size: 0.75rem;
    color: #64748b;
    font-family: var(--g-font);
}

/* ============================================================
   PRODUCT / ITEM CARDS (bb-card style, wspólne)
   ============================================================ */

.g-item-card {
    border-radius: var(--g-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(30, 41, 59, 0.6);
}

[data-bs-theme="light"] .g-item-card {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.g-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.g-item-card-img {
    height: 130px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-bs-theme="light"] .g-item-card-img {
    background: #f1f5f9;
}

.g-item-card-img img {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
}

.g-item-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.g-item-card-body {
    padding: 14px 16px;
}

.g-item-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-family: var(--g-font);
}

[data-bs-theme="light"] .g-item-card-title {
    color: #1e293b;
}

.g-item-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 5px;
    color: #94a3b8;
    font-family: var(--g-font);
}

[data-bs-theme="light"] .g-item-card-info {
    color: #64748b;
}

.g-item-card-info strong {
    color: #f1f5f9;
    font-weight: 600;
}

[data-bs-theme="light"] .g-item-card-info strong {
    color: #1e293b;
}

.g-item-card-footer {
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 8px;
}

[data-bs-theme="light"] .g-item-card-footer {
    border-top-color: #e2e8f0;
}

.g-item-card-footer .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 6px 8px;
}

/* ============================================================
   SUMMARY PANEL (tabela podsumowania)
   ============================================================ */

.g-summary-panel {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--g-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}

[data-bs-theme="light"] .g-summary-panel {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.g-summary-panel .table {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-family: var(--g-font);
}

.g-summary-panel .table td,
.g-summary-panel .table th {
    padding: 10px 14px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.g-empty {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
    font-family: var(--g-font);
}

.g-empty i {
    font-size: 56px;
    opacity: 0.25;
    display: block;
    margin-bottom: 12px;
}

/* ============================================================
   SECTION LABEL (nagłówek sekcji uppercase)
   ============================================================ */

.g-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-family: var(--g-font);
}

/* ============================================================
   G-TABS (nowoczesny styl tabów, zastępuje Bootstrap nav-tabs-custom)
   Użycie: <nav class="g-tabs"> <a class="g-tab active"> ... </a> </nav>
   ============================================================ */

.g-tabs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--g-radius-lg);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

[data-bs-theme="light"] .g-tabs {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.g-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: var(--g-radius);
    font-family: var(--g-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--g-transition);
    white-space: nowrap;
    position: relative;
}

.g-tab:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.07);
}

.g-tab.active,
.g-tab[aria-selected="true"] {
    color: #f1f5f9;
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="light"] .g-tab {
    color: #64748b;
}

[data-bs-theme="light"] .g-tab:hover {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .g-tab.active,
[data-bs-theme="light"] .g-tab[aria-selected="true"] {
    color: #1e293b;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.g-tab .badge {
    font-size: 0.68rem;
    padding: 0.18em 0.5em;
    border-radius: 20px;
    font-weight: 700;
}

/* Kolor akcentu aktywnego taba (opcjonalnie) */
.g-tab.active .g-tab-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Nadpisanie Bootstrap nav-tabs-custom gdy jest wewnątrz g-tabs */
.g-tabs .nav-link {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: var(--g-radius);
    font-family: var(--g-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    cursor: pointer;
    transition: var(--g-transition);
    white-space: nowrap;
}

.g-tabs .nav-link:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.07);
}

.g-tabs .nav-link.active {
    color: #f1f5f9;
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="light"] .g-tabs .nav-link {
    color: #64748b;
}

[data-bs-theme="light"] .g-tabs .nav-link:hover {
    color: #1e293b;
    background: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .g-tabs .nav-link.active {
    color: #1e293b;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.g-tabs .nav-item {
    display: contents;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes g-fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.g-animate {
    animation: g-fadeInUp 0.3s ease-out both;
}

/* ============================================================
   AVATAR UTILITIES (from app.css which is disabled)
   ============================================================ */
.avatar-xxs {
    height: 1.5rem;
    width: 1.5rem;
}

.avatar-xs {
    height: 2rem;
    width: 2rem;
}

.avatar-sm {
    height: 3rem;
    width: 3rem;
}

.avatar-md {
    height: 4.5rem;
    width: 4.5rem;
}

.avatar-lg {
    height: 6rem;
    width: 6rem;
}

.avatar-xl {
    height: 7.5rem;
    width: 7.5rem;
}

.avatar-title {
    align-items: center;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.avatar-sm img,
.avatar-md img,
.avatar-lg img,
.avatar-xl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.avatar-xxs { height: 1.5rem; width: 1.5rem; object-fit: cover; }
img.avatar-xs  { height: 2rem;   width: 2rem;   object-fit: cover; }
img.avatar-sm  { height: 3rem;   width: 3rem;   object-fit: cover; }
img.avatar-md  { height: 4.5rem; width: 4.5rem; object-fit: cover; }
img.avatar-lg  { height: 6rem;   width: 6rem;   object-fit: cover; }
img.avatar-xl  { height: 7.5rem; width: 7.5rem; object-fit: cover; }

/* ============================================================
   ANIMAL VIEWS: Nav tabs font & styling
   ============================================================ */
.nav-tabs-custom .nav-link {
    font-family: var(--g-font);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   DARK MODE: SweetAlert2 dialogs
   ============================================================ */
[data-bs-theme="dark"] .swal2-popup {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .swal2-title {
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .swal2-html-container,
[data-bs-theme="dark"] .swal2-content {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-question {
    border-color: rgba(100, 116, 139, 0.5) !important;
    color: #94a3b8 !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-warning {
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #f59e0b !important;
}

[data-bs-theme="dark"] .swal2-icon.swal2-info {
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #3b82f6 !important;
}

[data-bs-theme="dark"] .swal2-input,
[data-bs-theme="dark"] .swal2-textarea,
[data-bs-theme="dark"] .swal2-select {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .swal2-validation-message {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

/* ============================================================
   DARK MODE: Offcanvas sell forms
   ============================================================ */
[data-bs-theme="dark"] .offcanvas {
    background-color: #0f172a;
    color: #f1f5f9;
}

[data-bs-theme="dark"] .offcanvas-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .offcanvas-body .card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .offcanvas-body .card-header {
    background: rgba(255, 255, 255, 0.06) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .offcanvas-body .card-header.bg-success,
[data-bs-theme="dark"] .offcanvas-body .card-header.bg-body-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .offcanvas-body .card-body {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .offcanvas-body .alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

[data-bs-theme="dark"] .offcanvas-body .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fcd34d;
}

[data-bs-theme="dark"] .offcanvas-body .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

[data-bs-theme="dark"] .offcanvas-body .form-control,
[data-bs-theme="dark"] .offcanvas-body .form-select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .offcanvas-body .form-control:focus,
[data-bs-theme="dark"] .offcanvas-body .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .offcanvas-body .form-control::placeholder {
    color: #64748b;
}

[data-bs-theme="dark"] .offcanvas-body .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

[data-bs-theme="dark"] .offcanvas-body .form-text {
    color: #64748b;
}

[data-bs-theme="dark"] .offcanvas-body .bg-body-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
}

[data-bs-theme="dark"] .offcanvas-body .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================================
   DARK MODE: Select2 inside offcanvas
   ============================================================ */
[data-bs-theme="dark"] .offcanvas-body .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .offcanvas-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .offcanvas-body .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b;
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background: #334155;
    border-color: #475569;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(59, 130, 246, 0.3);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--selected {
    background-color: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   DARK MODE: General alerts in modals
   ============================================================ */
[data-bs-theme="dark"] .modal-body .alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

[data-bs-theme="dark"] .modal-body .alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fcd34d;
}

[data-bs-theme="dark"] .modal-body .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

[data-bs-theme="dark"] .modal-body .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* ============================================================
   MODAL HEADER - Default style (no gradient)
   Override all inline gradient backgrounds and .modal-header-gradient
   ============================================================ */
.modal-header {
    background: none !important;
    border-bottom: 1px solid var(--bs-border-color) !important;
}

.modal-header .modal-title {
    color: var(--bs-body-color) !important;
    font-weight: 600;
}

.modal-header .btn-close {
    filter: none !important;
    opacity: 0.5;
}

.modal-header .btn-close:hover {
    opacity: 0.75;
}

.modal-header .btn-close.btn-close-white {
    filter: none !important;
}

.modal-header-gradient {
    background: none !important;
}

[data-bs-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .modal-header .btn-close,
[data-bs-theme="dark"] .modal-header .btn-close.btn-close-white {
    filter: brightness(0) invert(1) !important;
}

/* ===== DARK MODE: bg-light / bg-light-subtle / alert-light global fixes ===== */
[data-bs-theme="dark"] .bg-light {
    background-color: rgba(255, 255, 255, 0.06) !important;
}

[data-bs-theme="dark"] .bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .alert-light {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .card-header {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .form-control[disabled].bg-light,
[data-bs-theme="dark"] .form-control:disabled {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--bs-secondary-color) !important;
}

/* ===== DARK MODE: avatar-title light variants ===== */
[data-bs-theme="dark"] .avatar-title.bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== SELECT OPTION DARK MODE ===== */
[data-bs-theme="dark"] select option,
[data-bs-theme="dark"] .form-select option {
    background-color: #1e2a3a !important;
    color: #f1f5f9 !important;
}

/* ===== DATATABLES DARK MODE ===== */
[data-bs-theme="dark"] .dataTables_wrapper {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--bs-body-color) !important;
    background: transparent !important;
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: rgba(59, 130, 246, 0.25) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #93c5fd !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: var(--bs-secondary-color) !important;
    background: transparent !important;
}

[data-bs-theme="dark"] table.dataTable thead th,
[data-bs-theme="dark"] table.dataTable thead td {
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

[data-bs-theme="dark"] table.dataTable tbody tr {
    background-color: transparent !important;
}

[data-bs-theme="dark"] table.dataTable tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] table.dataTable.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

[data-bs-theme="dark"] table.dataTable tbody td {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

[data-bs-theme="dark"] .table-light,
[data-bs-theme="dark"] .table-light th {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--bs-body-color) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== SELECT2 DARK MODE ===== */
[data-bs-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--bs-body-color) transparent transparent transparent !important;
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option {
    color: var(--bs-body-color) !important;
    background-color: transparent !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(59, 130, 246, 0.25) !important;
    color: #93c5fd !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(59, 130, 246, 0.15) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__clear {
    color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--bs-body-color) transparent !important;
}

/* Select2 inside offcanvas - ensure proper z-index */
.offcanvas .select2-container {
    width: 100% !important;
}

.offcanvas .select2-dropdown {
    z-index: 1100 !important;
}

@media (max-width: 767px) {
    .g-btn { font-size: 0.95rem; padding: 0.5rem 0.9rem; }
    .g-btn-lg { font-size: 1rem; padding: 0.6rem 1rem; }
    .g-btn-sm { font-size: 0.85rem; padding: 0.35rem 0.7rem; }
    .g-stat-card { padding: 14px 16px; }
    .g-stat-value { font-size: 1.15rem; }
    .g-stat-label { font-size: 0.85rem; }
    .g-item-card-img { height: 110px; }
    .g-section-title { font-size: 1.1rem; }
}

/* Dropdown max-height to prevent clipping near viewport bottom */
.dropdown-menu {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* ============================================================
   BOOTSTRAP COLOR OVERRIDES - Subtle Teal instead of Bright Green
   ============================================================ */

/* Override text-success - DARK THEME */
[data-bs-theme="dark"] .text-success {
    color: #14b8a6 !important;
}

/* Override text-success - LIGHT THEME */
[data-bs-theme="light"] .text-success {
    color: #15803d !important;
}

/* Override bg-success - DARK THEME */
[data-bs-theme="dark"] .bg-success {
    background-color: rgba(20, 184, 166, 0.15) !important;
}

/* Override bg-success - LIGHT THEME */
[data-bs-theme="light"] .bg-success {
    background-color: rgba(22, 163, 74, 0.12) !important;
}

/* Override bg-success-subtle - DARK THEME */
[data-bs-theme="dark"] .bg-success-subtle {
    background-color: rgba(20, 184, 166, 0.12) !important;
    color: #14b8a6 !important;
}

/* Override bg-success-subtle - LIGHT THEME */
[data-bs-theme="light"] .bg-success-subtle {
    background-color: rgba(22, 163, 74, 0.1) !important;
    color: #15803d !important;
}

/* Progress bar success - DARK THEME */
[data-bs-theme="dark"] .progress-bar.bg-success {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.8), rgba(20, 184, 166, 0.6)) !important;
}

/* Progress bar success - LIGHT THEME */
[data-bs-theme="light"] .progress-bar.bg-success {
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.8), rgba(22, 163, 74, 0.6)) !important;
}

/* Badge success - DARK THEME */
[data-bs-theme="dark"] .badge.bg-success {
    background-color: rgba(20, 184, 166, 0.2) !important;
    color: #5eead4 !important;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

/* Badge success - LIGHT THEME */
[data-bs-theme="light"] .badge.bg-success {
    background-color: rgba(22, 163, 74, 0.15) !important;
    color: #15803d !important;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

/* Card header success - DARK THEME */
[data-bs-theme="dark"] .card-header.bg-success {
    background: rgba(20, 184, 166, 0.15) !important;
    border-color: rgba(20, 184, 166, 0.3) !important;
    color: #e2e8f0 !important;
}

/* Card header success - LIGHT THEME */
[data-bs-theme="light"] .card-header.bg-success {
    background: rgba(22, 163, 74, 0.12) !important;
    border-color: rgba(22, 163, 74, 0.25) !important;
    color: #15803d !important;
}

/* Alert success - DARK THEME */
[data-bs-theme="dark"] .alert-success {
    background: rgba(20, 184, 166, 0.12) !important;
    border-color: rgba(20, 184, 166, 0.25) !important;
    color: #e2e8f0 !important;
}

/* Alert success - LIGHT THEME */
[data-bs-theme="light"] .alert-success {
    background: rgba(22, 163, 74, 0.08) !important;
    border-color: rgba(22, 163, 74, 0.2) !important;
    color: #15803d !important;
}

/* Border success - DARK THEME */
[data-bs-theme="dark"] .border-success {
    border-color: rgba(20, 184, 166, 0.3) !important;
}

/* Border success - LIGHT THEME */
[data-bs-theme="light"] .border-success {
    border-color: rgba(22, 163, 74, 0.25) !important;
}

/* ============================================================
   BOOTSTRAP INFO COLOR OVERRIDES - Subtle Teal instead of Bright Cyan
   ============================================================ */

/* Alert info - DARK THEME - subtle teal background */
[data-bs-theme="dark"] .alert-info {
    background: rgba(20, 184, 166, 0.1) !important;
    border-color: rgba(20, 184, 166, 0.3) !important;
    color: #5eead4 !important;
}

/* Alert info - LIGHT THEME - darker teal for visibility */
[data-bs-theme="light"] .alert-info {
    background: rgba(13, 148, 136, 0.1) !important;
    border-color: rgba(13, 148, 136, 0.25) !important;
    color: #0f766e !important;
}

/* Background info - DARK THEME */
[data-bs-theme="dark"] .bg-info {
    background-color: rgba(20, 184, 166, 0.15) !important;
}

/* Background info - LIGHT THEME */
[data-bs-theme="light"] .bg-info {
    background-color: rgba(13, 148, 136, 0.12) !important;
}

/* Text info - DARK THEME */
[data-bs-theme="dark"] .text-info {
    color: #14b8a6 !important;
}

/* Text info - LIGHT THEME */
[data-bs-theme="light"] .text-info {
    color: #0d9488 !important;
}

/* Border info - DARK THEME */
[data-bs-theme="dark"] .border-info {
    border-color: rgba(20, 184, 166, 0.3) !important;
}

/* Border info - LIGHT THEME */
[data-bs-theme="light"] .border-info {
    border-color: rgba(13, 148, 136, 0.25) !important;
}

/* Badge info - DARK THEME */
[data-bs-theme="dark"] .badge.bg-info {
    background-color: rgba(20, 184, 166, 0.2) !important;
    color: #5eead4 !important;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

/* Badge info - LIGHT THEME */
[data-bs-theme="light"] .badge.bg-info {
    background-color: rgba(13, 148, 136, 0.15) !important;
    color: #0f766e !important;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

/* Info subtle variants */
.bg-info-subtle {
    background-color: rgba(20, 184, 166, 0.12) !important;
    color: #14b8a6 !important;
}

.text-info-emphasis {
    color: #0d9488 !important;
}

/* ============================================================
   DARK MODE - Bootstrap border-warning / alert-warning overrides
   Bootstrap dark mode renders these too saturated
   ============================================================ */
[data-bs-theme="dark"] .card.border-warning {
    border-color: rgba(245, 158, 11, 0.25) !important;
}

[data-bs-theme="dark"] .card-header.bg-warning,
[data-bs-theme="dark"] .card-header.bg-warning.bg-opacity-10 {
    background-color: rgba(245, 158, 11, 0.08) !important;
    border-bottom-color: rgba(245, 158, 11, 0.15) !important;
}

[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.18) !important;
    color: #fcd34d !important;
}

[data-bs-theme="dark"] .alert-warning a,
[data-bs-theme="dark"] .alert-warning strong {
    color: #fde68a !important;
}

[data-bs-theme="dark"] .border-warning {
    border-color: rgba(245, 158, 11, 0.25) !important;
}

[data-bs-theme="dark"] .text-warning {
    color: #fbbf24 !important;
}
