/* RESET BASICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #eef2f3;
    color: #1c2b33;
}

/* CONTAINER PRINCIPAL */
.container {
    width: 95%;
    max-width: 1100px;
    margin: 30px auto;
}

/* HERO */
.hero {
    background: linear-gradient(120deg, #0f4c5c, #146e7d);
    color: white;
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 22px;
    border-left: 6px solid #5ad1c6;
}

.hero h1 {
    font-size: 22px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.hero p {
    opacity: 0.9;
}

/* CARD */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(15,76,92,0.10);
    border: 1px solid #e1ebec;
}

/* TOPO CARD */
.topo h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #0f4c5c;
}

.sub {
    font-size: 13px;
    color: #5a7077;
    margin-bottom: 15px;
}

/* FORM */
form div {
    margin-bottom: 12px;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #2c3e44;
    font-weight: 600;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cfe0e3;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
    background: #fbfdfd;
}

input:focus, select:focus {
    border-color: #146e7d;
    box-shadow: 0 0 0 3px rgba(20,110,125,0.12);
}

/* ROWS */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkRow {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BOTAO */
button {
    background: #146e7d;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.3px;
    transition: 0.2s;
}

button:hover {
    background: #0f4c5c;
}

/* MENSAGEM */
.msg {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #e3f8f1;
    color: #0f6b4a;
    font-size: 14px;
    border-left: 4px solid #1a9b6c;
}

.msg.erro {
    background: #fdeaea;
    color: #a6242a;
    border-left: 4px solid #c0312f;
}

/* TABELA */
.tableWrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    min-width: 600px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #e6eef0;
    text-align: left;
    font-size: 14px;
}

th {
    background: #f1f7f8;
    color: #0f4c5c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.4px;
}

tr:hover td {
    background: #f8fbfb;
}

.vazio {
    text-align: center;
    padding: 20px;
    color: #7c8e94;
}

/* BADGES */
.badge {
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-on {
    background: #d3f3e6;
    color: #0f6b4a;
}

.badge-off {
    background: #fbdada;
    color: #a6242a;
}

/* EXTRAS */
.sigla, .mac {
    font-weight: bold;
    background: #e7f1f2;
    color: #0f4c5c;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 12px;
}

/* RESPONSIVO */
@media (max-width: 700px) {
    .row2 {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 100%;
    }
}
