/* ==========================================================
   mod_mgest v2.3.0 — Vehicle Showcase Module
   Styles: classic, elegant, minimal, sport, luxury
   Themes: auto/light/dark with toggle
   ========================================================== */

/* ── Custom Properties (matching component) ─── */
.mod-mgest {
    --mgest-card-bg: var(--bs-body-bg, #fff);
    --mgest-text: var(--bs-body-color, #212529);
    --mgest-text-muted: var(--bs-secondary-color, #64748b);
    --mgest-border: var(--bs-border-color, #e2e8f0);
    --mgest-surface: var(--bs-tertiary-bg, #f8fafc);
    --mgest-card-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --mgest-card-shadow-hover: 0 10px 25px rgba(0,0,0,.12);
    --mgest-radius: .75rem;
    --mgest-radius-sm: .5rem;
    --mgest-transition: .3s cubic-bezier(.4,0,.2,1);
    --mgest-price-bg: #343a40;
    --mgest-price-color: #fff;
    color-scheme: light dark;
    color: var(--mgest-text);
}

/* ── Dark Theme — BS 5.3 ── */
[data-bs-theme="dark"] .mod-mgest,
.mod-mgest[data-bs-theme="dark"] {
    --mgest-card-bg: var(--bs-body-bg, #212529);
    --mgest-text: var(--bs-body-color, #dee2e6);
    --mgest-text-muted: var(--bs-secondary-color, #adb5bd);
    --mgest-border: var(--bs-border-color, #495057);
    --mgest-surface: var(--bs-tertiary-bg, #2b3035);
    --mgest-card-shadow: 0 1px 3px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.18);
    --mgest-card-shadow-hover: 0 10px 25px rgba(0,0,0,.45);
    --mgest-price-bg: #f8f9fa;
    --mgest-price-color: #212529;
}

/* ── Dark Theme — prefers-color-scheme fallback ── */
@media (prefers-color-scheme: dark) {
    .mod-mgest:not([data-bs-theme="light"]) {
        --mgest-card-bg: #212529;
        --mgest-text: #dee2e6;
        --mgest-text-muted: #adb5bd;
        --mgest-border: #495057;
        --mgest-surface: #2b3035;
        --mgest-card-shadow: 0 1px 3px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.18);
        --mgest-card-shadow-hover: 0 10px 25px rgba(0,0,0,.45);
        --mgest-price-bg: #f8f9fa;
        --mgest-price-color: #212529;
    }
}

/* ══════════════════════════════════════════════
   HORIZONTAL GRID (identical to .mgest-card-grid)
   ══════════════════════════════════════════════ */
.mod-mgest-horizontal .mod-mgest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0;
}

/* ══════════════════════════════════════════════
   VERTICAL LIST
   ══════════════════════════════════════════════ */
.mod-mgest-vertical .mod-mgest-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.mod-mgest-vertical .mod-mgest-card-link {
    display: flex;
    flex-direction: row;
}
.mod-mgest-vertical .mod-mgest-card-img {
    flex: 0 0 260px;
    min-height: 170px;
}
.mod-mgest-vertical .mod-mgest-card-img img {
    height: 100%;
    width: 260px;
    min-height: 170px;
}
.mod-mgest-vertical .mod-mgest-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.25rem;
}

/* ══════════════════════════════════════════════
   CARD (identical to .mgest-card)
   ══════════════════════════════════════════════ */
.mod-mgest-card {
    background: var(--mgest-card-bg);
    border-radius: var(--mgest-radius);
    box-shadow: var(--mgest-card-shadow);
    overflow: hidden;
    transition: transform var(--mgest-transition), box-shadow var(--mgest-transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mgest-border);
}
.mod-mgest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mgest-card-shadow-hover);
}

.mod-mgest-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.mod-mgest-card-link:hover,
.mod-mgest-card-link:focus {
    color: inherit;
    text-decoration: none;
}

/* ══════════════════════════════════════════════
   CARD IMAGE (identical to .mgest-card-img)
   ══════════════════════════════════════════════ */
.mod-mgest-card-img {
    position: relative;
    overflow: hidden;
    background: var(--mgest-surface);
}
.mod-mgest-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--mgest-transition);
}

/* ── Hover Effects ── */

/* Zoom (default) */
.mod-mgest-hover-zoom .mod-mgest-card:hover .mod-mgest-card-img img {
    transform: scale(1.05);
}

/* Slide (panning) */
.mod-mgest-hover-slide .mod-mgest-card-img img {
    transform: translateX(0);
    transition: transform .8s ease;
}
.mod-mgest-hover-slide .mod-mgest-card:hover .mod-mgest-card-img img {
    transform: translateX(-5%);
}

/* None — no effect */

/* ══════════════════════════════════════════════
   NOVITÀ BADGE (identical to .mgest-badge-novita)
   ══════════════════════════════════════════════ */
.mod-mgest-badge-novita {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: inline-block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: .25rem;
    letter-spacing: .05em;
    line-height: 1.4;
    z-index: 2;
}

/* ══════════════════════════════════════════════
   CARD BODY (identical to .mgest-card-body)
   ══════════════════════════════════════════════ */
.mod-mgest-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--mgest-text);
}

