﻿:root {
    --accent-red: #d32f2f;
    --dark-bg: #121212;
    --panel-bg: rgba(25, 25, 25, 0.9);
    --border-color: #333;
}

body, html { margin: 0; padding: 0; height: 100%; font-family: 'Segoe UI', sans-serif; background: var(--dark-bg); color: white;   }
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
/* Forteaza imaginile si containerele sa nu depaseasca ecranul */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.vct-page-breadcrumb {
    background: transparent;
    padding: 18px 0 0;
}
.vct-page-breadcrumb-box {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.10);
    border-left: 4px solid #00d4ff;
    padding: 13px 16px 14px;
}
.vct-page-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,0.48);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}
.vct-page-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.vct-page-breadcrumb li + li::before {
    content: "/";
    color: rgba(255,255,255,0.32);
}
.vct-page-breadcrumb a {
    color: #7dd3fc;
    text-decoration: none;
}
.vct-page-breadcrumb a:hover {
    color: #fff;
}
.vct-page-breadcrumb span {
    color: #e5edf5;
}
.vct-page-breadcrumb-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
    margin-top: 10px;
}

body.light-theme .vct-page-breadcrumb-box,
body.vct-contrast.light-theme .vct-page-breadcrumb-box {
    background: #ffffff;
    border-color: #d7dde5;
    border-left-color: #00a8d8;
    color: #64748b;
}
body.light-theme .vct-page-breadcrumb a,
body.vct-contrast.light-theme .vct-page-breadcrumb a {
    color: #0077a3;
}
body.light-theme .vct-page-breadcrumb span,
body.vct-contrast.light-theme .vct-page-breadcrumb span {
    color: #1f2937;
}
body.light-theme .vct-page-breadcrumb-title,
body.vct-contrast.light-theme .vct-page-breadcrumb-title {
    color: #0f172a;
}
/* HEADER CENTRAT */
.app-header {
    position: absolute; top: 0; left: 0; right: 0; height: 60px;
    background: var(--accent-red); display: flex; align-items: center;
    justify-content: space-between; gap: 10px; z-index: 1100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.app-header h1 { margin: 0; font-size: clamp(0.95rem, 1.7vw, 1.28rem); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.vct-map-header-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.vct-map-header-logo img {
    display: block;
    max-height: 44px;
    width: auto;
}

#map { position: relative; top: 60px; bottom: 0; width: 100%; z-index: 1; height: calc(100vh - 60px); }
.vct-osm-dark-tiles {
    filter: invert(1) hue-rotate(180deg) brightness(0.58) contrast(1.12) saturate(0.45);
}

/* PANOU STANGA: SESIZARI ZONALE */
#left-panel {
    position: absolute; top: 80px; left: 20px; z-index: 1000;
    width: 340px; max-height: calc(100vh - 120px);
    background: var(--panel-bg); border-radius: 12px;
    border: 1px solid var(--border-color); border-left: 5px solid var(--accent-red);
    backdrop-filter: blur(10px); display: flex; flex-direction: column; overflow: hidden;
}

/* PANOU DREAPTA: SESIZARI REGIONALE */
#right-panel {
    position: absolute; top: 80px; right: 20px; z-index: 1000;
    width: 340px; max-height: calc(100vh - 120px);
    background: var(--panel-bg); border-radius: 12px;
    border: 1px solid var(--border-color); border-right: 5px solid var(--accent-red);
    backdrop-filter: blur(10px); display: flex; flex-direction: column; overflow: hidden;
}

