/* style.css  */
body { background-color: #121214; color: #e2e8f0; font-family: 'Segoe UI', sans-serif; line-height: 1.6; margin: 0; padding: 40px 20px; }
.container { max-width: 900px; margin: 0 auto; }
h1 { color: #38bdf8; text-align: center; border-bottom: 2px solid #22252a; padding-bottom: 10px; }
h2, h3 { color: #f1f5f9; }
.intro, .panou-intrebare { background-color: #1e1e24; border-left: 4px solid #38bdf8; padding: 15px 20px; border-radius: 4px; margin-bottom: 30px; }
.panou-intrebare { border-left-color: #a855f7; }
.grid { display: grid; grid-template-columns: 1fr; gap: 25px; margin-bottom: 40px; }
.box { background-color: #1e1e24; border-radius: 8px; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
.box-nu { border-top: 4px solid #ef4444; }
.box-da { border-top: 4px solid #22c55e; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; margin-bottom: 15px; }
.badge-nu { background-color: #ef4444; color: #fff; }
.badge-da { background-color: #22c55e; color: #fff; }
pre { background-color: #050507; padding: 15px; border-radius: 6px; overflow-x: auto; border: 1px solid #2d2d34; }
code { font-family: 'Courier New', monospace; font-size: 0.95rem; color: #e2e8f0; }
.comment { color: #636b7a; font-style: italic; }
.keyword { color: #ff79c6; font-weight: bold; }
.func { color: #50fa7b; }
.str { color: #f1fa8c; }
.simulare, .terminal-box { background-color: #050507; border: 1px solid #2d2d34; border-radius: 6px; padding: 20px; }
.simulare-titlu { color: #e1b343; font-weight: bold; margin-bottom: 10px; }
.stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #21262d; }
.critical { color: #ef4444; font-weight: bold; }
.safe { color: #22c55e; font-weight: bold; }
.terminal-header { display: flex; gap: 6px; margin-bottom: 15px; border-bottom: 1px solid #1f1f23; padding-bottom: 10px; }
.bulina { width: 12px; height: 12px; border-radius: 50%; }
.b-rosu { background-color: #ef4444; }
.b-galben { background-color: #e1b343; }
.b-verde { background-color: #22c55e; }
.linie-terminal { display: flex; align-items: center; color: #38bdf8; font-weight: bold; }
.prompt { color: #22c55e; margin-right: 10px; }
.input-terminal { background: transparent; border: none; color: #f1f5f9; font-family: inherit; font-size: 1.1rem; width: 100%; outline: none; }
.alerta { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-weight: bold; }
.alerta-succes { background-color: #14532d; color: #4ade80; border: 1px solid #22c55e; }
.alerta-eroare { background-color: #451a03; color: #f87171; border: 1px solid #ef4444; }
.btn-interact, .btn-lectie { display: inline-block; background-color: #1e1e24; color: #e2e8f0; border: 1px solid #38bdf8; padding: 8px 15px; border-radius: 4px; cursor: pointer; text-decoration: none; margin-top: 15px; }
.btn-interact:hover, .btn-lectie:hover { background-color: #38bdf8; color: #000; }
.btn { padding: 12px 20px; font-size: 15px; cursor: pointer; border-radius: 6px; font-weight: bold; font-family: sans-serif; display: block;width: 100%; text-align: center; box-sizing: border-box; margin-top: 10px;    text-decoration: none;}
.btn-start {background: #1e1b3b; border:1px solid #4f46e5; color: #fff; }
.btn-start:hover { background: #38bdf8;color:  #000;;}
.btn-submit { background: #1e1b3b;border: 1px solid #4f46e5; color:  #000; }
.btn-submit:hover { background: #38bdf8; }
.btn-reset { background: #da3633; color: white; font-size: 13px; }
.btn-menu { background: #1e1b3b; border:1px solid #4f46e5;  #000; }

.progres { text-align: center; color: #636b7a; margin-bottom: 20px; font-weight: bold; }
@media (min-width: 768px) { .grid { grid-template-columns: 1fr 1fr; } }