/* ── Title + Price header ── */
.mod-mgest-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 0;
}
.mod-mgest-card-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--mgest-text);
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mod-mgest-card-price {
    flex-shrink: 0;
    background: var(--mgest-price-bg);
    color: var(--mgest-price-color);
    font-weight: 700;
    font-size: .9rem;
    padding: .3rem .75rem;
    border-radius: .35rem;
    white-space: nowrap;
    line-height: 1.35;
}

/* ── Specs row (km ⛽ fuel) ── */
.mod-mgest-card-specs {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--mgest-text-muted);
    padding-top: .6rem;
    margin-top: .6rem;
    border-top: 1px solid var(--mgest-border);
}
.mod-mgest-spec-icon {
    font-size: .8rem;
    opacity: .6;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* Large desktop — keep 4 columns */
@media (min-width: 1200px) {
    .mod-mgest-horizontal .mod-mgest-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop / tablet landscape */
@media (max-width: 1199.98px) {
    .mod-mgest-horizontal .mod-mgest-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Tablet portrait */
@media (max-width: 991.98px) {
    .mod-mgest-horizontal .mod-mgest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Phone */
@media (max-width: 767.98px) {
    .mod-mgest-horizontal .mod-mgest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }
    .mod-mgest-card-img img { height: 150px; }
    .mod-mgest-card-body { padding: .65rem .75rem; }
    .mod-mgest-card-title { font-size: .88rem; }
    .mod-mgest-card-price { font-size: .78rem; padding: .2rem .55rem; }
    .mod-mgest-card-specs { font-size: .75rem; gap: .35rem; }

    /* Vertical collapses */
    .mod-mgest-vertical .mod-mgest-card-link { flex-direction: column; }
    .mod-mgest-vertical .mod-mgest-card-img { flex: none; }
    .mod-mgest-vertical .mod-mgest-card-img img { width: 100%; height: 170px; }
}

/* Small phone */
@media (max-width: 575.98px) {
    .mod-mgest-horizontal .mod-mgest-grid {
        grid-template-columns: 1fr;
    }
    .mod-mgest-card-img img { height: 200px; }
}

/* ══════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════ */
.mod-mgest-tabs {
    display: flex;
    gap: .5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--mgest-border);
    margin-bottom: 1rem;
}
.mod-mgest-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: .4rem .75rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--mgest-text-muted);
    cursor: pointer;
    transition: color .2s, border-color .2s;
}
.mod-mgest-tab:hover {
    color: var(--mgest-text);
}
.mod-mgest-tab.active {
    color: var(--mgest-text);
    border-bottom-color: var(--mgest-text);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   PROMO BADGE
   ══════════════════════════════════════════════ */
.mod-mgest-badge-promo {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: .25rem;
    letter-spacing: .04em;
    line-height: 1.4;
    z-index: 2;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(217, 119, 6, .35);
    animation: mod-mgest-promo-pulse 2s ease-in-out infinite;
}
@keyframes mod-mgest-promo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Dark theme promo badge */
[data-bs-theme="dark"] .mod-mgest-badge-promo {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
}
@media (prefers-color-scheme: dark) {
    .mod-mgest:not([data-bs-theme="light"]) .mod-mgest-badge-promo {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #1a1a2e;
    }
}

/* ══════════════════════════════════════════════
   STAGGERED FADE-IN ANIMATION
   ══════════════════════════════════════════════ */
.mod-mgest-stagger {
    opacity: 0;
    transform: translateY(18px);
    animation: mod-mgest-fadeUp .5s ease forwards;
}
@keyframes mod-mgest-fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   MINI-CAROUSEL (dots + arrows on hover)
   ══════════════════════════════════════════════ */
.mod-mgest-carousel {
    position: relative;
}

/* Dots */
.mod-mgest-carousel-dots {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .3rem;
    z-index: 3;
    opacity: 0;
    transition: opacity .25s ease;
}
.mod-mgest-card:hover .mod-mgest-carousel-dots {
    opacity: 1;
}
.mod-mgest-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: background .2s ease;
}
.mod-mgest-dot.active {
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,.35);
}

/* Arrows */
.mod-mgest-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s ease, background .2s ease;
    padding: 0;
}
.mod-mgest-card:hover .mod-mgest-arrow {
    opacity: 1;
}
.mod-mgest-arrow:hover {
    background: rgba(0,0,0,.7);
}
.mod-mgest-arrow-l { left: .4rem; }
.mod-mgest-arrow-r { right: .4rem; }