.panel-header { padding: 15px; border-bottom: 1px solid var(--border-color); font-weight: bold; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.scroll-area { overflow-y: auto; flex-grow: 1; padding: 5px; }

/* STIL SESIZARE LISTA */
.unlocated-item {
    padding: 9px 11px; border-bottom: 1px solid #222; cursor: pointer; transition: 0.2s;
}
.unlocated-item:hover { background: rgba(211, 47, 47, 0.1); }
.unlocated-item strong { color: #ff5252; font-size: 0.82rem; line-height: 1.15; }
.unlocated-item .id-tag { float: right; font-size: 0.64rem; color: #666; }
.unlocated-item p { margin: 4px 0; font-size: 0.72rem; color: #ccc; line-height: 1.25; }
.unlocated-item .slwui-btn-link {
    font-size: 0.64rem;
    line-height: 1.1;
}
.termen-monitorizare {
    margin-top: 4px;
    line-height: 1.15;
}

/* ISTORIC IN LISTA */
.list-history {
    margin-top: 8px; padding: 8px; background: rgba(0,0,0,0.3);
    border-radius: 6px; font-size: 0.75rem; border-left: 2px solid #ff9800;
}

/* CHANGELOG STYLE */
.version-item { padding: 10px; border-bottom: 1px solid #222; font-size: 0.8rem; }
.version-tag { color: #00d4ff; font-weight: bold; }
.vct-dev-log-item {
    padding-left: 8px;
    margin-bottom: 12px;
}
.vct-dev-log-item .version-tag {
    font-size: 0.75rem;
}
.vct-dev-current,
.vct-dev-date {
    font-weight: 300;
    font-size: 0.65rem;
    opacity: 0.72;
    margin-left: 4px;
}
.vct-dev-log-text {
    font-size: 0.7rem;
    color: #bbb;
    line-height: 1.28;
    margin-top: 3px;
}
.vct-visible-status-summary {
    margin: 10px 0;
    padding: 9px;
    background: rgba(0, 212, 255, 0.045);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 6px;
}
.vct-visible-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.62rem;
    color: #8ee8ff;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.vct-visible-status-head strong {
    min-width: 28px;
    padding: 2px 7px;
    border: 1px solid rgba(0, 212, 255, 0.55);
    border-radius: 999px;
    color: #00d4ff;
    text-align: center;
}
.vct-visible-status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}
.vct-visible-status-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 4px 6px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.vct-visible-status-pill:hover {
    background: rgba(255,255,255,0.075);
    transform: translateY(-1px);
}
.vct-visible-status-pill b {
    min-width: 28px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
}
.vct-visible-status-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #dbeafe;
    font-size: 0.66rem;
    font-weight: 800;
}
.vct-dev-flux {
    margin: 10px 0;
    padding: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    border: 1px solid #333;
}
.vct-dev-flux-title {
    font-size: 0.6rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.vct-dev-flux-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    font-size: 0.65rem;
}
.vct-dev-flux-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}
.vct-dev-flux-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid currentColor;
    flex: 0 0 auto;
}
.vct-dev-flux-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vct-dev-flux-count {
    margin-left: auto;
    min-width: 22px;
    padding: 1px 6px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1.45;
    text-align: center;
}
.vct-dev-log-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 212, 255, 0.55);
    border-radius: 6px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.vct-dev-log-more:hover {
    color: #fff;
    background: rgba(0, 212, 255, 0.12);
}
.vct-dev-page {
    padding-top: 18px;
    padding-bottom: 60px;
}
.vct-dev-page .vct-dev-log-item {
    background: rgba(10, 16, 24, 0.78);
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 8px;
    padding: 16px 18px;
}
.vct-dev-page .vct-dev-log-text {
    font-size: 0.88rem;
    line-height: 1.55;
}
.vct-dev-page .vct-visible-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.vct-dev-page-head {
    border-left: 4px solid #00d4ff;
    padding-left: 16px;
    margin-bottom: 1.5rem;
}
.vct-dev-page-head h1 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
}
.vct-dev-page-head p {
    margin: 0;
    color: #a8b3c7;
}
@media (max-width: 767px) {
    .vct-dev-page {
        padding-top: 12px;
    }
    .vct-dev-flux-grid {
        grid-template-columns: 1fr;
    }
}

