        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #f0f2f5;
            font-family: 'Roboto', sans-serif;
            color: #333;
            padding-top: 140px; /* Spatiu pentru header fix */
        }

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 24px;
  margin: 0 5px;
  padding: 0 !important;
  gap: 0 !important;

  
  display: inline-block !important;
  line-height: 1 !important;
  
  /* Ajustare fină pentru centrare verticală */
  vertical-align: -0.26em;
  
  text-transform: none !important;
  letter-spacing: normal !important;
  word-wrap: normal !important;
  overflow: hidden !important; 
  max-width: 24px;
  height: auto !important;
  
  white-space: nowrap !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  
  font-feature-settings: 'liga' !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  
  /* Asigură că nu sunt alte stiluri care interferează */
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  text-align: center !important;
}

/* ============================
   SISTEM DE DIMENSIUNI CU CENTRARE PERFECTĂ
   ============================ */

.icon-sm { 
  font-size: 20px !important; 
  max-width: 20px !important; 
  font-variation-settings: 'opsz' 20 !important; 
  vertical-align: -0.22em !important;
}

.icon-lg { 
  font-size: 32px !important; 
  max-width: 32px !important; 
  font-variation-settings: 'opsz' 32 !important; 
  vertical-align: -0.34em !important;
 margin: 0 8px;
}


/* Elimină highlight-ul albastru la click/focus */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
button {
    text-decoration: none !important;
    border:0;
    color: inherit;
    background-color: none; /* background implicit */
    outline: none;
    -webkit-tap-highlight-color: transparent; /* pentru mobile/webkit */
    box-shadow: none; /* unele browsere folosesc box-shadow pentru focus */
}



        /* Header-ul fix */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #ffffff;        
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.3),
                0 6px 8px rgba(0, 0, 0, 0.1);
            z-index: 9999;
        }

        /* Prima linie a header-ului */
        .header-top {
            display: flex;
            align-items: center;
            padding: 0 0px;
            height: 70px;
            position: relative;
        }

        /* Container pentru buton si linia de despartire */
        .button-container {
            display: flex;
            align-items: center;
            height: 100%;
            position: relative;
        }

        /* Butonul pentru categorii */
        .categories-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 24px;
            color: #333;
            width: 80px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

/* Elimină toate efectele de activare pentru label și buton */
label.categories-btn {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
}

.categories-btn:active,
.categories-btn:focus,
.categories-btn:focus-within,
.categories-btn:focus-visible {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Pentru browserele mobile care adaugă highlight albastru */
.categories-btn {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

        /* Linia de despartire intre buton si logo - DE SUS PANA JOS */
        .button-container::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            border-right: 1px solid #ccc; /* Folosim border în loc de width */
        }

        /* Stilurile pentru iconita hamburger/X */
        .hamburger-icon {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 20px;
            transition: all 0.3s ease;
        }

        

.hamburger-icon span {
    display: block;
    height: 4px; /* Schimbat de la 2px la 3px */
    width: 100%;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 10px; /* Adaugă colțuri rotunjite */
}

        /* Ascundem checkbox-ul */
        #menu-toggle {
            display: none;
        }

/* Stilul pentru iconita X cand meniul este deschis */
#menu-toggle:checked ~ .header .header-top .button-container .categories-btn .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* Ajustat pentru 3px */
    border-radius: 2px;
}

#menu-toggle:checked ~ .header .header-top .button-container .categories-btn .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .header .header-top .button-container .categories-btn .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px); /* Ajustat pentru 3px */
    border-radius: 2px;
}


.logo {
    font-family: 'Dosis', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-left: 30px;
    user-select: none;
    display: inline-block;
    position: relative;
    line-height: 1.2;
    font-size: 0; /* ELIMINĂ SPAȚIUL DINTRE ELEMENTELE INLINE */
}

.logo span {
    font-size: 30px; /* RESTABILEȘTE DIMENSIUNEA */
}

.logo .tag {
    color: #007acc;
    padding: 0 3px;
}

.logo .attr-name {
    color: #9cdcfe;
    padding: 0 3px;
}

