/* ============================================================
   TEMA CYBERPUNK – BLINDAGEM PRO
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: 'Share Tech Mono', monospace;
    color: #0ff;
}

/* ----------------------- LOGIN ---------------------------- */

.login-container {
    width: 90%;
    max-width: 380px;
    margin: 80px auto;
    padding: 25px;
    border: 2px solid #0ff;
    background: rgba(0,0,0,0.8);
    box-shadow: 0 0 20px #0ff;
    text-align: center;
    animation: entrada 1s;
}

@keyframes entrada {
    from { opacity:0; transform: scale(.9); }
    to   { opacity:1; transform: scale(1); }
}

.login-container h2 {
    margin-bottom: 20px;
    color: #0ff;
    text-shadow: 0 0 12px #0ff;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px 0;
    background: #000;
    border: 1px solid #0ff;
    color: #0ff;
    font-size: 15px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    border: 2px solid #0ff;
    background: transparent;
    color: #0ff;
    cursor: pointer;
    transition: .3s;
}

.login-container button:hover {
    background: #0ff;
    color: #000;
}

/* ----------------------- TOPBAR ---------------------------- */

.topbar {
    width: 100%;
    padding: 12px 20px;
    background: #010a0a;
    box-shadow: 0 0 15px #0ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    color: #f33;
    text-decoration: none;
}

.logout-btn:hover {
    text-shadow: 0 0 10px #f33;
}

/* --------------------- DASHBOARD --------------------------- */

.dashboard-container {
    width: 90%;
    max-width: 900px;
    margin: 25px auto;
    padding: 20px;
}

.dashboard-container h1 {
    text-align: center;
    color: #0ff;
    text-shadow: 0 0 20px #0ff;
    margin-bottom: 5px;
}

.sub {
    text-align: center;
    margin-bottom: 25px;
    color: #0aa;
}

.card {
    background: #000;
    border: 2px solid #0ff;
    padding: 18px;
    margin: 20px 0;
    box-shadow: 0 0 15px #0ff;
}

.card h2 {
    margin-bottom: 10px;
    color: #0ff;
}

.status {
    font-weight: bold;
}

.status.disponivel { color: #0f0; }
.status.usada { color: #ff0; }
.status.bloqueado { color:#f33; }

.action-btn {
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid #0ff;
    color: #0ff;
    text-decoration:none;
    margin-top: 8px;
    transition:.3s;
}

.action-btn:hover {
    background:#0ff;
    color:#000;
}

/* --------------------- MÓDULOS ---------------------------- */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.mod-card {
    border: 2px solid #0ff;
    padding: 15px;
    background: #000;
    box-shadow:0 0 15px #0ff;
}

.mod-btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #0ff;
    text-decoration:none;
    color: #0ff;
    transition:.3s;
}

.mod-btn:hover {
    background:#0ff;
    color:#000;
}

.mod-usado {
    color: #f33;
    font-weight: bold;
}

/* ----------------------- TERMINAL -------------------------- */

.terminal {
    width: 90%;
    max-width: 900px;
    margin: 25px auto;
    background: #000;
    border: 2px solid #0ff;
    padding: 20px;
    box-shadow: 0 0 20px #0ff;
}

/* ---------------------- PROGRESS BAR ------------------------ */

.progress {
    width: 100%;
    height: 12px;
    background: #022;
    border:1px solid #0ff;
    margin-top:20px;
}

.progress-bar {
    width:0%;
    height:100%;
    background:#0ff;
    box-shadow:0 0 20px #0ff;
    transition:.5s;
}

/* ---------------------- LISTAS ADMIN ------------------------ */

table {
    background:#000;
    border:1px solid #0ff;
}

table th {
    background:#011;
    padding:8px;
    border-bottom:1px solid #0ff;
}

table td {
    padding:6px;
    border-bottom:1px solid #033;
}

.btn {
    padding:5px 8px;
    border:1px solid #0ff;
    color:#0ff;
    text-decoration:none;
    transition:.3s;
}

.btn:hover {
    background:#0ff;
    color:#000;
}

/* ---------------------- ALERTAS ------------------------------ */

.alerta {
    color:#ff0;
}

.sucesso {
    color:#0f0;
}

.erro {
    color:#f33;
}

/* ----------------- FINALIZAÇÃO ------------------------------- */

.final-box {
    padding:20px;
    background:#001;
    text-align:center;
    border:2px solid #0f0;
    box-shadow:0 0 15px #0f0;
}
