/* Styles specifice primei pagini VCT. */

.search-container {
    width: min(760px, calc(100vw - 420px));
    background: rgb(0,0,0,1);
    padding: 10px;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.vct-map-stage {
    position: relative;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
}

body[data-vct-page-type="index"] {
    overflow-x: hidden;
}

body[data-vct-page-type="home"] {
    background: #101010;
}

body[data-vct-page-type="home"] .vct-home-stats {
    padding-top: 0;
}

body[data-vct-page-type="harta"] {
    overflow-x: hidden;
}

body[data-vct-page-type="harta"] .vct-map-stage {
    min-height: calc(100vh - 136px);
}

body[data-vct-page-type="harta"] #map {
    top: 0;
    min-height: 620px;
    height: calc(100vh - 136px);
}

body[data-vct-page-type="harta"] .search-container {
    top: 18px;
}

body[data-vct-page-type="harta"] #left-panel,
body[data-vct-page-type="harta"] #right-panel {
    top: 96px;
    max-height: calc(100vh - 170px);
}

body[data-vct-page-type="harta"] .side-panel-show-btn {
    top: 102px;
}

body[data-vct-page-type="harta"] #left-panel .btn-close-panel,
body[data-vct-page-type="harta"] #right-panel .btn-close-panel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    font-size: 0.8rem;
}

body[data-vct-page-type="harta"] #left-panel .btn-close-panel:hover,
body[data-vct-page-type="harta"] #right-panel .btn-close-panel:hover {
    border-color: rgba(0,212,255,0.5);
    color: #00d4ff;
}

body[data-vct-page-type="index"] .fixed-actions {
    max-width: calc(100vw - 150px);
    flex-wrap: wrap;
    bottom: 24px;
}

body[data-vct-page-type="index"] .fixed-actions .btn-circular {
    min-width: 0;
}

body[data-vct-page-type="index"] #left-panel .btn-close-panel,
body[data-vct-page-type="index"] #right-panel .btn-close-panel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: auto;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    font-size: 0.8rem;
}

body[data-vct-page-type="index"] #left-panel .btn-close-panel:hover,
body[data-vct-page-type="index"] #right-panel .btn-close-panel:hover {
    border-color: rgba(0,212,255,0.5);
    color: #00d4ff;
}

#left-panel,
#right-panel {
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

#left-panel.side-panel-manual-hidden,
#right-panel.side-panel-manual-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#left-panel.side-panel-manual-hidden {
    transform: translateX(-24px);
}

#right-panel.side-panel-manual-hidden {
    transform: translateX(24px);
}

.side-panel-show-btn {
    position: absolute;
    top: 86px;
    z-index: 1040;
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(0, 212, 255, 0.55);
    border-radius: 999px;
    background: rgba(4, 14, 20, 0.9);
    color: #e7faff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.side-panel-show-btn:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.16);
}

.side-panel-show-left {
    left: 18px;
}

.side-panel-show-right {
    right: 18px;
}

body.vct-left-panel-hidden .side-panel-show-left,
body.vct-right-panel-hidden .side-panel-show-right {
    display: inline-flex;
}

body.vct-map-scrolled #left-panel,
body.vct-map-scrolled #right-panel,
body.vct-map-panels-hidden #left-panel,
body.vct-map-panels-hidden #right-panel,
html.vct-map-scrolled #left-panel,
html.vct-map-scrolled #right-panel,
html.vct-map-panels-hidden #left-panel,
html.vct-map-panels-hidden #right-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px);
}

body.vct-map-scrolled .search-container,
body.vct-map-panels-hidden .search-container,
html.vct-map-scrolled .search-container,
html.vct-map-panels-hidden .search-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-14px);
}

body[data-vct-page-type="index"].vct-map-scrolled #left-panel,
body[data-vct-page-type="index"].vct-map-scrolled #right-panel,
body[data-vct-page-type="index"].vct-map-scrolled .search-container,
body[data-vct-page-type="index"].vct-map-panels-hidden #left-panel,
body[data-vct-page-type="index"].vct-map-panels-hidden #right-panel,
body[data-vct-page-type="index"].vct-map-panels-hidden .search-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body[data-vct-page-type="index"].vct-map-scrolled #left-panel,
body[data-vct-page-type="index"].vct-map-scrolled #right-panel,
body[data-vct-page-type="index"].vct-map-panels-hidden #left-panel,
body[data-vct-page-type="index"].vct-map-panels-hidden #right-panel {
    transform: translateY(-14px);
}

body[data-vct-page-type="index"].vct-map-scrolled .search-container,
body[data-vct-page-type="index"].vct-map-panels-hidden .search-container {
    transform: translateX(-50%) translateY(-14px);
}