/* POPUP MAP SCROLL */
.leaflet-popup-content { width: 330px !important; margin: 0; }
.popup-container {
    padding: 15px;
    color: #333;
    display: flex;
    flex-direction: column;
    max-height: 255px;
}
.popup-scroll { max-height: 145px; overflow-y: auto; padding-right: 5px; }
.popup-description {
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 10px 0;
    color: #222;
    white-space: normal;
}
.vct-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}
.vct-tag-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-size: 0.56rem;
    font-weight: 800;
    line-height: 1.15;
    padding: 2px 6px;
    overflow-wrap: anywhere;
}
.popup-details-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    width: 100%;
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.popup-details-link.text-dark {
    color: #111 !important;
}
.status-badge,
.popup-details-link.status-action {
    border: 1px solid transparent !important;
    box-shadow: none;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 0.56rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
    line-height: 1;
    text-transform: uppercase;
}
/* Culori sincronizate 1:1 cu tabela vct_statusuri (culoare_bg / culoare_border / culoare_text) */
.status-primit {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}
.status-in-analiza {
    background: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
    color: #052c65 !important;
}
.status-trimis-autoritati {
    background: #0d6efd !important;
    border-color: #0a58ca !important;
    color: #ffffff !important;
}
.status-sesizat-autoritate {
    background: #facc15 !important;
    border-color: #eab308 !important;
    color: #1f2937 !important;
}
.status-monitorizare {
    background: #6366f1 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}
.status-partial-rezolvat {
    background: #f97316 !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}
.status-followup-institutie {
    background: #ffe08a !important;
    border-color: #f59e0b !important;
    color: #1f2937 !important;
}
.status-petitie-redirectionata {
    background: #8ef2d3 !important;
    border-color: #10b981 !important;
    color: #083344 !important;
}
.status-raspuns-primit {
    background: #14b8a6 !important;
    border-color: #0d9488 !important;
    color: #04342c !important;
}
.status-rezolvat {
    background: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
}
.status-nerezolvat {
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}
.status-fara-raspuns {
    background: #f59e0b !important;
    border-color: #fbbf24 !important;
    color: #111827 !important;
}
.status-nota {
    background: #334155 !important;
    border-color: #64748b !important;
    color: #cbd5e1 !important;
}
.status-implicit {
    background: #6c757d !important;
    border-color: rgba(108, 117, 125, 0.45) !important;
    color: #fff !important;
}
.popup-details-link.slwui-btn-danger { background: #dc3545; }
.popup-details-link.slwui-btn-warning { background: #ffc107; }
.popup-details-link.slwui-btn-primary { background: #6f42c1; }
.popup-details-link.slwui-btn-info { background: #0dcaf0; color: #062b33 !important; }
.popup-details-link.slwui-btn-success { background: #198754; }
.popup-details-link.slwui-btn-dark { background: #343a40; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }

@media (max-width: 768px) {
    #left-panel, #right-panel { display: none; } /* Ascundem panourile pe mobil pentru spatiu */
}

/* Containerul Galeriei din Popup */
.popup-galerie {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Stilul pentru link-ul Lightbox */
.popup-galerie a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.popup-galerie a:hover {
    transform: scale(1.03); /* Efect discret la trecerea mouse-ului */
    border-color: var(--accent-red);
}

/* Stilul pentru imaginea mica (Thumbnail) */
.popup-galerie img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

@media (max-width: 480px) {
    .leaflet-popup-content { width: 300px !important; }
    .popup-galerie {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



/* Stil Buton Theme */
.btn-theme {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
}
.btn-theme:hover { background: white; color: var(--accent-red); }

.vct-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    padding: 30px 0;
}

/* Elimina orice spatiu/banda deasupra header-ului (margin pe body/html sau header) */
html, body { margin: 0 !important; padding-top: 0 !important; }

/* Header bar: identic pe toate paginile SI in ambele teme (negru cu logo alb).
   Definit aici (nu pe teme) ca sa nu difere intre light si dark. */
.dosar-top-bar {
    background: linear-gradient(90deg, #2a0a0a 0%, #0c0c0c 45%) !important;
    border-bottom: 2px solid var(--accent-red);
    margin-top: 0 !important;
    /* NU fortam margin-bottom: pagina detalii refoloseste .dosar-top-bar cu margin-bottom: 40px */
}
/* Logo identic ca dimensiune pe toate paginile (inclusiv Lista sesizari) */
.dosar-top-bar .vct-top-logo img { max-height: 80px !important; width: auto !important; }

.vct-top-logo {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

.vct-top-logo img {
    max-height: 80px;
    width: auto;
}

.vct-top-logo-motto {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.vct-top-logo:hover,
.vct-top-logo:focus {
    color: #fff;
    text-decoration: none;
}

.vct-top-quicklinks {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.vct-top-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 212, 255, 0.48);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.1);
    color: #f5fbff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.2s ease;
}

.vct-top-quicklinks a:hover,
.vct-top-quicklinks a.is-active {
    border-color: #00d4ff;
    background: #00d4ff;
    color: #03101d;
}

.vct-top-quicklinks i {
    color: #00d4ff;
    font-size: 0.95rem;
    line-height: 1;
}

.vct-top-quicklinks a:hover i,
.vct-top-quicklinks a.is-active i {
    color: inherit;
}

.vct-main-menu,
.vct-header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.vct-main-menu {
    margin-left: auto;
}

.vct-main-menu-link,
.vct-header-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 6px 10px;
    color: #e5f7ff;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.vct-main-menu-link:hover,
.vct-header-menu-link:hover {
    color: #fff;
    border-color: #00d4ff;
    background: rgba(0,212,255,0.14);
}

.vct-main-menu-primary,
.vct-header-menu-primary {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #111;
}

.vct-main-menu-primary:hover,
.vct-header-menu-primary:hover {
    background: #ffe066;
    border-color: #ffe066;
    color: #111;
}

.vct-header-menu {
    flex: 0 1 auto;
}

.vct-mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 1.2rem;
}

.vct-campaign-card {
    display: block;
    height: 100%;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.24);
    transition: 0.2s ease;
}

.vct-campaign-card:hover {
    transform: translateY(-3px);
    border-color: #0dcaf0;
    color: #fff;
}

.vct-campaign-card img {
    display: block;
    width: 100%; 
}

.vct-campaign-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px 4px;
    background: rgba(0,0,0,0.76);
    color: #ffcc00;
    font-weight: 800;
    text-align: center;
}

.vct-campaign-card small {
    display: block;
    min-height: 58px;
    padding: 0 14px 14px;
    background: rgba(0,0,0,0.76);
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
}

/* REGULI LIGHT MODE -> mutate in assets/theme-light.css */

/* Container Cautare Centrat */
.search-container {
    position: absolute; top: 75px; left: 50%; transform: translateX(-50%);
    z-index: 1050; width: 400px;
}
.search-box {
    background: var(--panel-bg); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); border-radius: 25px;
    padding: 8px 15px; display: flex; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.search-box i { color: var(--accent-red); margin-right: 10px; }
.search-box input {
    background: transparent; border: none; color: white; width: 100%;
    outline: none; font-size: 0.85rem;
}

/* Rezultate Cautare */
.search-results {
    position: absolute; top: 45px; left: 0; right: 0;
    background: var(--panel-bg); border-radius: 12px;
    max-height: 250px; overflow-y: auto; display: none;
    border: 1px solid var(--border-color);
}
.search-item {
    padding: 10px 15px; font-size: 0.8rem; cursor: pointer; border-bottom: 1px solid #333;
}
.search-item:hover { background: rgba(211, 47, 47, 0.2); }

/* Adaptare Light Mode -> mutata in assets/theme-light.css */

/* Badge-uri pentru temei legal */
.badge-og27 { background-color: #0dcaf0; color: #000; padding: 2px 6px; border-radius: 4px; font-weight: bold; }
.badge-l544 { background-color: #ffc107; color: #000; padding: 2px 6px; border-radius: 4px; font-weight: bold; }
.auth-label { color: #d32f2f; font-weight: bold; font-size: 0.75rem; display: block; margin-top: 5px; }


@media (max-width: 768px) { .search-container { width: 90%; top: 70px; } }
/* Ajustari pentru ecrane mici (Mobil) */
@media (max-width: 768px) {
    .side-panel {
        position: fixed;
        top: 60px;
        left: -100%; /* Ascunse in afara ecranului lateral */
        width: 85%;
        height: calc(100vh - 80px);
        transition: left 0.3s ease;
        z-index: 2000;
    }

    /* Cand panoul primeste clasa .active, gliseaza pe ecran */
    .side-panel.active {
        left: 0;
    }

    #right-panel {
        right: -100%;
        left: auto;
    }

    #right-panel.active {
        right: 0;
    }

    /* Butoane plutitoare pentru a deschide panourile pe mobil */
    .mobile-toggle,
    .mobile-special-btn {
        display: flex !important;
        position: fixed; 
        z-index: 1500;
        border: 2px solid rgba(255,255,255,0.92);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0,0,0,0.34);
    }

    .mobile-toggle i,
    .mobile-special-btn i {
        color: inherit;
        font-size: 1.35rem;
        line-height: 1;
    }
    
    #btn-open-left {
        left: 12px;
        right: auto;
        bottom: 178px;
        top: unset;
        background: #ffffff;
        color: #0f172a;
    }

    #btn-regional-mobile {
        left: auto;
        right: 12px;
        bottom: 178px;
        top: unset;
        background: var(--accent-red);
        color: #ffffff;
    }

    #btn-regional-mobile .badge-dot {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: #ffcc00;
        border: 1px solid rgba(255,255,255,0.9);
    }

    #btn-open-right { left: 8px; bottom: 10px; background: #00d4ff; }
}

/* Ascundem butoanele de mobil pe Desktop */
.mobile-toggle,
.mobile-special-btn { display: none; }

@media (max-width: 768px) {
    /* Setarea de baza: ascundem panourile */
    #left-panel, #right-panel {
        display: none; /* Scoate !important de aici daca exista */
        position: fixed;
        top: 60px;
        width: 85%;
        height: calc(100vh - 70px);
        z-index: 2000;
    }

    #left-panel.active {
        display: flex !important; /* Fortam afisarea cand este activ */
        left: 0;
    }
    
    #right-panel.active {
        display: flex !important;
        right: 0;
        left: auto;
    }
    .app-header h1 {font-size: 0.7rem}
}

/* Overlay-ul negru transparent */
#panel-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1900; /* Sub panouri, dar peste harta */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#panel-overlay.active {
    display: block;
    opacity: 1;
}

/* Butonul de inchidere din interiorul panoului */
.btn-close-panel {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: none; /* Apare doar pe mobil */
}

@media (max-width: 768px) {
    .btn-close-panel { display: block; }
    
    /* Efect de blur pe harta din spate cand panoul e activ */
    body.panel-open #map {
        filter: blur(2px);
    }
}

