body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
    overflow-x: hidden;
}

/* Clase Utilitare */
.ascuns { display: none !important; }
.vizibil { display: block !important; }


/* --- SIDEBAR --- */
:root { --latime-sidebar: 260px; --culoare-sidebar: #082f49; }

.sid-container {
    width: var(--latime-sidebar); background-color: var(--culoare-sidebar); color: #e2e8f0;
    display: flex; flex-direction: column; position: fixed; height: 100vh;
    left: 0; top: 0; z-index: 50; transition: transform 0.3s ease;
}
.sid-header { padding: 1.5rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; }

/* --- Zona lecții --- */
.main-content {
    margin-left: var(--latime-sidebar); width: calc(100% - var(--latime-sidebar));
    min-height: 100vh; display: flex; flex-direction: column;
}
.antet-container {
    display: flex; justify-content: space-between; align-items: center; padding: 0 2rem;
    background: white; border-bottom: 1px solid #e5e7eb; height: 70px; position: sticky; top: 0; z-index: 40;
}

.buton-fila {
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #f8fafc;
    font-weight: 600;
    color: #64748b;
    margin-bottom: -2px;
}

.buton-fila:hover { color: #0ea5e9; background-color: #f9fafb; }

.buton-fila.fila-activa {
    background-color: #ffffff;
    color: #2563eb;
    border-top: 3px solid #2563eb;
    border-bottom: 2px solid white;
    z-index: 10;
}

/* --- Lista obiective --- */
ul.lista-bifata {
    list-style: none !important; /* Eliminăm stilul default (bulina) */
    padding-left: 0;
    margin-left: 0;
}

ul.lista-bifata li {
    position: relative;
    padding-left: 2rem; /* Spațiu pentru emoji */
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

ul.lista-bifata li::before {
    content: "✔️"; /* Emoji-ul folosit ca marcator */
    position: absolute;
    left: 0;
    top: 0; /* Ajustează dacă textul nu e aliniat perfect */
    font-size: 1.1em; /* Mărimea emoji-ului */
}

.card {
	background: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 8px solid #ccc;
    animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.card-green { border-left-color: #10b981; }
.card-purple { border-left-color: #8b5cf6; }  
.card-blue { border-left-color: #3b82f6; }    
.card-yellow { border-left-color: #eab308; }  
.card-indigo { border-left-color: #4f46e5; }  
.card-red { border-left-color: #ef4444; }

pre {
	background-color: #f8f9fa; 
    color: #1f2937;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow-x: auto;
    margin: 15px 0;
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

code { color: #0ea5e9; font-family: inherit; }

        /* Sintaxă colorată manual */
        .kw { color: #0033cc; font-weight: bold; } /* Keywords (var) */
        .fn { color: #d946ef; font-weight: bold; } /* Functions (point) */
        .nm { color: #059669; } /* Numbers */
        .cm { color: #6b7280; font-style: italic; } /* Comments */
        .str { color: #db2777; } /* Strings */
        
table { width: 100%; border-collapse: separate; border-spacing: 10; margin-top:15px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
table th { background: #f8fafc; color: #64748b; text-align: center; padding: 12px; }
table td { text-align: center; padding: 12px; border-bottom: 1px solid #eee; background: white; }
table tr:last-child td { border-bottom: 2 solid blue; }
symbol { font-family: 'Courier New', monospace; font-weight: bold; color: #d63384; font-size: 1.4em; text-align: center; background: #fdfdfd; }