.logo .attr-value {
    color: #ce9178;
    padding: 0 3px;
}

.logo .online {
    color: #4ec9b0;
    padding: 0 3px;
}

/* Cursor care licărește */
.logo::after {
    content: '_';
    color: #4ec9b0;
    animation: blink 1s infinite;
    display: inline-block;
    margin-left: -5px;
    transform: translateY(-3px);
    font-size: 30px; /* IMPORTANT - setează și aici */
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* ===========================
   Header - a doua linie
   =========================== */
.header-bottom {
    display: flex;
    height: 60px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* Fiecare section e flex item direct */
.header-bottom .section {
    flex: 1; /* fiecare ocupa jumatate din container */
    position: relative;
    display: flex;          /* pentru centrare continut */
    align-items: center;
    justify-content: center;
}

/* Linia de despartire intre cele 2 sectiuni */
.header-bottom .section:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border-right: 1px solid #ccc;
}

/* ===========================
   Link-ul din interiorul .section
   =========================== */
.header-bottom .section a {
    display: flex;           /* flex pentru centrare continut */
    align-items: center;      /* centrare verticala */
    justify-content: center;  /* centrare orizontala */
    width: 100%;              /* ocupa intreaga latime */
    height: 100%;             /* ocupa intreaga inaltime */
    text-decoration: none;    /* fara underline */  
    box-sizing: border-box;
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    -webkit-tap-highlight-color: transparent; /* elimina highlight albastru pe mobile */
}

/* ===========================
   Label-ul din interiorul .section
   =========================== */
.header-bottom .section label {
    display: flex;           /* flex pentru centrare continut */
    align-items: center;      /* centrare verticala */
    justify-content: center;  /* centrare orizontala */
    width: 100%;              /* ocupa intreaga latime */
    height: 100%;             /* ocupa intreaga inaltime */
    box-sizing: border-box;
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* Hover si focus pentru ambele */
.header-bottom .section a:focus,
.header-bottom .section label:focus {
    background-color: #f0f0f0; /* feedback vizual */
    outline: none;
}

/* ===========================
   Iconițele Material Symbols
   =========================== */
.header-bottom .section a span.material-symbols-outlined,
.header-bottom .section label span.material-symbols-outlined {
    font-size: 22px;
max-width: 22px;
font-variation-settings: 'opsz' 22; 
    line-height: 1; /* Elimină spațiu vertical extra */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


        /* Meniul de categorii */
        .categories-menu {
            background-color: #ffffff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          border-right: 1px solid #ccc;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out;
            position: absolute;
            width: 70%;
            left: 0;
            top: 130px; /* Pozitioneaza meniul sub header */
            z-index: 999;
        }

        /* Afisam meniul cand checkbox-ul este bifat */
        #menu-toggle:checked ~ .header .categories-menu {
            max-height: 300px;
            padding: 0px 0px;
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
        }

        .categories-list {
            list-style-type: none;
        }

.categories-list li {
    border-bottom: 1px solid #eee;
    font-family: 'Dosis', sans-serif;
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    /* NU pune display: flex aici - pune pe link */
}

.categories-list li a {
    padding: 14px 30px;
    display: flex; /* ← FLEX AICI */
    align-items: center; /* ← Centrează vertical */
    gap: 6px; /* ← Spațiu între iconiță și text */
    width: 100%;
    text-decoration: none;
    color: inherit;
    min-height: 24px; /* ← Înălțime minimă */
}

/* Iconița */
.categories-list li a span.material-symbols-outlined {
    color: #333;
    font-size: 20px; /* Dimensiune potrivită */
    /* Asigură alinierea perfectă */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    /* Elimină margin-right deoarece folosim gap */
    margin-right: 0;
  max-width: 20px;
font-variation-settings: 'opsz' 20; 
}
.categories-list li a:focus {
    background-color: #f0f0f0; /* feedback vizual */
}

        .categories-list li:last-child {
            border-bottom: none;
        }

        /* Link pentru a inchide meniul cand se apasa in afara */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 998;
            display: none;
        }

        #menu-toggle:checked ~ .menu-overlay {
            display: block;
        }

        /* Continutul paginii pentru testare */
        .content {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        h1 {
            font-family: 'Dosis', sans-serif;
            font-size: 32px;
            letter-spacing: 0.5px
        }

        p {
            line-height: 1.5;
            font-size: 15px;
letter-spacing: 0.5px;
        }

        strong {
            line-height: 1.4;
            font-size: 15px;
letter-spacing: 0.5px;
        }

        h2 {
font-family: 'Dosis', sans-serif;
            line-height: 1;
font-size: 18px;
letter-spacing: 0.5px;
padding:8px 5px;
        }

        h3 {
        line-height: 1.2;    
  letter-spacing: 0.5px;        
font-size: 16px;
padding:8px 5px;
        }

       
        
        /* Info despre functionalitate */
        .info-box {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 4px;
        }




        .site-online-box {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
         border: 1px solid #ccc;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05),
                   inset 0 1px 3px rgba(0, 0, 0, 0.08);
        }












/* Modal overlay */
.modal-overlay-so {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#acces-modal-toggle-so:checked ~ .modal-overlay-so {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Modal content */
.modal-content-so {
    background-color: #f0f2f5;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
    overflow: hidden;
}

#acces-modal-toggle-so:checked ~ .modal-overlay-so .modal-content-so {
    transform: translateX(0);
}



/* Pentru dispozitive mobile în general */
@media (max-width: 768px) {
    .modal-content-so {
        top: 50%;
        transform: translate(-50%, -50%);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .modal-content-so.input-focused,
    .modal-content-so:has(input:focus) {
        top: 10px !important;
        transform: translate(0, -50%) !important;
        max-height: calc(100vh - 20px);
    }
}


/* Modal header */
.modal-header-so {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.modal-header-so h2 {
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buton close */
.close-btn-so {
    background: none;
    border: none;
    font-size: 25px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.close-btn-so:hover {
    background-color: #f0f2f5;
    color: #333;
}

/* Modal body */
.modal-body-so {
    padding: 20px;
}

/* Input group */
.input-group-so {
    margin-bottom: 25px;
}

.input-group-so label {
    display: block;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    color: #2c3e50;
    margin: 8px 0;
}

.input-group-so input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.input-group-so input:focus {
    outline: none;
    border-color: #3498db;
}

/* Modal buttons */
.modal-buttons-so {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Base button style */
.btn-so {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-so:active {
    transform: translateY(1px);
}

/* Connect button */
.connect-btn-so {
    background-color: #2ecc71;
    color: white;
}

.connect-btn-so:hover {
    background-color: #27ae60;
}

/* Close modal button */
.close-modal-btn-so {
    background-color: #e74c3c;
    color: white;
}

.close-modal-btn-so:hover {
    background-color: #c0392b;
}

/* Adaugă această regulă la sfârșitul CSS-ului */

#acces-modal-toggle-so:checked ~ .modal-overlay-so {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

#acces-modal-toggle-so:checked ~ body {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Dacă browser-ul suportă :has() */
body:has(#acces-modal-toggle-so:checked) {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}







.site-online-arata {
color: #007acc !important;
font-weight: 500 !important;
}




/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 20px;
    z-index: 9999;
    border-top: 4px solid #3498db;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #ecf0f1;
}

.cookie-text a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    border-bottom: 1px dashed #3498db;
}

.cookie-text a:hover {
    color: #1abc9c;
    border-bottom-style: solid;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.accept-btn {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.accept-btn:hover {
    background: linear-gradient(to right, #27ae60, #219653);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.more-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text {
        min-width: auto;
        width: 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }
    
    .cookie-text p {
        font-size: 14px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Animație de intrare */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner {
    animation: slideUp 0.5s ease-out;
}

/* Pentru ecrane mici (telefoane în landscape) */
@media (max-width: 900px) and (orientation: landscape) {
    .cookie-banner {
        position: relative;
        margin-top: 10px;
    }
}