/* Fix text buton popup */
.slwui-btn-success {
    background-color: #28a745 !important;
    color: #ffffff !important; /* Alb curat */
    border: none !important;
}

.slwui-btn-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important; /* Alb curat */
    border: none !important;
}

/* Stil Cluster Verde */
.cluster-rezolvat-style {
    background-color: rgba(40, 167, 69, 0.9);
    border: 2px solid #ffffff;
    color: white !important;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.regional-panel-header {
    background: rgba(211, 47, 47, 0.95);
    color: #ffffff;
    justify-content: space-between;
}

#regional-list::-webkit-scrollbar {
    width: 6px;
}

#regional-list::-webkit-scrollbar-thumb {
    background: rgba(255, 82, 82, 0.55);
    border-radius: 999px;
}

#regional-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

/* Evidentiere Rezolvate (Verde) */
.status-rezolvat-list {
    border-left: 5px solid #28a745 !important;
    background: rgba(40, 167, 69, 0.05) !important;
}

/* Evidentiere Municipiu in lucru (Rosu) */
.regional-highlight:not(.status-rezolvat-list) {
    border-left: 5px solid #d32f2f !important;
}

.fixed-actions {
    position: fixed;
    bottom: 20px;
    left: 0px;
    display: flex !important; /* Fortam flexbox */
    flex-direction: row;      /* Aliniere orizontala */
    align-items: center;
    gap: 10px;
   z-index: 9999 !important;           /* Ridicam z-index peste orice altceva */
}

