/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #121214;
    color: #e1e1e6;
}

/* CONTAINER PRINCIPAL */
.container {
    width: 95%;
    max-width: 1100px;
    margin: 30px auto;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #8257e5, #996dff);
    color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.hero p {
    opacity: 0.85;
}

/* CARD */
.card {
    background: #202024;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* TOPO CARD */
.topo h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.sub {
    font-size: 14px;
    color: #8d8d99;
    margin-bottom: 18px;
}

/* FORM */
form div {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #c4c4cc;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #323238;
    border-radius: 6px;
    background: #121214;
    color: #e1e1e6;
}

input:focus, select:focus {
    border-color: #8257e5;
}

/* ROWS */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkRow {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BOTÃO */
button {
    background: #04d361;
    color: #ffffff;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: #03b252;
}

/* MENSAGEM */
.msg {
    padding: 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    background: #04d36122;
    color: #04d361;
    font-size: 15px;
}

.msg.erro {
    background: #e1323822;
    color: #e13238;
}

/* TABELA */
.tableWrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    min-width: 600px;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #323238;
    text-align: left;
    font-size: 15px;
}

th {
    background: #29292e;
    font-weight: 600;
}

.vazio {
    text-align: center;
    padding: 24px;
    color: #8d8d99;
}

/* BADGES */
.badge {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.badge-on {
    background: #04d361;
    color: #ffffff;
}

.badge-off {
    background: #e13238;
    color: #ffffff;
}

/* EXTRAS */
.sigla, .mac {
    font-weight: bold;
    background: #323238;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* RESPONSIVO */
@media (max-width: 700px) {
    .row2 {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 100%;
    }
}