/* ==========================================================
   SISTEMA ELEITORAL SaaS - ESTILO GLOBAL
   ========================================================== */

/* ---------- RESET BÁSICO ---------- */

body {
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    background-color: #f4f6f9;
    color: #1f2937;
}

/* ---------- NAVBAR ---------- */

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 18px;
}

/* ---------- SIDEBAR ---------- */

.sidebar {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
}

.sidebar a {
    transition: all 0.2s ease;
    font-size: 14px;
}

.sidebar a:hover {
    padding-left: 25px;
}

/* ---------- CARDS ---------- */

.card {
    border: none;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- BOTÕES ---------- */

.btn-dark {
    background-color: #111827;
    border: none;
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-color: #111827;
    color: #111827;
}

.btn-outline-dark:hover {
    background-color: #111827;
    color: white;
}

/* ---------- BADGES ---------- */

.badge {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
}

/* ---------- TABELAS ---------- */

.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background-color: #111827;
    color: white;
}

.table th {
    font-weight: 500;
    font-size: 14px;
}

.table td {
    font-size: 14px;
    vertical-align: middle;
}

/* ---------- ALERTAS ---------- */

.alert {
    border-radius: 10px;
}

/* ---------- FORMULÁRIOS ---------- */

.form-control {
    border-radius: 8px;
    padding: 10px;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
    border-color: #111827;
}

/* ---------- DASHBOARD ---------- */

h2 {
    letter-spacing: 0.5px;
}

h5 {
    font-weight: 600;
}

/* ---------- KPI CARDS ---------- */

.card h3 {
    font-size: 28px;
}

/* ---------- PAGAMENTOS ---------- */

.card ul li {
    margin-bottom: 6px;
}

/* ---------- FOOTER ---------- */

footer {
    margin-top: 30px;
    font-size: 13px;
}

/* ---------- RESPONSIVIDADE ---------- */

@media (max-width: 768px) {

    .sidebar {
        min-height: auto;
    }

    .content-area {
        padding: 15px;
    }

    .card {
        padding: 20px !important;
    }

}