.btn-circular {
    display: inline-flex !important; /* Asiguram ca butonul e vizibil */
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    text-decoration: none;
    height: 50px;
    padding: 0 10px;
}

/* Butonul Despre (Rotund) */
.btn-info-custom {
    width: 50px;
    background: #333;
    color: #00d4ff;
}
.btn-info-custom2 { 
    background: #333;
    color: #00d4ff;
}

/* Butonul Sesizeaza */
.btn-report-custom {
    background: #ffcc00;
    color: #000;
    padding: 0 15px;
    font-weight: bold; 
}
.btn-report-danger {
    background: red;
    color: #fff;
    padding: 0 15px;
    font-weight: bold;
}

/* Butonul Lista sesizari pe cartiere */
.btn-list-custom {
    background: #00d4ff;
    color: #002630;
    padding: 0 15px;
    font-weight: bold;
}

/* ICONITELE - Ne asiguram ca sunt mereu vizibile */
.btn-circular i {
    display: inline-block !important;
    font-size: 1.4rem !important;
    line-height: 1;
}

/* MOBIL: Ascundem doar textul, NU si iconita */
@media (max-width: 768px) {
    .vct-top-nav {
        justify-content: center;
        text-align: center;
    }

    .vct-main-menu {
        justify-content: center;
        width: 100%;
    }

    .vct-main-menu-link {
        font-size: 0.7rem;
        padding: 7px 9px;
    }

    .vct-top-quicklinks {
        justify-content: center;
        width: 100%;
    }

    .vct-top-quicklinks a {
        flex: 1 1 130px;
        justify-content: center;
        max-width: 180px;
        min-height: 32px;
        padding: 7px 10px;
        font-size: 0.72rem;
    }

    .vct-top-logo img {
        max-height: 62px;
    }

    .dosar-top-bar .vct-top-logo img {
        max-height: 62px !important;
    }

    .vct-top-logo-motto {
        font-size: 0.62rem;
    }

    .app-header {
        height: 70px;
        align-items: center;
        padding: 6px 8px !important;
    }

    .vct-map-header-logo img {
        max-height: 60px; max-width: 260px;
    }

    .vct-mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .vct-header-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 8px;
        width: 215px;
        z-index: 2200;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        padding: 10px;
        border: 1px solid rgba(255,255,255,0.16);
        border-radius: 14px;
        background: rgba(8,8,8,0.94);
        box-shadow: 0 14px 30px rgba(0,0,0,0.5);
    }

    .vct-header-menu.is-open {
        display: flex;
    }

    .vct-header-menu-link {
        justify-content: flex-start;
        width: 100%;
        font-size: 0.78rem;
        padding: 9px 11px;
    }

    .fixed-actions {
        position: fixed;
        bottom: unset;
        left: 8px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        z-index: 9999 !important;
        bottom: 18px;
        width: 48px;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 24px;
        padding: 5px 4px;
    }

    .btn-circular {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .btn-text {
        display: none !important;
    }

    .btn-report-custom,
    .btn-list-custom {
        width: 38px;   /* Devine rotund ca si celalalt */
        padding: 0;    /* Eliminam padding-ul lateral */
    }

    .btn-report-custom i,
    .btn-list-custom i {
        margin: 0 !important; /* Centram iconita in cerc */
    }
}@media (max-width: 768px) {
    .btn-text { display: none !important; }
    .btn-report-custom,
    .btn-list-custom { width: 38px; padding: 0; }
}

/* Meniu header: hamburger si sub 1100px (intre 769 si 1100, header-ul are 60px) */
@media (min-width: 769px) and (max-width: 1100px) {
    .vct-mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }
    .vct-header-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 8px;
        width: 230px;
        z-index: 2200;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        padding: 10px;
        border: 1px solid rgba(255,255,255,0.16);
        border-radius: 14px;
        background: rgba(8,8,8,0.94);
        box-shadow: 0 14px 30px rgba(0,0,0,0.5);
    }
    .vct-header-menu.is-open {
        display: flex;
    }
    .vct-header-menu-link {
        justify-content: flex-start;
        width: 100%;
        font-size: 0.78rem;
        padding: 9px 11px;
    }
}

