
/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

body {
    background: #f0edf8;
    color: #1a1230;
}

/* CONTAINER PRINCIPAL */
.container {
    width: 95%;
    max-width: 1100px;
    margin: 30px auto;
}

/* HERO */
.hero {
    background: #5b3dbf;
    color: white;
    padding: 28px 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #4a2fa8;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 40px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.hero p {
    opacity: 0.8;
    font-size: 14px;
}

/* CARD */
.card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #e4ddf5;
    box-shadow: 0 2px 8px rgba(91, 61, 191, 0.06);
}

/* TOPO CARD */
.topo h2 {
    font-size: 18px;
    font-weight: 600;
    color: #2d1a6e;
    margin-bottom: 4px;
}

.sub {
    font-size: 13px;
    color: #8b7fb8;
    margin-bottom: 18px;
}

/* FORM */
form div {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #5b3dbf;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

input, select {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #ddd8f5;
    border-radius: 10px;
    outline: none;
    transition: 0.2s;
    background: #faf9fe;
    color: #1a1230;
    font-size: 14px;
}

input:focus, select:focus {
    border-color: #7c54e8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 84, 232, 0.12);
}

/* ROWS */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkRow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a3d7a;
}

/* BOTÃO */
button {
    background: #5b3dbf;
    color: white;
    border: none;
    padding: 13px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    letter-spacing: 0.2px;
}

button:hover {
    background: #4a2fa8;
    transform: translateY(-1px);
}

/* MENSAGEM */
.msg {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #ede8ff;
    color: #4a2fa8;
    font-size: 14px;
    border-left: 3px solid #7c54e8;
}

.msg.erro {
    background: #f8f5ff;
    color: #7c54e8;
    border-left-color: #b29ff0;
}

/* TABELA */
.tableWrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    min-width: 600px;
}

th, td {
    padding: 11px 12px;
    border-bottom: 1px solid #f0ecfc;
    text-align: left;
    font-size: 14px;
}

th {
    background: #faf8ff;
    font-weight: 600;
    color: #5b3dbf;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vazio {
    text-align: center;
    padding: 24px;
    color: #9d91cc;
}

/* BADGES */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-on {
    background: #ede8ff;
    color: #4a2fa8;
}

.badge-off {
    background: #f5f3ff;
    color: #9d91cc;
}

/* EXTRAS */
.sigla, .mac {
    font-weight: 700;
    background: #f0ecfc;
    color: #5b3dbf;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

/* RESPONSIVO */
@media (max-width: 700px) {
    .row2 {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 100%;
    }
}