body.vct-map-scrolled .vct-scroll-below-map,
body.vct-map-panels-hidden .vct-scroll-below-map,
html.vct-map-scrolled .vct-scroll-below-map,
html.vct-map-panels-hidden .vct-scroll-below-map,
body[data-vct-page-type="index"].vct-map-scrolled .vct-scroll-below-map,
body[data-vct-page-type="index"].vct-map-panels-hidden .vct-scroll-below-map {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.vct-map-scrolled .side-panel-show-btn,
body.vct-map-panels-hidden .side-panel-show-btn,
html.vct-map-scrolled .side-panel-show-btn,
html.vct-map-panels-hidden .side-panel-show-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (min-width: 769px) {
    body[data-vct-page-type="index"].vct-map-scrolled #left-panel,
    body[data-vct-page-type="index"].vct-map-scrolled #right-panel,
    body[data-vct-page-type="index"].vct-map-panels-hidden #left-panel,
    body[data-vct-page-type="index"].vct-map-panels-hidden #right-panel,
    body[data-vct-page-type="index"].vct-map-scrolled .search-container,
    body[data-vct-page-type="index"].vct-map-panels-hidden .search-container,
    body[data-vct-page-type="index"].vct-map-scrolled .vct-scroll-below-map,
    body[data-vct-page-type="index"].vct-map-panels-hidden .vct-scroll-below-map {
        display: none !important;
    }
}

@media (min-width: 769px) {
    #left-panel,
    #right-panel {
        max-height: calc(100vh - 170px);
    }
}
#map {
    margin-bottom: 0;
}

.side-panel-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px 12px 10px;
    background: rgba(0, 0, 0, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-panel-filter label {
    margin: 0;
    color: #8ee8ff;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.7px;
    line-height: 1;
    text-transform: uppercase;
}

.side-panel-filter select {
    width: 100%;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid rgba(0, 212, 255, 0.38);
    border-radius: 7px;
    outline: none;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}

.side-panel-filter select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.14);
}

.vct-scroll-below-map {
    position: absolute;
    left: 50%;
    bottom: 88px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(0,0,0,0.12);
    border: 2px solid rgba(255,255,255,0.74);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    backdrop-filter: blur(4px);
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.vct-scroll-below-map:hover {
    color: #ffffff;
    background: rgba(0,0,0,0.28);
    border-color: #ffffff;
    transform: translateX(-50%) translateY(2px);
}
.vct-scroll-below-map i {
    font-size: 1.35rem;
    line-height: 1;
}

.vct-map-intro {
    width: min(1320px, 100%);
    margin: 0 auto 14px;
    padding: 0 0 14px;
    background: rgba(0,0,0,0.72);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.vct-map-kicker {
    color: #00d4ff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.vct-map-intro h1 {
    margin: 3px 0 6px;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
}
.vct-map-intro p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    line-height: 1.4;
}
.vct-map-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.vct-map-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    color: #06151a;
    background: #00d4ff;
}
.vct-map-cta a:first-child {
    color: #111;
    background: #ffcc00;
}

