body {
    background-color: #0b0c10;
    color: #cfd8dc;
    font-family: 'Poppins', sans-serif;
}

/* Navbar / Topbar */
.navbar {
    background-color: #000;
    border-bottom: 1px solid #333;
}

.topbar {
    background: #000;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.navbar-brand {
    color: #fff !important;
    font-weight: 600;
}

.nav-link,
.navbtn {
    color: #cfd8dc !important;
    margin-right: 15px;
    transition: color 0.2s;
    text-decoration: none;
    font-weight: 600;
}

.nav-link:hover,
.navbtn:hover {
    color: #fff !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

h2 {
    color: #fff;
    margin-bottom: 20px;
}

/* Formulários */
.form-control, .form-select {
    background: #1c1e22;
    color: #cfd8dc;
    border: 1px solid #444;
}

.form-control::placeholder {
    color: #888;
}

.btn-success { background: #28a745; border: none; }
.btn-success:hover { background: #218838; }

.btn-info { background: #17a2b8; border: none; }
.btn-info:hover { background: #138496; }

.btn-danger { background: #dc3545; border: none; }
.btn-danger:hover { background: #c82333; }

button {
    margin-top: 8px;
}

/* Estatísticas */
.stat-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: #fff;
}

.ligado { background: #28a745; }
.desligado { background: #dc3545; }
.pausar { background: #ffa500; color: #000; }
.desconhecido { background: #6c757d; }

/* Cards de Eventos / Telefones / Status */
.card-numeros,
.card-evento,
.card-status {
    background-color: #1c1e22;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    color: #cfd8dc;
}

.card-status {
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.card-status:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.card-evento strong {
    color: #fff;
}

/* Tabelas */
table {
    background-color: #1c1e22;
}

th {
    color: #fff;
}

tr:hover {
    background-color: #2c2f34;
}

/* Badges de Status */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
}

/* Links gerais */
a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lista de Telefones */
ul li {
    margin-bottom: 8px;
}

.table-dark thead th {
    background-color: #0b0c10;
    color: #fff;
    border-bottom: 1px solid #333;
    font-weight: 600;
    font-size: 0.95em;
}

.table-dark tbody tr:hover {
    background-color: #2c2f34;
}

.table-dark td, .table-dark th {
    padding: 12px 16px;
    vertical-align: middle;
    border-color: #333;
}

.table-dark tbody td a {
    color: #fff;
    text-decoration: none;
}

.table-dark tbody td a:hover {
    text-decoration: underline;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    display: inline-block;
}

.card-status-count {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    transition: 0.2s ease;
}

.card-status-count:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.card-status-count i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.status-ligado { background-color: #28a745; }
.status-desligado { background-color: #dc3545; }
.status-pausar { background-color: #ffa500; color: #000; }
.status-desconhecido { background-color: #6c757d; }

.card-status-count h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
}

.card-status-count span {
    font-size: 0.95rem;
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,0.8);
}
