* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 30px;
    background: #f4f6f8;
    color: #263238;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-formulario {
    max-width: 700px;
}

.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

h1 {
    margin: 0;
}

.cabecalho p {
    margin-bottom: 0;
}

.botao {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #1565c0;
    color: white;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.botao:hover {
    opacity: 0.9;
}

.botao:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.botao-secundario {
    background: #546e7a;
}

.botao-perigo {
    background: #c62828;
}

.botao-ativar {
    background: #2e7d32;
}

.mensagem {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 6px;
}

.mensagem-sucesso {
    border: 1px solid #81c784;
    background: #e8f5e9;
    color: #1b5e20;
}

.mensagem-erro {
    border: 1px solid #ef9a9a;
    background: #ffebee;
    color: #b71c1c;
}

.tabela-container {
    overflow-x: auto;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px
        rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: middle;
}

th {
    background: #eceff1;
}

tr:last-child td {
    border-bottom: none;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.status-ativo {
    background: #e8f5e9;
    color: #1b5e20;
}

.status-inativo {
    background: #eceff1;
    color: #455a64;
}

.acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.url {
    max-width: 320px;
    overflow-wrap: anywhere;
}

.vazio {
    padding: 30px;
    text-align: center;
    color: #607d8b;
}

.cartao {
    padding: 28px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px
        rgba(0, 0, 0, 0.08);
}

.cartao h1 {
    margin-bottom: 25px;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

input[type="text"],
input[type="url"],
input[type="password"] {
    width: 100%;
    padding: 11px;
    border: 1px solid #b0bec5;
    border-radius: 6px;
    font-size: 15px;
}

input:focus {
    border-color: #1565c0;
    outline: none;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
}

.checkbox label {
    margin: 0;
}

.ajuda {
    margin-top: 6px;
    color: #607d8b;
    font-size: 13px;
}

.acoes-formulario {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

@media (max-width: 700px) {

    body {
        padding: 15px;
    }

    .cabecalho {
        align-items: flex-start;
        flex-direction: column;
    }

    .cartao {
        padding: 20px;
    }

    .acoes-formulario {
        flex-direction: column;
    }

    .acoes-formulario .botao {
        width: 100%;
    }
}