/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f0f4f8, #d9e2ec);
    color: #333;
    padding: 40px;
}

/* Container principal */
.container {
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.container-admin {
    margin: auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Cabeçalho */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header img {
    max-width: 120px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 24px;
    color: #2a4d69;
}

/* Estilo dos campos */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2a4d69;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus {
    border-color: #2a4d69;
    outline: none;
}

/* Botão */
.btn {
    display: inline-block;
    background-color: #2a4d69;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1e3a56;
}

.modal-sucesso {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-conteudo {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.modal-conteudo h2 {
    color: #2a4d69;
    margin-bottom: 10px;
}

.modal-conteudo button {
    background-color: #2a4d69;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* Campo extra */
.form-group.outro {
    animation: fadeIn 0.4s ease-in-out;
}

footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

/* Estilo para o CAPTCHA */
.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    transform: scale(1.05); /* leve aumento para destacar */
    transform-origin: center;
}

/* Página de sucesso */
.sucesso {
    text-align: center;
    padding: 40px 20px;
}

.sucesso h1 {
    font-size: 26px;
    color: #2a4d69;
    margin-bottom: 20px;
}

.sucesso p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.sucesso .btn {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #2a4d69;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sucesso .btn:hover {
    background-color: #1e3a56;
}

.btn-export {
    background-color: #2a4d69 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    margin-right: 10px;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
}

.btn-export:hover {
    background-color: #1e3a56 !important;
}

.dataTables_wrapper {
    margin-top: 30px;
    font-size: 15px;
}

table.dataTable thead th {
    background-color: #2a4d69;
    color: #fff;
    border: none;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.tabela-usuarios {
    margin-top: 30px;
    border-collapse: collapse;
}

.tabela-usuarios th,
.tabela-usuarios td {
    padding: 12px 15px;
    border: 1px solid #ccc;
    text-align: left;
}

.tabela-usuarios th {
    background-color: #2a4d69;
    color: #fff;
}

.tabela-usuarios tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Responsivo para telas menores */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.9);
    }
}

/* Animação suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}