/* Articole civice */
.vct-articles-hero,
.vct-article-detail {
    border-left: 5px solid var(--accent-red);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.vct-articles-hero {
    margin-bottom: 26px;
    background:
        linear-gradient(135deg, rgba(211, 47, 47, 0.22), rgba(0, 212, 255, 0.08)),
        rgba(18, 18, 18, 0.92);
    position: relative;
    overflow: hidden;
}

.vct-articles-hero h1,
.vct-article-detail h1 {
    color: #fff;
    font-weight: 900;
    line-height: 1.08;
    margin: 8px 0 14px;
}

.vct-articles-hero p,
.vct-article-lead {
    color: rgba(255, 255, 255, 0.78);
    max-width: 880px;
    line-height: 1.65;
}

.vct-article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: #00d4ff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.vct-articles-hero-badges,
.vct-article-detail-topline,
.vct-article-card-badges,
.vct-article-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vct-articles-hero-badges {
    margin-top: 18px;
}

.vct-articles-hero-badges span,
.vct-article-badge,
.vct-article-mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 6px 9px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #dff8ff;
    background: rgba(0, 212, 255, 0.08);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.1;
}

.vct-article-badge-red {
    border-color: rgba(211, 47, 47, 0.55);
    color: #fff;
    background: rgba(211, 47, 47, 0.2);
}

.vct-article-detail-topline {
    margin-bottom: 14px;
}

.vct-article-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.vct-article-meta-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

.vct-article-meta-strip i {
    color: #00d4ff;
}

.vct-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.vct-articles-section {
    margin-bottom: 34px;
}

.vct-articles-guides {
    margin-top: 8px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.vct-article-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
    padding: 0 2px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vct-article-section-heading-spaced {
    margin-top: 34px;
}

.vct-article-section-heading span {
    display: inline-flex;
    color: #00d4ff;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.vct-article-section-heading h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.vct-article-section-heading strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 8px;
    color: #111;
    background: #ffcc00;
    font-size: 0.78rem;
    white-space: nowrap;
}

.vct-article-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 4px solid var(--accent-red);
    border-radius: 8px;
    background: rgba(21, 21, 21, 0.92);
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.vct-article-card:hover {
    color: #fff;
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.7);
    background: rgba(30, 30, 30, 0.96);
}

.vct-article-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background-position: center;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vct-article-card-media-empty {
    background:
        linear-gradient(135deg, rgba(211, 47, 47, 0.25), rgba(0, 212, 255, 0.12)),
        rgba(10, 10, 10, 0.8);
}

.vct-article-card-media-empty i {
    color: #00d4ff;
    font-size: 2rem;
}

.vct-article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.vct-article-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 850;
}

.vct-article-card h2 a {
    color: inherit;
    text-decoration: none;
}

.vct-article-card h2 a:hover {
    color: #00d4ff;
}

.vct-article-card p {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
    line-height: 1.55;
}

.vct-article-card-tags {
    gap: 6px;
}

.vct-article-card-tags span {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
}

.vct-article-card-read {
    color: #00d4ff;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.vct-article-card-read:hover {
    color: #ffcc00;
}

.vct-article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
}

.vct-article-back:hover {
    color: #ffcc00;
}

.vct-article-detail h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 850;
    margin-bottom: 14px;
}

.vct-article-detail h2 i {
    color: #00d4ff;
}

.vct-article-section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vct-article-cover {
    /* Afiseaza coverul articolului integral; imaginile informative pot contine text important. */
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 22px 0 18px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.vct-article-body {
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.72;
}

/* HTML-ul importat ocupa latimea articolului, fara un al doilea container ingust. */
.vct-article-body .vct-article {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}
.vct-article-body p {
    margin-bottom: 16px;
}

.vct-article-body a {
    color: #00d4ff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    word-break: break-word;
}

.vct-article-body a:hover,
.vct-article-body a:focus {
    color: #ffcc00;
}

.vct-article-body h2,
.vct-article-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.vct-article-section ul,
.vct-article-sources ul {
    margin: 0;
    padding-left: 1.25rem;
}

.vct-article-section li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.vct-article-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vct-article-chip-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border: 1px solid rgba(0, 212, 255, 0.32);
    border-radius: 8px;
    color: #fff;
    background: rgba(0, 212, 255, 0.08);
    font-size: 0.9rem;
}

.vct-article-warning {
    border-left: 3px solid #ffcc00;
    padding-left: 18px;
}

.vct-article-warning h2 i {
    color: #ffcc00;
}

.vct-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.vct-article-platform-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 22px;
    align-items: stretch;
    margin-top: 42px;
    padding: 26px;
    border: 1px solid rgba(0, 212, 255, 0.42);
    border-top: 5px solid #00d4ff;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(8, 23, 35, 0.98), rgba(19, 28, 39, 0.96));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.vct-article-platform-copy {
    min-width: 0;
}

.vct-article-platform-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 212, 255, 0.46);
    border-radius: 999px;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vct-article-platform-copy h2 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.18;
}

.vct-article-platform-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

.vct-article-platform-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.vct-article-platform-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid rgba(0, 212, 255, 0.34);
    border-radius: 8px;
    color: #fff;
    background: rgba(0, 212, 255, 0.09);
    text-decoration: none;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.vct-article-platform-links a:hover {
    color: #111;
    border-color: #ffcc00;
    background: #ffcc00;
}

