body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    overflow-y: auto; /* Permite rolagem vertical quando necessário */
}

label {
    font-size: 14px;
    color: #777;
}

.container {
    width: 350px;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.batidas-container {
    margin-top: 20px; /* Adiciona um espaço entre os contêineres */
    width: 500px;
    font-size: small;
}

h1 {
    margin-bottom: 10px; /* Espaçamento entre o título e o formulário */
    font-size: 22px;
    font-weight: bold;
    text-align: center; /* Centraliza o título */
}

h2 {
    margin-bottom: 10px; /* Espaçamento entre o título e o formulário */
    font-size: 16px;
    font-weight: bold;
    text-align: center; /* Centraliza o título */
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin: 0px 0px 2px 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    display: flex;
    width: 170px;
    padding: 10px;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto; /* Centraliza horizontalmente */
}

button:hover {
    background-color: #45a049;
}

.nav-link {
    display: block; /* Mantém o comportamento de bloco para respeitar alinhamento */
    text-align: center; /* Alinha o texto horizontalmente ao centro */
    font-size: 12px;
    color: #007bff; /* Mantém a cor azul padrão */
    text-decoration: none; /* Remove o sublinhado padrão */
    margin-top: 10px; /* Espaçamento do formulário */
}

.nav-link:hover {
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
}

/* Container da senha para alinhar o campo e o botão do olho */
.password-container {
    display: flex;
    align-items: center;
    position: relative;
    margin: 2px 0; /* Adiciona margem para igualar aos inputs comuns */
}

/* Faz com que o botão de alternância da senha não quebre a linha e fique à direita */
.password-container input {
    flex: 1;
    padding-right: 35px; /* Espaço reservado para o botão do olho */
    width: 100%; /* Garante que o input ocupe todo o espaço disponível no container flex */
    box-sizing: border-box; /* Garante que o padding não estoure a largura */
    margin: 0; /* Remove a margem padrão do input pois o container já tem */
    height: 35px; /* Força uma altura consistente */
}

/* Estilização do botão que alterna a visibilidade da senha */
.toggle-password {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    width: auto; /* Remove a largura fixa do botão genérico */
    padding: 0;
}

.toggle-password:focus {
    outline: none;
}

#loading {
    display: none; /* Oculto por padrão */
    text-align: center;
    margin-top: 10px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
    display: inline-block; /* Spinner inline */
    margin-top: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.privacy-link-wrapper {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

.privacy-link {
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
    color: #000;
}

/* Estilo para a caixa de informações de empresa */
.info-box {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #0d47a1;
    text-align: center;
    line-height: 1.4;
}

.info-box strong {
    font-weight: bold;
}

/* User Type Selection Styles */
.user-type-selection {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.radio-option:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: auto;
    margin-bottom: 0;
    margin-top: 0;
}

/* Highlight selected option */
.radio-option input[type="radio"]:checked + span {
    font-weight: bold;
    color: #0d47a1;
}

/* ============================================= */
/* RESPONSIVIDADE                */
/* ============================================= */
@media (max-width: 768px) {
    .container {
        width: auto;
        padding: 10px 20px 10px 10px;
        margin: 0px 10px 0px 10px;
    }
}