.vct-home-stats {
    position: relative;
    z-index: 2;
    padding: 30px 18px 28px;
    background: #101010;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.vct-home-stats-inner {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.vct-home-stat-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    min-height: 112px;
    padding: 16px;
    color: #fff;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    text-decoration: none;
}
.vct-home-stat-card:hover {
    color: #fff;
    border-color: rgba(0,212,255,0.5);
    background: rgba(255,255,255,0.075);
}
.vct-home-stat-card strong {
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    line-height: 1;
    letter-spacing: 0;
}
.vct-home-stat-card span:last-child {
    grid-column: 2;
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}
.vct-home-stat-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0,212,255,0.12);
    color: #00d4ff;
}
.vct-home-stat-card.is-resolved .vct-home-stat-icon { color: #55d98b; background: rgba(25,135,84,0.18); }
.vct-home-stat-card.is-monitoring .vct-home-stat-icon { color: #a5b4fc; background: rgba(99,102,241,0.18); }
.vct-home-stat-card.is-response .vct-home-stat-icon { color: #5eead4; background: rgba(20,184,166,0.16); }

.vct-home-pulse {
    width: min(1320px, 100%);
    margin: 18px auto 0;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 5px solid #00d4ff;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 204, 0, 0.035)),
        #141414;
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}
.vct-home-pulse-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.2fr) minmax(260px, 0.9fr);
    gap: 14px;
}
.vct-home-pulse-panel {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(0,0,0,0.26);
}
.vct-home-pulse-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
}
.vct-home-pulse-title i {
    color: #00d4ff;
}
.vct-home-pulse-metric {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.vct-home-pulse-metric i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.14);
    color: #00d4ff;
    font-size: 1.55rem;
}
.vct-home-pulse-metric strong {
    display: block;
    color: #fff;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
}
.vct-home-pulse-metric span,
.vct-home-pulse-overview p {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.5;
}
.vct-home-pulse-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.vct-home-pulse-mini a {
    display: block;
    min-height: 96px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    color: #fff;
    text-decoration: none;
}
.vct-home-pulse-mini a:hover {
    border-color: rgba(0,212,255,0.48);
    background: rgba(0,212,255,0.08);
}
.vct-home-pulse-mini strong {
    display: block;
    color: #ffcc00;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
}
.vct-home-pulse-mini span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
}
.vct-home-update-list {
    display: grid;
    gap: 9px;
}
.vct-home-update-item {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 11px 12px 11px 15px;
    border: 1px solid color-mix(in srgb, var(--vct-status-border, #00d4ff) 38%, rgba(255,255,255,0.12));
    border-left: 4px solid var(--vct-status-border, #00d4ff);
    border-radius: 8px;
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 8%, rgba(255,255,255,0.035));
    color: #fff;
    text-decoration: none;
}
.vct-home-update-item:hover {
    color: #fff;
    border-color: color-mix(in srgb, var(--vct-status-border, #00d4ff) 72%, rgba(255,255,255,0.16));
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 15%, rgba(255,255,255,0.045));
}
.vct-home-update-status {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--vct-status-bg, #00d4ff);
    color: var(--vct-status-text, #111);
    border: 1px solid var(--vct-status-border, var(--vct-status-bg, #00d4ff));
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}
.vct-home-update-item strong {
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.25;
}
.vct-home-update-item em {
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.35;
}
.vct-home-update-item small {
    color: #ffcc00;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}
.vct-home-neighborhoods {
    display: grid;
    gap: 8px;
}
.vct-home-neighborhoods a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 8px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    text-decoration: none;
}
.vct-home-neighborhoods a:hover {
    border-color: rgba(255,204,0,0.46);
    background: rgba(255,204,0,0.075);
}
.vct-home-neighborhoods strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 0.86rem;
}
.vct-home-neighborhoods span {
    color: #00d4ff;
    font-size: 0.74rem;
    font-weight: 900;
}
.vct-home-neighborhoods em {
    grid-column: 1 / -1;
    color: rgba(255,255,255,0.62);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
}
.vct-home-pulse-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: 8px;
    color: rgba(255,255,255,0.64);
    font-size: 0.86rem;
}

body.light-theme .vct-home-pulse,
body.vct-contrast.light-theme .vct-home-pulse {
    background:
        linear-gradient(135deg, rgba(0, 168, 216, 0.08), rgba(255, 204, 0, 0.07)),
        #ffffff;
    border-color: #d9dee3;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
body.light-theme .vct-home-pulse-panel,
body.vct-contrast.light-theme .vct-home-pulse-panel,
body.light-theme .vct-home-pulse-mini a,
body.vct-contrast.light-theme .vct-home-pulse-mini a,
body.light-theme .vct-home-neighborhoods a,
body.vct-contrast.light-theme .vct-home-neighborhoods a {
    background: #ffffff;
    border-color: #d9dee3;
}
body.light-theme .vct-home-pulse-title,
body.vct-contrast.light-theme .vct-home-pulse-title,
body.light-theme .vct-home-pulse-metric strong,
body.vct-contrast.light-theme .vct-home-pulse-metric strong,
body.light-theme .vct-home-update-item strong,
body.vct-contrast.light-theme .vct-home-update-item strong,
body.light-theme .vct-home-neighborhoods strong,
body.vct-contrast.light-theme .vct-home-neighborhoods strong {
    color: #111827;
}
body.light-theme .vct-home-pulse-metric span,
body.vct-contrast.light-theme .vct-home-pulse-metric span,
body.light-theme .vct-home-pulse-overview p,
body.vct-contrast.light-theme .vct-home-pulse-overview p,
body.light-theme .vct-home-pulse-mini span,
body.vct-contrast.light-theme .vct-home-pulse-mini span,
body.light-theme .vct-home-update-item em,
body.vct-contrast.light-theme .vct-home-update-item em,
body.light-theme .vct-home-neighborhoods em,
body.vct-contrast.light-theme .vct-home-neighborhoods em {
    color: #4b5563;
}
body.light-theme .vct-home-update-item,
body.vct-contrast.light-theme .vct-home-update-item {
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 8%, #ffffff);
}
.vct-home-programs {
    width: min(1320px, 100%);
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.vct-home-program-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 168px;
    padding: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(255,255,255,0.16), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}
.vct-home-program-card:hover {
    color: #fff;
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.26);
}
.vct-home-program-card.is-lighting {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,220,80,0.26), transparent 34%),
        linear-gradient(135deg, rgba(255,204,0,0.16), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-streets {
    background:
        radial-gradient(circle at 88% 10%, rgba(251,146,60,0.24), transparent 34%),
        linear-gradient(135deg, rgba(249,115,22,0.16), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-mirrors {
    background:
        radial-gradient(circle at 88% 10%, rgba(250,204,21,0.24), transparent 34%),
        linear-gradient(135deg, rgba(250,204,21,0.14), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-education {
    background:
        radial-gradient(circle at 88% 10%, rgba(34,197,94,0.24), transparent 34%),
        linear-gradient(135deg, rgba(34,197,94,0.14), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-green {
    background:
        radial-gradient(circle at 88% 10%, rgba(22,163,74,0.26), transparent 34%),
        linear-gradient(135deg, rgba(34,197,94,0.14), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-rat {
    background:
        radial-gradient(circle at 88% 10%, rgba(56,189,248,0.24), transparent 34%),
        linear-gradient(135deg, rgba(14,165,233,0.14), rgba(0,0,0,0.08));
}
.vct-home-program-card.is-recycling {
    background:
        radial-gradient(circle at 88% 10%, rgba(16,185,129,0.26), transparent 34%),
        linear-gradient(135deg, rgba(34,197,94,0.14), rgba(0,0,0,0.08));
}
.vct-home-tags-section {
    width: min(1320px, 100%);
    margin: 18px auto 0;
}
.vct-home-tags-grid {
    margin-top: 12px;
}
.vct-home-tag-card {
    min-height: 148px;
}
.vct-home-tag-card.is-tag-pits {
    background:
        radial-gradient(circle at 88% 10%, rgba(251,146,60,0.22), transparent 34%),
        linear-gradient(135deg, rgba(249,115,22,0.15), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-green {
    background:
        radial-gradient(circle at 88% 10%, rgba(34,197,94,0.24), transparent 34%),
        linear-gradient(135deg, rgba(22,163,74,0.15), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-parking {
    background:
        radial-gradient(circle at 88% 10%, rgba(56,189,248,0.22), transparent 34%),
        linear-gradient(135deg, rgba(14,165,233,0.14), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-furniture {
    background:
        radial-gradient(circle at 88% 10%, rgba(168,85,247,0.20), transparent 34%),
        linear-gradient(135deg, rgba(126,34,206,0.13), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-water {
    background:
        radial-gradient(circle at 88% 10%, rgba(45,212,191,0.22), transparent 34%),
        linear-gradient(135deg, rgba(13,148,136,0.14), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-sanitation {
    background:
        radial-gradient(circle at 88% 10%, rgba(250,204,21,0.22), transparent 34%),
        linear-gradient(135deg, rgba(202,138,4,0.14), rgba(0,0,0,0.08));
}
.vct-home-tag-card.is-tag-pits .vct-home-program-visual i { color: #fb923c; }
.vct-home-tag-card.is-tag-green .vct-home-program-visual i { color: #22c55e; }
.vct-home-tag-card.is-tag-parking .vct-home-program-visual i { color: #38bdf8; }
.vct-home-tag-card.is-tag-furniture .vct-home-program-visual i { color: #c084fc; }
.vct-home-tag-card.is-tag-water .vct-home-program-visual i { color: #2dd4bf; }
.vct-home-tag-card.is-tag-sanitation .vct-home-program-visual i { color: #facc15; }
.vct-home-program-visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 8px;
    background: rgba(0,0,0,0.22);
    border: 1px solid color-mix(in srgb, var(--vct-status-border, #00d4ff) 46%, rgba(255,255,255,0.16));
}
.vct-home-program-visual i {
    font-size: 2.35rem;
}
.vct-home-program-card.is-lighting .vct-home-program-visual i { color: #ffdd45; }
.vct-home-program-card.is-streets .vct-home-program-visual i { color: #fb923c; }
.vct-home-program-card.is-mirrors .vct-home-program-visual i { color: #facc15; }
.vct-home-program-card.is-education .vct-home-program-visual i { color: #22c55e; }
.vct-home-program-card.is-green .vct-home-program-visual i { color: #22c55e; }
.vct-home-program-card.is-rat .vct-home-program-visual i { color: #38bdf8; }
.vct-home-program-card.is-recycling .vct-home-program-visual i { color: #34d399; }
.vct-home-program-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}
.vct-home-program-count {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}
.vct-home-program-copy strong {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
}
.vct-home-program-copy span:last-child {
    color: rgba(255,255,255,0.72);
    font-size: 0.84rem;
    line-height: 1.4;
}
.vct-home-program-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.vct-home-routes {
    width: min(1320px, 100%);
    margin: 22px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.09);
}
.vct-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}
.vct-home-section-head span {
    color: #00d4ff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.vct-home-section-head h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
}

.vct-home-slider-section {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 28px;
    padding: 24px max(18px, calc((100vw - 1320px) / 2)) 20px;
    background: #0b0b0b;
    border-top: 1px solid rgba(255,255,255,0.09);
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.vct-home-slider-controls {
    display: inline-flex;
    gap: 8px;
    flex: 0 0 auto;
}

.vct-home-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.1);
    color: #e9fbff;
    cursor: pointer;
}

.vct-home-slider-btn:hover {
    background: #00d4ff;
    color: #06151a;
}

.vct-home-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 2px;
    padding: 2px 2px 14px;
}

.vct-home-slide {
    display: grid;
    grid-template-columns: minmax(360px, 1.06fr) minmax(300px, 0.94fr);
    min-height: clamp(300px, 34vw, 420px);
    border: 1px solid rgba(255,255,255,0.14);
    border-left: 5px solid #00d4ff;
    border-radius: 8px;
    background: #151515;
    color: #fff;
    overflow: hidden;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

.vct-home-slide:hover {
    color: #fff;
    border-color: rgba(0, 212, 255, 0.55);
}

.vct-home-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(12px, 2vw, 24px);
    background: #0b1118;
}

.vct-home-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: clamp(276px, 30vw, 372px);
    object-fit: contain;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.vct-home-slide:hover .vct-home-slide-media img {
    transform: scale(1.025);
    opacity: 0.94;
}

.vct-home-slide-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(20px, 3vw, 38px);
}

.vct-home-slide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #00d4ff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.vct-home-slide-copy strong {
    color: #fff;
    font-size: clamp(1.8rem, 2.8vw, 3.15rem);
    font-weight: 900;
    line-height: 1.1;
}

.vct-home-slide-copy span:not(.vct-home-slide-kicker) {
    color: rgba(255,255,255,0.76);
    font-size: 0.96rem;
    line-height: 1.55;
}

.vct-home-slide-copy em {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffcc00;
    color: #111;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.vct-home-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.vct-home-slider-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 212, 255, 0.42);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    color: #dff8ff;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 900;
}

.vct-home-slider-dots button:hover,
.vct-home-slider-dots button.is-active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #06151a;
}

body.light-theme .vct-home-slider-section,
body.vct-contrast.light-theme .vct-home-slider-section {
    background: #f8fafc;
    border-top-color: #d9dee3;
    border-bottom-color: #d9dee3;
}

body.light-theme .vct-home-slide,
body.vct-contrast.light-theme .vct-home-slide {
    background: #ffffff;
    border-color: #d9dee3;
    color: #111827;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

body.light-theme .vct-home-slide-copy strong,
body.vct-contrast.light-theme .vct-home-slide-copy strong {
    color: #111827;
}

body.light-theme .vct-home-slide-copy span:not(.vct-home-slide-kicker),
body.vct-contrast.light-theme .vct-home-slide-copy span:not(.vct-home-slide-kicker) {
    color: #4b5563;
}

.vct-home-issues {
    width: min(1320px, 100%);
    margin: 22px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.09);
}

.vct-home-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 8px;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
}

.vct-home-all-link:hover {
    color: #06151a;
    background: #00d4ff;
}

.vct-home-status-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

/* Totalul din baza este afisat separat de filtrele care includ numai dosare publice. */
.vct-home-section-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
.vct-home-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;color:#a9b8ca;font-size:0.78rem;line-height:1.3;text-align:right;}
.vct-home-counts strong{color:#f8fbff;font-weight:800;}
.vct-home-count-explainer{max-width:650px;color:#8fa2b6;font-size:0.72rem;line-height:1.3;text-align:right;}
.vct-home-count-explainer strong{color:#d7eaf2;}
body.light-theme .vct-home-counts{color:#536273;}
body.light-theme .vct-home-counts strong{color:#111827;}
body.light-theme .vct-home-count-explainer{color:#536273;}
body.light-theme .vct-home-count-explainer strong{color:#111827;}
/* Detalierea numerotarii ramane compacta, dar permite accesul la fiecare dosar restrictionat. */
.vct-home-count-details{max-width:650px;width:100%;color:#a9b8ca;font-size:0.76rem;text-align:right;}
.vct-home-count-details summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:#67d9f5;font-weight:700;list-style:none;}
.vct-home-count-details summary::-webkit-details-marker{display:none;}
.vct-home-count-details[open] summary i{transform:rotate(180deg);}
.vct-home-count-details-body{margin-top:8px;padding:12px 0;text-align:left;line-height:1.5;}
.vct-home-count-details-body p{margin:3px 0 11px;}
/* Caseta separa golurile din numerotare de dosarele existente dar nepublice. */
.vct-home-id-gap-box{margin-bottom:14px;padding:12px 14px;border:1px solid #426679;border-left:3px solid #59c8e5;background:#13232c;color:#c0d7e0;}
.vct-home-id-gap-title{display:flex;align-items:center;gap:7px;color:#8ce5f5;font-size:0.79rem;}
.vct-home-id-gap-numbers{margin:7px 0;color:#fff;font-weight:700;overflow-wrap:anywhere;}
.vct-home-id-gap-box p{margin:0;color:#afc4cf;}
.vct-home-count-id-list{display:flex;flex-wrap:wrap;gap:5px;max-height:130px;overflow:auto;}
.vct-home-count-id-list a{color:#67d9f5;padding:2px 5px;border:1px solid #3b5666;border-radius:3px;text-decoration:none;}
.vct-home-count-id-list a:hover{text-decoration:underline;}
body.light-theme .vct-home-count-details{color:#536273;}
body.light-theme .vct-home-id-gap-box{background:#edf7f9;border-color:#a4c7d0;border-left-color:#167e99;color:#244350;}
body.light-theme .vct-home-id-gap-title{color:#126b82;}
body.light-theme .vct-home-id-gap-numbers{color:#173844;}
body.light-theme .vct-home-id-gap-box p{color:#3e5963;}

.vct-home-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--vct-status-border, #00d4ff) 46%, rgba(255,255,255,0.16));
    border-radius: 999px;
    color: #f8fbff;
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 7%, rgba(255,255,255,0.045));
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 900;
}

.vct-home-status-chip strong {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 24%, transparent);
    color: var(--vct-status-bg, #7ee8ff);
    text-align: center;
    line-height: 1.35;
}

.vct-home-status-chip:hover,
.vct-home-status-chip.is-active {
    border-color: var(--vct-status-border, #00d4ff);
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 18%, transparent);
}

.vct-home-issues-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vct-home-issue-list {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
}

.vct-home-issue-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
}

.vct-home-issue-list-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vct-home-issue-list-head i {
    color: #00d4ff;
}

.vct-home-issue-list-head small {
    color: rgba(255,255,255,0.58);
    font-size: 0.72rem;
    font-weight: 800;
}

.vct-home-issue-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vct-home-issue-card {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(0,0,0,0.28);
    color: #fff;
    text-decoration: none;
}

.vct-home-issue-card:hover {
    color: #fff;
    border-color: color-mix(in srgb, var(--vct-status-border, #00d4ff) 70%, transparent);
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 10%, rgba(0,0,0,0.28));
}

.vct-home-issue-photo {
    display: block;
    height: 122px;
    margin: -4px -4px 0;
    overflow: hidden;
    border-radius: 7px;
    background: rgba(255,255,255,0.06);
}

.vct-home-issue-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.vct-home-issue-card:hover .vct-home-issue-photo img {
    transform: scale(1.035);
}

.vct-home-issue-card.is-hidden {
    display: none;
}

.vct-home-issue-top,
.vct-home-issue-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vct-home-issue-top strong {
    color: #00d4ff;
    font-size: 0.92rem;
}

.vct-home-issue-top em {
    display: inline-flex;
    max-width: 150px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--vct-status-bg, #ffcc00);
    color: var(--vct-status-text, #111);
    border: 1px solid var(--vct-status-border, var(--vct-status-bg, #ffcc00));
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.vct-home-issue-title {
    flex: 1;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1.35;
}

.vct-home-issue-meta {
    color: rgba(255,255,255,0.62);
    font-size: 0.72rem;
    font-weight: 800;
}

.vct-home-empty {
    display: none;
    padding: 18px;
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: 8px;
    color: rgba(255,255,255,0.64);
    font-size: 0.86rem;
    text-align: center;
}

.vct-home-empty.is-visible {
    display: block;
}

body.light-theme .vct-home-issues,
body.vct-contrast.light-theme .vct-home-issues {
    border-top-color: #d9dee3;
}

body.light-theme .vct-home-issue-list,
body.vct-contrast.light-theme .vct-home-issue-list,
body.light-theme .vct-home-issue-card,
body.vct-contrast.light-theme .vct-home-issue-card {
    border-color: #d9dee3;
    background: #ffffff;
    color: #111827;
}

body.light-theme .vct-home-status-chip,
body.vct-contrast.light-theme .vct-home-status-chip {
    border-color: color-mix(in srgb, var(--vct-status-border, #00d4ff) 52%, #d9dee3);
    background: color-mix(in srgb, var(--vct-status-bg, #00d4ff) 9%, #ffffff);
    color: #111827;
}

body.light-theme .vct-home-issue-card,
body.vct-contrast.light-theme .vct-home-issue-card {
    border-color: color-mix(in srgb, var(--vct-status-border, #00d4ff) 34%, #d9dee3);
}

body.light-theme .vct-home-issue-title,
body.vct-contrast.light-theme .vct-home-issue-title,
body.light-theme .vct-home-issue-list-head,
body.vct-contrast.light-theme .vct-home-issue-list-head {
    color: #111827;
}

body.light-theme .vct-home-issue-meta,
body.vct-contrast.light-theme .vct-home-issue-meta,
body.light-theme .vct-home-issue-list-head small,
body.vct-contrast.light-theme .vct-home-issue-list-head small {
    color: #64748b;
}

.vct-home-routes-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vct-home-route-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
    min-height: 250px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 5px solid #00d4ff;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        #141414;
    color: #fff;
    overflow: hidden;
}
.vct-home-route-section:nth-child(even) .vct-home-route-media {
    order: 2;
}
.vct-home-route-media {
    position: relative;
    display: block;
    min-height: 214px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}
.vct-home-route-media img {
    width: 100%;
    height: 100%;
    min-height: 214px;
    display: block;
    object-fit: cover;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.vct-home-route-media:hover img {
    transform: scale(1.025);
    opacity: 0.92;
}
.vct-home-route-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}
.vct-home-route-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #00d4ff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}
.vct-home-route-kicker i {
    font-size: 1rem;
}
.vct-home-route-copy h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
}
.vct-home-route-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    line-height: 1.55;
}
.vct-home-route-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    margin-top: 4px;
    padding: 0 14px;
    border: 1px solid rgba(255,204,0,0.5);
    border-radius: 8px;
    background: #ffcc00;
    color: #111;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.vct-home-route-link:hover {
    color: #111;
    background: #ffe16a;
    border-color: #ffe16a;
}
.vct-home-route-section.is-schedule { border-left-color: #ffcc00; }
.vct-home-route-section.is-schedule .vct-home-route-kicker {
    color: #ffcc00;
}
.vct-home-route-section.is-monitoring { border-left-color: #a5b4fc; }
.vct-home-route-section.is-monitoring .vct-home-route-kicker {
    color: #a5b4fc;
}
.vct-home-route-section.is-authorities { border-left-color: #5eead4; }
.vct-home-route-section.is-authorities .vct-home-route-kicker {
    color: #5eead4;
}
.vct-home-route-section.is-articles { border-left-color: #fb923c; }
.vct-home-route-section.is-articles .vct-home-route-kicker {
    color: #fb923c;
}

body.light-theme .vct-home-routes {
    border-top-color: #d9dee3;
}
body.light-theme .vct-home-section-head h2,
body.vct-contrast.light-theme .vct-home-section-head h2 {
    color: #0f172a;
}
body.light-theme .vct-home-route-section {
    background:
        linear-gradient(135deg, #ffffff, #f8fafc),
        #ffffff;
    border-color: #d9dee3;
    color: #111827;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
body.light-theme .vct-home-route-media {
    background: #eef2f7;
    border-color: #d9dee3;
}
body.light-theme .vct-home-route-copy h3 {
    color: #111827;
}
body.light-theme .vct-home-route-copy p {
    color: #4b5563;
}

.map-filters-toggle {
    display: none;
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    padding: 10px 14px;
    justify-content: center;
}

.search-filters-bar {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.search-filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    flex: 1 1 160px;
}

.search-filter-item label {
    color: #9ca3af;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.search-filter-item select {
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    padding: 9px 12px;
    outline: none;
}

.search-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-filter-action {
    border: 1px solid rgba(255,255,255,0.16);
    padding: 9px 14px;
    border-radius: 8px;
    flex: 1 1 140px;
    justify-content: center;
}

.btn-filter-reset {
    opacity: 0.85;
}

.btn-geolocate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 12px;
    padding: 11px 14px;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.2s, border-color 0.2s;
    flex: 1;
}
.btn-hideShowFilter{
    flex:0 0 auto;
    white-space:nowrap;
}
.btn-geolocate:hover {
    background: rgba(0, 212, 255, 0.16);
    border-color: rgba(0, 212, 255, 0.7);
}

.btn-geolocate.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-geolocate .bi-arrow-repeat {
    animation: vct-geo-spin 0.9s linear infinite;
}

@keyframes vct-geo-spin {
    to { transform: rotate(360deg); }
}

/* Regulile de light mode pentru aceasta pagina sunt in assets/theme-light.css */

.vct-user-dot {
    position: relative;
    width: 18px;
    height: 18px;
    background: #00d4ff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.6), 0 0 10px rgba(0, 212, 255, 0.8);
}

.vct-user-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.4);
    animation: vct-user-pulse 1.8s ease-out infinite;
}

@keyframes vct-user-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* Popup "Esti aici" stilizat */
.vct-geo-popup-wrap .leaflet-popup-content-wrapper {
    background: linear-gradient(160deg, #0b2733 0%, #08171e 100%);
    color: #e6f7ff;
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(0, 212, 255, 0.08);
    padding: 0;
    overflow: hidden;
}
.vct-geo-popup-wrap .leaflet-popup-content { margin: 0; width: 230px !important; }
.vct-geo-popup-wrap .leaflet-popup-tip { background: #08171e; border: 1px solid rgba(0,212,255,0.45); }
.vct-geo-popup-wrap a.leaflet-popup-close-button { color: #9fd8e8; top: 8px; right: 8px; }

.vct-geo-popup-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.92rem; font-weight: 700; color: #fff;
    padding: 11px 14px; background: rgba(0, 212, 255, 0.12);
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
}
.vct-geo-popup-body { padding: 11px 14px; font-size: 0.8rem; line-height: 1.45; color: #cfe9f2; }
.vct-geo-acc { margin-top: 8px; font-size: 0.74rem; color: #7fd3e6; }
.vct-geo-acc .bi { color: #00d4ff; }
.vct-geo-warn {
    margin-top: 9px; font-size: 0.74rem; line-height: 1.4; color: #ffd86b;
    background: rgba(255, 204, 0, 0.08); border: 1px solid rgba(255, 204, 0, 0.25);
    border-radius: 7px; padding: 7px 9px;
}
.vct-geo-warn .bi { color: #ffcc00; }

.vct-geo-ping {
    width: 11px; height: 11px; border-radius: 50%; background: #00d4ff; flex: 0 0 auto;
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); animation: vct-geo-ping 1.6s ease-out infinite;
}
@keyframes vct-geo-ping {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
    100% { box-shadow: 0 0 0 9px rgba(0, 212, 255, 0); }
}


@media (max-width: 1400px) {
    .search-container {
        width: calc(100% - 28px);
        top: 78px;
    }

    .map-filters-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-filters-bar {
        display: none;
        width: 90%;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        margin-left: 45px;
    }

    .search-filters-bar.is-expanded {
        display: flex;
    }

    .search-filter-item,
    .search-filter-actions {
        width: 100%;
    }
    .search-filter-item {flex: unset;}

    .vct-home-stats-inner,
    .vct-home-programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vct-home-pulse-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .vct-home-route-section {
        grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    }
}

/* Intre 769px si 1400px panourile laterale (340px + 280px) raman vizibile.
   Ingustam bara de cautare ca sa NU se suprapuna peste panouri. */
@media (min-width: 769px) and (max-width: 1400px) {
    .search-container {
        width: clamp(320px, calc(100vw - 720px), 1100px);
        left: 50%;
        transform: translateX(-50%);
    }
    .search-filters-bar {
        width: 100%;
        margin-left: 0;
    }
    .btn-geolocate {
        margin-top: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1700px) {
    #left-panel,
    #right-panel {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .vct-map-intro {
        padding: 0 0 12px;
    }
    .vct-map-intro h1 {
        font-size: 1.35rem;
    }
    .vct-map-cta a {
        flex: 1 1 100%;
    }
    .vct-home-stats {
        padding: 24px 12px;
    }
    .vct-home-stats-inner,
    .vct-home-programs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .vct-home-pulse {
        padding: 14px;
    }
    .vct-home-pulse-grid,
    .vct-home-pulse-mini {
        grid-template-columns: 1fr;
    }
    .vct-home-pulse-panel {
        padding: 13px;
    }
    .vct-home-pulse-metric {
        grid-template-columns: 1fr;
    }
    .vct-home-pulse-metric strong {
        font-size: 2rem;
    }
    .vct-home-neighborhoods a {
        grid-template-columns: 1fr;
    }
    .vct-home-routes-list {
        gap: 12px;
    }
    .vct-home-route-section,
    .vct-home-route-section:nth-child(even) {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 12px;
    }
    .vct-home-route-section:nth-child(even) .vct-home-route-media {
        order: initial;
    }
    .vct-home-route-media,
    .vct-home-route-media img {
        min-height: 185px;
    }
    .vct-home-route-copy {
        gap: 9px;
    }
    .vct-home-route-copy h3 {
        font-size: 1.25rem;
    }
    .vct-home-route-copy p {
        font-size: 0.88rem;
    }
    .vct-home-route-link {
        width: 100%;
    }
    .vct-home-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .vct-home-section-actions{align-items:flex-start;width:100%;}
    .vct-home-counts{justify-content:flex-start;text-align:left;}
    .vct-home-count-explainer{text-align:left;}
    .vct-home-count-details{text-align:left;}
    .vct-home-slider-controls {
        width: 100%;
        justify-content: flex-end;
    }
    .vct-home-all-link {
        width: 100%;
    }
    .vct-home-issues-grid,
    .vct-home-issue-cards {
        grid-template-columns: 1fr;
    }
    .vct-home-slider {
        grid-auto-columns: 100%;
        gap: 12px;
    }
    .vct-home-slide {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .vct-home-slide-media img {
        min-height: 0;
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }
    .vct-home-slide-copy {
        padding: 16px;
    }
    .vct-home-slide-copy strong {
        font-size: 1.3rem;
    }
    .vct-home-stat-card {
        min-height: 86px;
    }
    .vct-home-program-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 0;
        padding: 16px;
    }
    .vct-home-program-visual {
        width: 58px;
        height: 58px;
    }
    .vct-home-program-visual i {
        font-size: 1.7rem;
    }
    .vct-home-program-arrow {
        display: none;
    }
}

.vct-cartier-label {
    background: rgba(5, 14, 18, 0.82);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 999px;
    color: #dff8ff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 3px 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
    white-space: nowrap;
}
.vct-cartier-label::before { display: none; }

@media (max-width: 768px) {
    .vct-cartier-label {
        font-size: 10px;
        padding: 2px 6px;
    }

    .btn-text {
        display: none; /* Ascundem textul pe mobil pentru a rămâne doar plus-ul circular */
    }
    .btn-report-custom {
        width: 55px;
        padding: 0;
    }
    .btn-report-custom i {
        margin-right: 0;
    } 
}


/* Acces principal: doua carduri egale, fiecare 6/12 pe desktop.
   Iconul, titlul si explicatia se aliniaza vertical si sunt centrate. */
.vct-home-dossier-gateway {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 12px;
}
.vct-home-dossier-gateway-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 205px;
    padding: 26px 18px;
    border: 1px solid rgba(91, 211, 246, .3);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(22, 38, 47, .95), rgba(17, 19, 23, .97));
    color: #f4f9fc;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.vct-home-dossier-gateway-card:hover,
.vct-home-dossier-gateway-card:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    border-color: #45cfff;
    outline-offset: 3px;
}
.vct-home-dossier-gateway-card.is-works {
    border-color: rgba(255, 197, 54, .38);
    background: linear-gradient(140deg, rgba(47, 40, 24, .93), rgba(19, 21, 22, .98));
}
.vct-home-dossier-gateway-card.is-works:hover,
.vct-home-dossier-gateway-card.is-works:focus-visible {
    border-color: #ffd03f;
}
.vct-home-dossier-gateway-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(56, 189, 248, .16);
    color: #50d6ff;
    font-size: 2.25rem;
    line-height: 1;
}
.is-works .vct-home-dossier-gateway-icon { background: rgba(250, 177, 32, .16); color: #ffcb47; }
.vct-home-dossier-gateway-card > strong { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; }
.vct-home-dossier-gateway-description { font-size: clamp(.94rem, 1.25vw, 1.08rem); margin-top: 9px; line-height: 1.5; }
.vct-home-dossier-gateway-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    margin-top: 16px;
    color: #59d6f8;
    font-size: 1rem;
}
.is-works .vct-home-dossier-gateway-action { color: #ffcd3b; }
@media (max-width: 650px) {
    .vct-home-dossier-gateway { grid-template-columns: 1fr; }
    .vct-home-dossier-gateway-card { min-height: 180px; }
}
