* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f3f4f6;

    color: #18181b;
}

a {
    color: #155eef;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 50px auto;
}

.container.pequeno {
    max-width: 650px;
}

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.topo h1 {
    margin:
        0
        0
        10px;
}

.topo p {
    margin: 0;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card {
    background: #ffffff;

    border-radius: 14px;

    padding: 30px;

    margin-bottom: 24px;
}

.card h2 {
    margin-top: 0;
}

.form-linha {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        auto;

    gap: 12px;

    align-items: center;
}

.admin-novo {
    grid-template-columns:
        1fr
        1fr
        1fr
        auto;
}

.form-coluna {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-coluna label {
    margin-top: 10px;
    font-weight: 600;
}

input,
select {
    width: 100%;

    min-height: 48px;

    padding:
        10px
        14px;

    border:
        1px
        solid
        #d0d5dd;

    border-radius: 8px;

    background: #fff;

    font-size: 16px;
}

input:focus {
    outline: none;

    border-color: #155eef;

    box-shadow:
        0
        0
        0
        3px
        rgba(21, 94, 239, 0.12);
}

.btn {
    min-height: 46px;

    border: none;

    border-radius: 8px;

    padding:
        10px
        18px;

    cursor: pointer;

    font-size: 15px;

    white-space: nowrap;
}

.btn-primary {
    background: #155eef;
    color: #fff;
}

.btn-primary:hover {
    background: #004eeb;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.btn-small {
    min-height: 38px;

    padding:
        7px
        12px;

    font-size: 14px;
}

.btn-full {
    width: 100%;

    margin-top: 20px;
}

.alert {
    padding: 14px 18px;

    border-radius: 8px;

    margin-bottom: 20px;
}

.alert.erro {
    background: #fee2e2;

    color: #991b1b;
}

.alert.sucesso {
    background: #dcfce7;

    color: #166534;
}

.titulo-tabela {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;
}

.contador {
    color: #667085;

    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    text-align: left;

    padding:
        14px
        15px;

    border-bottom:
        1px
        solid
        #e5e7eb;
}

th {
    font-weight: 700;

    background: #fafafa;
}

td.acoes,
th.acoes {
    width: 100px;
}

.vazio {
    text-align: center;

    color: #667085;

    padding: 35px;
}

.texto-ajuda {
    color: #667085;
}

.form-importacao {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;
}

.form-reset {
    display: flex;

    gap: 7px;

    min-width: 260px;
}

.status {
    display: inline-block;

    padding:
        5px
        9px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 600;
}

.status.ativo {
    background: #dcfce7;

    color: #166534;
}

.status.inativo {
    background: #fee2e2;

    color: #991b1b;
}


/* LOGIN */

.login-wrapper {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}

.login-box {
    width: 100%;

    max-width: 420px;

    padding: 36px;

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0
        8px
        30px
        rgba(0, 0, 0, 0.06);
}

.login-box h1 {
    margin:
        0
        0
        5px;

    font-size: 34px;
}

.login-box .subtitulo {
    margin:
        0
        0
        25px;

    color: #667085;
}

.login-box label {
    display: block;

    margin:
        14px
        0
        6px;

    font-weight: 600;
}


/* MOBILE */

@media (
    max-width: 800px
) {

    .container {
        width: 94%;

        margin:
            25px
            auto;
    }

    .topo {
        align-items: flex-start;

        flex-direction: column;
    }

    .menu {
        flex-wrap: wrap;
    }

    .form-linha,
    .admin-novo {
        grid-template-columns: 1fr;
    }

    .form-importacao {
        flex-direction: column;

        align-items: stretch;
    }

    .card {
        padding: 20px;
    }

}