/* ══════════════════════════════════════════════
   RESPONSIVE — enhanced
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .mod-mgest-arrow { width: 24px; height: 24px; font-size: 1rem; line-height: 22px; }
    .mod-mgest-badge-promo { font-size: .6rem; padding: .15rem .45rem; }
}

/* ══════════════════════════════════════════════
   THEME TOGGLE TOOLBAR
   ══════════════════════════════════════════════ */
.mod-mgest-toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 .75rem 0;
}
.mod-mgest-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--mgest-surface);
    border: 1px solid var(--mgest-border);
    border-radius: 2rem;
    padding: .3rem .75rem;
    cursor: pointer;
    font-size: .82rem;
    color: var(--mgest-text-muted);
    transition: background .2s, border-color .2s;
}
.mod-mgest-theme-toggle:hover {
    background: var(--mgest-border);
}
/* Show/hide sun/moon based on current theme */
[data-mgest-theme="light"] .mod-mgest-icon-sun { display: none; }
[data-mgest-theme="light"] .mod-mgest-icon-moon { display: inline; }
[data-mgest-theme="dark"] .mod-mgest-icon-sun { display: inline; }
[data-mgest-theme="dark"] .mod-mgest-icon-moon { display: none; }

/* ══════════════════════════════════════════════
   DARK THEME — data-mgest-theme="dark"
   ══════════════════════════════════════════════ */
[data-mgest-theme="dark"].mod-mgest {
    --mgest-card-bg: #1e1e2e;
    --mgest-text: #e2e8f0;
    --mgest-text-muted: #94a3b8;
    --mgest-border: #334155;
    --mgest-surface: #2a2a3e;
    --mgest-card-shadow: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
    --mgest-card-shadow-hover: 0 10px 25px rgba(0,0,0,.5);
    --mgest-price-bg: #f8f9fa;
    --mgest-price-color: #1e1e2e;
}

/* ══════════════════════════════════════════════
   STYLE 1: CLASSIC — default, subtle refinements
   ══════════════════════════════════════════════ */
.mod-mgest-style-classic .mod-mgest-card {
    border-radius: 8px;
}

/* ══════════════════════════════════════════════
   STYLE 2: ELEGANT — soft shadows, extra rounded
   ══════════════════════════════════════════════ */
.mod-mgest-style-elegant .mod-mgest-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.06), 0 1px 8px rgba(0,0,0,.04);
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
}
.mod-mgest-style-elegant .mod-mgest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
}
.mod-mgest-style-elegant .mod-mgest-card-img img {
    border-radius: 16px 16px 0 0;
}
.mod-mgest-style-elegant .mod-mgest-card-body {
    padding: 1.2rem 1.4rem;
}
.mod-mgest-style-elegant .mod-mgest-card-title {
    font-weight: 600;
    letter-spacing: -.01em;
}
.mod-mgest-style-elegant .mod-mgest-card-price {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mod-mgest-style-elegant .mod-mgest-card-specs {
    font-size: .78rem;
}
.mod-mgest-style-elegant .mod-mgest-badge-novita {
    border-radius: 20px;
    letter-spacing: .05em;
}
/* Elegant dark */
[data-mgest-theme="dark"] .mod-mgest-style-elegant .mod-mgest-card {
    box-shadow: 0 4px 20px rgba(0,0,0,.3), 0 1px 8px rgba(0,0,0,.2);
}
[data-mgest-theme="dark"] .mod-mgest-style-elegant .mod-mgest-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
[data-mgest-theme="dark"] .mod-mgest-style-elegant .mod-mgest-card-price {
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════
   STYLE 3: MINIMAL — clean, flat, typographic
   ══════════════════════════════════════════════ */
.mod-mgest-style-minimal .mod-mgest-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}
.mod-mgest-style-minimal .mod-mgest-card:hover {
    box-shadow: none;
    transform: none;
}
.mod-mgest-style-minimal .mod-mgest-card-img img {
    border-radius: 4px;
}
.mod-mgest-style-minimal .mod-mgest-card-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -.02em;
}
.mod-mgest-style-minimal .mod-mgest-card-price {
    font-size: 1rem;
    font-weight: 600;
    background: none;
    color: #111827;
}
.mod-mgest-style-minimal .mod-mgest-card-specs {
    border-top: none;
    padding-top: .3rem;
    margin-top: .3rem;
    gap: .15rem;
    font-size: .8rem;
    color: #6b7280;
}
.mod-mgest-style-minimal .mod-mgest-badge-novita {
    border-radius: 2px;
    font-size: .68rem;
    padding: .15rem .4rem;
}
/* Minimal dark */
[data-mgest-theme="dark"] .mod-mgest-style-minimal .mod-mgest-card {
    border-bottom-color: #334155;
    background: transparent;
}
[data-mgest-theme="dark"] .mod-mgest-style-minimal .mod-mgest-card-price {
    color: #e2e8f0;
}

