/* =====================================================
   BAZA (identică cu pagina principală)
   ===================================================== */
:root {
    --color-red: #e74c3c;
    --color-orange: #f39c12;
    --color-green: #27ae60;
    --color-bg: #141414;
    --color-text-primary: #909497;
    --color-text-heading: #f1f1f1;
    --size-container-width: 864px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; }
html:not(.light) body { background-color: var(--color-bg); color: var(--color-text-primary); }
html.light body { background-color: #f4f5f7; color: #566573; }

html::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; filter: blur(50px);
    transform: scale(1.1); z-index: -2; transition: filter 0.5s ease;
}
html::after {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); z-index: -1; transition: background 0.4s ease;
}
html.light::before { filter: blur(70px) brightness(1.05) saturate(1.1) !important; }
html.light::after { background: rgba(255, 255, 255, 0.25) !important; }

.container { max-width: var(--size-container-width); margin: 0 auto; padding: 2rem 1.25rem 0; background: transparent; }

/* ================= HEADER ================= */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 20px 0; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: inherit; }
.brand-logo { width: 70px; height: 70px; }
.brand-name { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: #f1f1f1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.subscribe-header-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; color: #f1f1f1; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.25s; }
.subscribe-header-btn:hover { background: rgba(255,255,255,0.15); }
.theme-toggle-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; color: #f1f1f1; cursor: pointer; }
.theme-icon-sun { display: none; } .theme-icon-moon { display: block; }
html.light .theme-icon-sun { display: block; } html.light .theme-icon-moon { display: none; }
html.light .brand-name { color: #141414; }
html.light .subscribe-header-btn, html.light .theme-toggle-btn { background: rgba(255,255,255,0.55); border-color: rgba(0,0,0,0.08); color: #141414; }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); border-radius: 50%; color: #f1f1f1; cursor: pointer; }
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: rgba(20,20,22,0.55); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 4px; opacity: 0; visibility: hidden; transition: all 0.18s ease; z-index: 1000; }
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; background: transparent; border: none; border-radius: 30px; color: #d0d0d0; cursor: pointer; text-align: left; }
.lang-option:hover { background: rgba(255,255,255,0.06); }
html.light .lang-btn { background: rgba(255,255,255,0.55); border-color: rgba(0,0,0,0.08); color: #141414; }
html.light .lang-dropdown { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.06); }











/* ================= MODALE ================= */

/* Overlay-ul care acoperă tot ecranul */
.subscribe-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.subscribe-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cutia modalului */
.subscribe-modal {
    background: rgba(30, 30, 35, 0.95);
    backdrop-filter: blur(34px) saturate(140%);
    -webkit-backdrop-filter: blur(34px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 40px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s ease;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.subscribe-modal-overlay.active .subscribe-modal {
    transform: scale(1);
}

/* Header modal */
.subscribe-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.subscribe-modal-header h3 {
    color: #f1f1f1;
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* Buton închidere */
.subscribe-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #909497;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #f1f1f1;
}

/* Descriere */
.subscribe-modal-desc {
    color: #909497;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
}

/* Formular */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
}

.subscribe-input-group i {
    color: #909497;
}

.subscribe-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f1f1f1;
    font-size: 0.95rem;
}

.subscribe-input-group input::placeholder {
    color: #909497;
}

/* Buton submit */
.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    color: #f1f1f1;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.subscribe-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mesaje succes/eroare */
.subscribe-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 40px;
    font-size: 0.9rem;
    display: none;
}

.subscribe-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

.subscribe-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Link dezabonare */
.subscribe-unsubscribe-link {
    display: block;
    width: 100%;
    margin-top: 22px;
    background: transparent;
    border: none;
    color: #909497;
    font-size: 0.82rem;
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
}

.subscribe-unsubscribe-link:hover {
    color: #e74c3c;
}

/* Buton unsubscribe (roșu) */
.subscribe-btn.unsubscribe-submit {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.subscribe-btn.unsubscribe-submit:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

/* ---------- ANIMAȚII FADE PENTRU MODAL ---------- */

/* Conținutul formularului */
.subscribe-modal-inner {
    position: relative;
    width: 100%;
}

.subscribe-content {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-content.fade-out {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

/* Ecranul de succes (stă peste formular) */
.subscribe-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    gap: 10px;
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.subscribe-success.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Animații SVG (Bifa) */
.success-icon-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.success-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.success-circle {
    fill: #27ae60;
    stroke: none;
    transform-origin: 50% 50%;
    transform: scale(0);
    filter: drop-shadow(0 0 20px rgba(39, 174, 96, 0.5));
}

.subscribe-success.visible .success-circle {
    animation: circlePop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

@keyframes circlePop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.success-check {
    fill: none;
    stroke: #ffffff;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
}

.subscribe-success.visible .success-check {
    animation: drawCheck 0.3s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Textele din ecranul de succes */
.success-title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f1f1;
    margin: 0 0 10px 0;
    opacity: 0;
    transform: translateY(10px);
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.subscribe-success.visible .success-title {
    animation: successTextIn 0.4s cubic-bezier(0.34, 1.3, 0.64, 1) 0.7s forwards;
}

@keyframes successTextIn {
    to { opacity: 1; transform: translateY(0); }
}

.success-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #909497;
    margin: 0;
    max-width: 340px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(8px);
}

.subscribe-success.visible .success-desc {
    animation: successTextIn 0.4s cubic-bezier(0.34, 1.3, 0.64, 1) 0.85s forwards;
}

/* Culori speciale pentru Unsubscribe */
.subscribe-success .success-circle.unsubscribe-circle {
    fill: #e74c3c;
    filter: drop-shadow(0 0 16px rgba(231, 76, 60, 0.5));
}

/* ================= LIGHT MODE PENTRU MODALE ================= */
html.light .subscribe-modal {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
}

html.light .subscribe-modal-header h3 { color: #141414; }
html.light .subscribe-modal-close { color: #626567; }
html.light .subscribe-modal-close:hover { background: rgba(0, 0, 0, 0.05); color: #141414; }
html.light .subscribe-modal-desc { color: #566573; }
html.light .subscribe-input-group { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }
html.light .subscribe-input-group input { color: #141414; }
html.light .subscribe-btn { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.1); color: #141414; }
html.light .subscribe-success .success-title { color: #141414; }
html.light .subscribe-success .success-desc { color: #566573; }
html.light .subscribe-success .success-circle { filter: drop-shadow(0 0 18px rgba(39, 174, 96, 0.35)); }

html.light .subscribe-unsubscribe-link { color: #626567; }
html.light .subscribe-unsubscribe-link:hover { color: #c0392b; }
html.light .subscribe-btn.unsubscribe-submit { background: rgba(231, 76, 60, 0.08); border-color: rgba(231, 76, 60, 0.2); color: #c0392b; }
html.light .subscribe-btn.unsubscribe-submit:hover { background: rgba(231, 76, 60, 0.15); border-color: rgba(231, 76, 60, 0.35); }














/* =====================================================
   PAGINA ISTORIC INCIDENTE
   ===================================================== */

/* Breadcrumb (Exact ca .back-link) */
.breadcrumb-wrapper { margin-bottom: 32px; }
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #909497;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.breadcrumb:hover {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}
html.light .breadcrumb {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    color: #626567;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
html.light .breadcrumb:hover {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.2);
}

/* Header pagină + Selector dată */
.history-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; text-align: left;
}
.history-title {
    font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 700;
    color: #f1f1f1; margin: 0; letter-spacing: -0.5px;
}
html.light .history-title { color: #141414; }

/* Selector dată ca o capsulă rotundă */
.history-date-selector {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 600; color: #f1f1f1;
}
html.light .history-date-selector { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.08); color: #141414; }

.date-arrow {
    background: none; border: none; color: #909497; cursor: pointer; font-size: 0.8rem;
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%; transition: all 0.2s;
}
.date-arrow:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); color: #f1f1f1; }
.date-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
html.light .date-arrow:hover:not(:disabled) { background: rgba(0,0,0,0.05); color: #141414; }

/* Grupare pe Lună */
.incident-month-group { margin-bottom: 40px; }
.incident-month-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.incident-month-title { font-size: 1.2rem; font-weight: 600; color: #f1f1f1; margin: 0; }
.incident-month-count { font-size: 0.9rem; color: #909497; }
html.light .incident-month-title { color: #141414; }

/* Card Zi (Exact ca .service-page-section) */
.incident-day-group {
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.033);
    border-radius: 30px;
    background: rgba(35, 35, 40, 0.397);
    padding: 24px;
    box-shadow: 
        0 8px 25px -8px rgba(0, 0, 0, 0.3), 
        0 4px 12px -4px rgba(0, 0, 0, 0.2), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08), 
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Light mode (opțional, dar recomandat pentru consistență) */
html.light .incident-day-group {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.incident-day-label {
    font-size: 0.85rem; font-weight: 600; color: #909497; margin-bottom: 12px;
    font-family: 'Sora', sans-serif;
}

/* Rândul de incident (Premium) */
.incident-row-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px; /* Padding mai generos */
    border-radius: 25px; /* Colțuri foarte rotunde */
    background: rgba(255, 255, 255, 0.02); /* Fundal subtil */
    border: 1px solid rgba(255, 255, 255, 0.03); /* Bordură fină */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); /* Luminiță sus */
}

.incident-row-card:last-child {
    margin-bottom: 0;
}

/* Efect de hover elegant */
.incident-row-card:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Light Mode */
html.light .incident-row-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

html.light .incident-row-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Iconiță status */
.incident-status-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.incident-status-icon i {
    font-size: 0.9rem;
}


.incident-status-icon.resolved { background: rgba(39,174,96,0.15); color: #27ae60; font-size: 0.7rem; }
.incident-status-icon.ongoing { background: rgba(231,76,60,0.15); color: #e74c3c; font-size: 0.7rem; }

/* Conținut */
.incident-row-content { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.incident-row-title { font-size: 1rem; font-weight: 600; color: #f1f1f1; margin: 0; }
html.light .incident-row-title { color: #141414; }

.incident-row-meta {
    font-size: 0.85rem; color: #909497; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.meta-separator { color: #626567; font-size: 0.7rem; }
.incident-affected-short { color: #909497; }

/* Săgeată */
.incident-arrow { color: #626567; font-size: 0.9rem; margin-top: 4px; }
.incident-row-card:hover .incident-arrow { color: #f1f1f1; }
html.light .incident-row-card:hover .incident-arrow { color: #141414; }

/* Skeleton */
.skeleton-box { background: rgba(255,255,255,0.03); border-radius: 20px; padding: 20px; margin-bottom: 16px; animation: pulse 1.5s infinite; height: 100px; }
@keyframes pulse { 0%{opacity:.6} 50%{opacity:1} 100%{opacity:.6} }

/* Footer */
footer { margin: 32px 0; text-align: center; }
.footer p { margin: 10px 0; color: #909497; font-weight: 400; font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .history-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .history-title { font-size: 1.5rem; }
    .incident-row-card { padding: 12px; }
    .breadcrumb { font-size: 0.8rem; padding: 8px 16px; }
}









/* =====================================================
   SKELETON PENTRU ISTORIC INCIDENTE
   ===================================================== */
@keyframes skeletonPulse {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-line, .skeleton-circle {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s ease-in-out infinite;
    border-radius: 8px;
}
.skeleton-month-group { margin-bottom: 40px; }
.skeleton-month-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.skeleton-line.skeleton-month-title { width: 150px; height: 24px; border-radius: 6px; }
.skeleton-line.skeleton-month-count { width: 80px; height: 18px; border-radius: 6px; }
.skeleton-day-group {
    margin-bottom: 32px; border: 1px solid rgba(255,255,255,0.033); border-radius: 30px;
    background: rgba(35,35,40,0.397); backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%); padding: 24px;
    box-shadow: 0 8px 25px -8px rgba(0,0,0,0.3), 0 4px 12px -4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.skeleton-line.skeleton-day-label { width: 100px; height: 14px; border-radius: 4px; margin-bottom: 16px; display: block; }
.skeleton-row-card {
    display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px;
    border-radius: 25px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.skeleton-row-card:last-child { margin-bottom: 0; }
.skeleton-circle.skeleton-status-icon { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.skeleton-row-content { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line.skeleton-row-title { width: 60%; height: 18px; border-radius: 6px; }
.skeleton-line.skeleton-row-meta { width: 40%; height: 14px; border-radius: 4px; }
.skeleton-line.skeleton-arrow { width: 14px; height: 14px; border-radius: 4px; margin-top: 4px; }
html.light .skeleton-line, html.light .skeleton-circle {
    background: linear-gradient(90deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 100%);
    background-size: 200% 100%;
}
html.light .skeleton-day-group { background: rgba(255,255,255,0.75); border-color: rgba(0,0,0,0.06); box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04); }
html.light .skeleton-row-card { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.04); box-shadow: inset 0 1px 0 rgba(255,255,255,1); }
@media (max-width: 768px) {
    .skeleton-day-group { padding: 16px; }
    .skeleton-row-card { padding: 16px; }
    .skeleton-line.skeleton-row-title { width: 80%; }
    .skeleton-line.skeleton-row-meta { width: 60%; }
}







/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    color: #f1f1f1;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn i.fa-globe {
    font-size: 0.95rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 110px;
    background: rgba(20, 20, 22, 0.55);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1000;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex !important;
    flex-direction: row !important; /* ✅ Forțează orizontal */
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 10px 14px !important;
    background: transparent;
    border: none;
    border-radius: 30px !important;
    color: #d0d0d0;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f1f1;
}

.lang-option.active {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
}

.lang-flag {
    width: 30px !important;
    height: 20px !important;
    border-radius: 3px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: block !important;
}


/* =====================================================
   LIGHT MODE
   ===================================================== */

html.light .lang-btn {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    color: #141414;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html.light .lang-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

html.light .lang-dropdown {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html.light .lang-option {
    color: #566573;
}

html.light .lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #141414;
}

html.light .lang-option.active {
    background: rgba(39, 174, 96, 0.12);
    color: #1e8449;
}



/* =====================================================
   FADE-IN SMOOTH PENTRU DATELE REALE
   ===================================================== */

@keyframes fadeInSmooth {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

.incidents-list.is-ready {
    animation: fadeInSmooth 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: opacity;
}