/* Envolva suas telas de administração em um wrapper com essa classe */
.access-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Títulos em telas de access */
.access-page h1 {
    color: #1e40af;
    margin-bottom: 20px;
}

.access-page a {
    color: #2563eb;
    text-decoration: none;
}

.access-page a:hover {
    text-decoration: underline;
}

.access-page .error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Formulários das telas de access */
.access-page form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

.access-page form input[type="text"],
.access-page form input[type="number"] {
    width: 300px;
    padding: 8px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}

/* Botões de formulário (exceto os de ação na tabela) */
.access-page form button:not(.action-btn) {
    margin-top: 20px;
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.access-page form button:hover {
    background-color: #1e40af;
}

.access-page table {
    border-collapse: collapse;
    width: 100%;
}

.access-page table th,
.access-page table td {
    border: 1px solid #cbd5e1;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
}

/* Botões de ação em tabelas (Editar / Excluir) */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 32px;
    padding: 0 !important;  /* força remover qualquer padding do Bootstrap */
    font-size: 0.85rem;
    line-height: 1;
    border-radius: 6px;
    vertical-align: middle; /* garante alinhamento também no botão */
}