/* ======================================================== */
/* 🌐 CSS PUBLIC - DOAR PENTRU PAGINA DE LOGIN              */
/* ======================================================== */

:root {
  --bg: #0b132b; 
  --card: #1c2541; 
  --accent: #5bc0be; 
  --muted: #3a506b; 
  --text: #e0e0e0;
}

* { box-sizing: border-box; font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }

/* 1. BARA DE SUS (HEADER) */
header {
    display: flex; align-items: center; justify-content: space-between; 
    padding: 12px 16px; background: var(--card); 
    position: fixed !important; top: 0; left: 0; width: 100%; height: 60px; 
    z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
header .title { display: flex; gap: 10px; align-items: center; }
header .badge { background: var(--accent); color: #04121a; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }

body { padding-top: 70px !important; }

/* 2. BUTOANE GENERALE */
button, .btn {
  background: var(--accent); border: none; color: #04121a; padding: 10px 14px; 
  border-radius: 12px; font-weight: 700; cursor: pointer;
  transition: transform .06s ease, filter .2s ease; text-decoration: none; 
  display: inline-flex; align-items: center; gap: 8px;
}
button:active { transform: scale(0.98); }

/* 3. STRUCTURA PRINCIPALĂ (CARD ȘI INPUT) */
main { padding: 16px; max-width: 1200px; margin: 0 auto; }

.card {
  background: linear-gradient(180deg, var(--card), #16213e);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

h1 { margin: 6px 0 12px 0; font-size: 28px; }

.input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12);
  background: #0e1a2a; color: #fff; outline: none;
}

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px 0; }

/* 4. UTILAJE LAYOUT (Folosite în formularul de login) */
.col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.small { font-size: 12px; opacity: .9; }
.warn { color: #ffd166; }
.hidden { display: none !important; }

/* 5. SCROLLBAR */
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 6px; }
html::-webkit-scrollbar-track { background: var(--bg); }

/* --- BUTONUL DE STATUS (ONLINE/OFFLINE PLIN) --- */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  background: var(--muted);
}
.status-indicator.online {
  background: #80ed99;
  color: #04121a;
}
.status-indicator.offline {
  background: #ff6b6b;
  color: #fff;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.online {
  background: #04121a;
}
.status-dot.offline {
  background: #fff;
}

/* Stilul pentru input-urile moderne */
.modern-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px; /* Padding micșorat */
    color: #ffffff;
    text-align: center;
    font-size: 0.95rem; /* Font puțin mai mic */
    outline: none;
    transition: all 0.3s ease;
}

.btn-modern {
    margin-top: 10px;
    background: var(--accent);
    color: #0b132b;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center; /* Centrează textul pe orizontală */
    align-items: center;    /* Centrează textul pe verticală */
    transition: transform 0.1s ease, filter 0.2s ease;
}