body {
    font-family: Arial, sans-serif;
    padding: 40px;
    background: #f7f7f7;
}

h1 {
    margin-bottom: 20px;
}

section {
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: #222;
    color: #fff;
}

td, th {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background: #f0f0f0;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    gap: 12px;
    max-width: 420px;
}

.form-grid label {
    font-weight: bold;
}

.form-grid input,
.form-grid select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafafa;
}

.btn-primary {
    border: none;
    padding: 12px 16px;
    background: #1f7aed;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
}

.btn-primary:hover {
    background: #155fba;
}

.status {
    min-height: 20px;
    margin-top: 10px;
    font-weight: bold;
}

.status.sucesso {
    color: #0ba360;
}

.status.erro {
    color: #d0342c;
}
/* KPIs */
.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.kpi {
    background: #111;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.kpi h3 {
    margin: 0 0 10px;
    font-size: 16px;
    opacity: 0.7;
}
.kpi p {
    font-size: 24px;
    font-weight: bold;
}

/* Tabelas avançadas */
#ranking-table th {
    background: #000;
    color: white;
}
/* ===== MENU FIXO E ESTILOSÃO ===== */
.menu-topo {
    width: 100%;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.menu-topo ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-topo li {
    display: inline-block;
}

.menu-topo a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: 0.2s ease-in-out;
}

.menu-topo a:hover {
    color: #00e5ff;
    text-shadow: 0 0 8px #00e5ff;
    transform: translateY(-2px);
}