.vct-article-platform-links i {
    color: #ffcc00;
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.vct-article-platform-links a:hover i {
    color: #111;
}

a.vct-article-badge {
    text-decoration: none;
}

.vct-article-platform-media {
    display: block;
    min-height: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.32);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.vct-article-platform-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.vct-article-primary,
.vct-article-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 850;
    font: inherit;
    cursor: pointer;
}

.vct-article-primary {
    color: #111;
    background: #ffcc00;
}

.vct-article-primary:hover {
    color: #111;
    background: #ffd633;
}

.vct-article-secondary {
    color: #fff;
    border: 1px solid rgba(0, 212, 255, 0.52);
    background: rgba(0, 212, 255, 0.08);
}

.vct-article-secondary:hover {
    color: #fff;
    border-color: #00d4ff;
}

.vct-article-sources {
    margin-top: 30px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.vct-article-sources h2 {
    font-size: 0.95rem;
    color: #ffcc00;
}

.vct-article-sources p,
.vct-article-sources li {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.vct-article-sources a {
    color: #00d4ff;
}

@media (max-width: 768px) {
    .vct-article-detail h1,
    .vct-articles-hero h1 {
        font-size: 1.8rem;
    }

    .vct-article-platform-cta {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .vct-article-platform-links {
        grid-template-columns: 1fr;
    }

    .vct-article-platform-media img {
        min-height: 180px;
    }

    .vct-article-card {
        min-height: auto;
    }

    .vct-articles-section {
        margin-bottom: 26px;
    }

    .vct-articles-guides {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 1199px) {
    .vct-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .vct-articles-grid {
        grid-template-columns: 1fr;
    }

    .vct-article-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .vct-article-card-media {
        min-height: 128px;
    }
}

/* ===========================================================================
   Meniu unificat (hamburger + panou accordion stanga) — _includes/menu.php
   Acelasi aspect la orice rezolutie, pe tot site-ul.
   =========================================================================== */
.vct-menu-burger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease;
}
.vct-menu-burger:hover { border-color: #00d4ff; background: rgba(0,212,255,0.16); }
.vct-menu-burger .bi { font-size: 1.15rem; }

/* Overlay intunecat in spatele panoului */
.vct-menu-overlay {
    position: fixed;
    inset: 0;
    background: transparent;       /* fara dimming: se vede pagina in spate (ca pe homepage) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 4000;
}
.vct-menu-overlay.is-open { opacity: 1; visibility: visible; }

/* Caseta de meniu: flotanta, inalta cat continutul (nu pana jos) */
.vct-menu-panel {
    position: fixed;
    top: 70px;
    left: 10px;
    height: auto;
    max-height: calc(100vh - 90px);
    width: 280px;
    max-width: 86vw;
    background: var(--accent-red);
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.55);
    transform: translateX(-130%);
    opacity: 0;
    transition: transform 0.26s ease, opacity 0.26s ease;
    z-index: 4001;
    display: flex;
    flex-direction: column;
    padding: 12px;
    overflow-y: auto;
}
.vct-menu-panel.is-open { transform: translateX(0); opacity: 1; }

.vct-menu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vct-menu-panel-title { color: #fff; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.5px; }
.vct-menu-panel-title .bi { color: #00d4ff; margin-right: 4px; }
.vct-menu-panel-close {
    background: transparent; border: none; color: #9ca3af; font-size: 1.2rem;
    cursor: pointer; line-height: 1; padding: 4px; border-radius: 6px; transition: 0.15s;
}
.vct-menu-panel-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.vct-menu-panel-links { display: flex; flex-direction: column; gap: 9px; }
/* Pastilele din panou: intunecate pe fundalul rosu (ca pe homepage) */
.vct-menu-panel-links .vct-header-menu-link {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(0,0,0,0.38);
    border: 1px solid rgba(0,0,0,0.28);
    color: #fff;
}
.vct-menu-panel-links .vct-header-menu-link:hover {
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.vct-menu-panel-links .vct-header-menu-link .bi { font-size: 1.05rem; }
/* "Sesizeaza problema" ramane galben si pe fundal rosu */
.vct-menu-panel-links .vct-header-menu-primary,
.vct-menu-panel-links .vct-header-menu-primary:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #111;
}

.vct-menu-panel-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.vct-menu-panel-foot a { color: #9ca3af; text-decoration: none; font-size: 0.78rem; font-weight: 700; }
.vct-menu-panel-foot a:hover { color: #00d4ff; }

/* Meniul e o caseta flotanta (dropdown), nu blocam scroll-ul paginii. */

/* Pe ecrane mici ascundem eticheta, ramane doar iconita */
@media (max-width: 520px) {
    .vct-menu-burger-label { display: none; }
    .vct-menu-burger { padding: 8px 12px; }
}

/* ===========================================================================
   Widget de accesibilitate (_includes/accessibility.php) — pe tot site-ul
   =========================================================================== */
.vct-a11y-btn {
    position: fixed; right: 18px; bottom: 18px;
    width: 52px; height: 52px; border-radius: 50%;
    border: none; background: var(--accent-red); color: #fff;
    font-size: 1.5rem; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); z-index: 4500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vct-a11y-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.5); }

.vct-a11y-overlay {
    position: fixed; inset: 0; background: transparent;
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease; z-index: 4499;
}
.vct-a11y-overlay.is-open { opacity: 1; visibility: visible; }

.vct-a11y-panel {
    position: fixed; right: 18px; bottom: 80px;
    width: 300px; max-width: calc(100vw - 36px); max-height: calc(100vh - 110px);
    overflow-y: auto; background: #0b0f14; color: #e6eef3;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.55); padding: 14px;
    transform: translateY(12px); opacity: 0; visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease; z-index: 4500;
}
.vct-a11y-panel.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

.vct-a11y-head {
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 800; font-size: 0.95rem; padding-bottom: 10px; margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vct-a11y-head .bi { color: var(--accent-red); margin-right: 4px; }
.vct-a11y-close { background: transparent; border: none; color: inherit; opacity: 0.7; cursor: pointer; font-size: 1.05rem; padding: 4px; border-radius: 6px; }
.vct-a11y-close:hover { opacity: 1; background: rgba(255,255,255,0.08); }

.vct-a11y-group { margin-bottom: 14px; }
.vct-a11y-group > label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.7; margin-bottom: 7px; }

.vct-a11y-seg { display: flex; gap: 8px; }
.vct-a11y-seg-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); color: inherit;
    border-radius: 10px; padding: 9px 8px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: 0.15s;
}
.vct-a11y-seg-btn:hover { border-color: var(--accent-red); }
.vct-a11y-seg-btn.is-active { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }

.vct-a11y-font { display: flex; align-items: center; gap: 10px; }
.vct-a11y-font button {
    width: 44px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05); color: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.vct-a11y-font button:hover { border-color: var(--accent-red); }
.vct-a11y-font #vct-a11y-font-val { flex: 1; text-align: center; font-weight: 700; font-size: 0.9rem; }

.vct-a11y-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); color: inherit;
    border-radius: 10px; padding: 10px 12px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
    margin-bottom: 8px; transition: 0.15s; text-align: left;
}
.vct-a11y-toggle .bi { margin-right: 6px; }
.vct-a11y-toggle:hover { border-color: rgba(255,255,255,0.4); }
.vct-a11y-toggle .vct-a11y-state { font-size: 0.68rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.vct-a11y-toggle.is-active { border-color: #2ecc71; background: rgba(46,204,113,0.12); }
.vct-a11y-toggle.is-active .vct-a11y-state { background: #2ecc71; color: #06270f; }

.vct-a11y-reset {
    width: 100%; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: inherit;
    border-radius: 10px; padding: 10px; font-weight: 700; font-size: 0.8rem; cursor: pointer; opacity: 0.85;
}
.vct-a11y-reset:hover { opacity: 1; border-color: var(--accent-red); color: #fff; }

/* (panoul a11y in light mode -> assets/theme-light.css) */

/* ---- Clase aplicate de widget ---- */
/* Subliniere linkuri */
body.vct-underline a { text-decoration: underline !important; }

/* Reducere animatii */
body.vct-reduce-motion *,
body.vct-reduce-motion *::before,
body.vct-reduce-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* TEMA LIGHT completa -> assets/theme-light.css */

/* Contrast ridicat: text mai puternic, borduri vizibile */
body.vct-contrast .text-white-50,
body.vct-contrast .text-light-50,
body.vct-contrast .slwui-label-muted,
body.vct-contrast .text-muted,
body.vct-contrast .text-white-50 * { color: #ffffff !important; opacity: 1 !important; }
body.vct-contrast.light-theme .text-white-50,
body.vct-contrast.light-theme .text-light-50,
body.vct-contrast.light-theme .slwui-label-muted,
body.vct-contrast.light-theme .text-muted { color: #111111 !important; opacity: 1 !important; }
body.vct-contrast a { text-decoration: underline; }
body.vct-contrast .vct-header-menu-link,
body.vct-contrast .vct-menu-burger,
body.vct-contrast .btn-theme { border-color: currentColor !important; }
body.vct-contrast .vct-menu-panel-links .vct-header-menu-link { background: #000 !important; }

/* Article links within a monitoring dossier. */
#dossier-articles-section a,
#dossier-articles-section a:visited {
    color: #37d8fa;
    text-decoration: underline;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}
#dossier-articles-section a:hover {
    color: #a3efff;
    text-decoration-thickness: 2px;
}
#dossier-articles-section a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 2px;
}
body.light-theme #dossier-articles-section a,
body.light-theme #dossier-articles-section a:visited { color: #08647d; }
body.light-theme #dossier-articles-section a:hover { color: #06475a; }