/* ══════════════════════════════════════════════
   STYLE 4: SPORT — bold, angular, red accents
   ══════════════════════════════════════════════ */
.mod-mgest-style-sport .mod-mgest-card {
    border-radius: 2px;
    border: 2px solid #dc2626;
    box-shadow: 4px 4px 0 rgba(220,38,38,.15);
    transition: transform .2s, box-shadow .2s;
}
.mod-mgest-style-sport .mod-mgest-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(220,38,38,.25);
}
.mod-mgest-style-sport .mod-mgest-card-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: .92rem;
    letter-spacing: .03em;
}
.mod-mgest-style-sport .mod-mgest-card-price {
    background: #dc2626;
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
}
.mod-mgest-style-sport .mod-mgest-card-specs {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .03em;
    color: #991b1b;
}
.mod-mgest-style-sport .mod-mgest-badge-novita {
    background: #dc2626;
    border-radius: 2px;
    font-weight: 900;
    letter-spacing: .06em;
}
/* Sport dark */
[data-mgest-theme="dark"] .mod-mgest-style-sport .mod-mgest-card {
    border-color: #ef4444;
    box-shadow: 4px 4px 0 rgba(239,68,68,.2);
}
[data-mgest-theme="dark"] .mod-mgest-style-sport .mod-mgest-card:hover {
    box-shadow: 6px 6px 0 rgba(239,68,68,.3);
}
[data-mgest-theme="dark"] .mod-mgest-style-sport .mod-mgest-card-price {
    background: #ef4444;
}
[data-mgest-theme="dark"] .mod-mgest-style-sport .mod-mgest-card-specs {
    color: #fca5a5;
}

/* ══════════════════════════════════════════════
   STYLE 5: LUXURY — gold accents, premium
   ══════════════════════════════════════════════ */
.mod-mgest-style-luxury .mod-mgest-card {
    border-radius: 4px;
    border: 1px solid #d4af37;
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
    box-shadow: 0 2px 12px rgba(212,175,55,.08);
    transition: box-shadow .3s, border-color .3s;
}
.mod-mgest-style-luxury .mod-mgest-card:hover {
    box-shadow: 0 8px 30px rgba(212,175,55,.18);
    border-color: #b8962e;
}
.mod-mgest-style-luxury .mod-mgest-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
    font-size: 1.02rem;
    color: #1a1a1a;
    letter-spacing: .01em;
}
.mod-mgest-style-luxury .mod-mgest-card-price {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #fff;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
}
.mod-mgest-style-luxury .mod-mgest-card-specs {
    font-size: .78rem;
    color: #7c6a2f;
}
.mod-mgest-style-luxury .mod-mgest-badge-novita {
    background: linear-gradient(135deg, #d4af37, #f0d060);
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 3px;
}
.mod-mgest-style-luxury .mod-mgest-card-img {
    position: relative;
}
.mod-mgest-style-luxury .mod-mgest-card-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}
/* Luxury dark */
[data-mgest-theme="dark"] .mod-mgest-style-luxury .mod-mgest-card {
    background: linear-gradient(180deg, #1a1610 0%, var(--mgest-card-bg) 100%);
    border-color: #8b7520;
    box-shadow: 0 2px 12px rgba(212,175,55,.1);
}
[data-mgest-theme="dark"] .mod-mgest-style-luxury .mod-mgest-card:hover {
    box-shadow: 0 8px 30px rgba(212,175,55,.2);
    border-color: #d4af37;
}
[data-mgest-theme="dark"] .mod-mgest-style-luxury .mod-mgest-card-title {
    color: #f0e6cc;
}
[data-mgest-theme="dark"] .mod-mgest-style-luxury .mod-mgest-card-price {
    background: linear-gradient(135deg, #f0d060, #d4af37);
    color: #1a1610;
}
[data-mgest-theme="dark"] .mod-mgest-style-luxury .mod-mgest-card-specs {
    color: #d4af37;
}

/* ══════════════════════════════════════════════
   DARK THEME — promo badge override
   ══════════════════════════════════════════════ */
[data-mgest-theme="dark"] .mod-mgest-badge-promo {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
}

/* ══════════════════════════════════════════════
   DARK THEME — tabs override
   ══════════════════════════════════════════════ */
[data-mgest-theme="dark"] .mod-mgest-tab {
    color: #94a3b8;
    border-color: #334155;
}
[data-mgest-theme="dark"] .mod-mgest-tab.active {
    color: #e2e8f0;
    border-color: #e2e8f0;
}
