/* Estilo da estrutura principal */
.mainframe {
    background-color: #FFFFFF;
    padding: 20px;
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilo dos títulos */
.mainframe h3 {
    font-size: 1.75em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

/* Estilo das mensagens de erro */
.error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Estilo das labels e alinhamento de elementos do formulário */
.form-label {
    font-weight: bold;
    font-size: 1.25em;
    display: block;
    text-align: left;
    margin-top: 10px;
}

/* Input Fields */
.form-control {
    font-size: 1em;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
}

/* Estilo para o botão principal */
.btn-login {
    background-color: #0D6EFD;
    color: white;
    font-weight: bold;
    width: auto; /*100%;*/
    padding: 12px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-login:hover {
    background-color: #0056b3;
    border-color: #004494;
}

/* Estilo do checkbox e label */
.form-check {
    text-align: left;
    margin-bottom: 15px;
}

.form-check-label {
    font-weight: bold;
    font-size: 1em;
    margin-left: 8px;
}

/* Estilo dos links */
.link-bold {
    font-weight: bold;
    font-size: 1.1em;
    color: #0D6EFD;
    display: block;
    margin-top: 15px;
    transition: color 0.2s;
    text-align: center;
}

.link-bold:hover {
    color: #0056b3;
    text-decoration: underline;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 300px;
    margin: 20px auto;
}

/* Cabeçalho */
.header {
    background-color: #0D6EFD; /* Cor do botão principal */
    padding: 10px;
    text-align: center;
}

/* Links de botão do cabeçalho */
.header a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.header a:hover {
    color: #FFD700; /* Cor ao passar o mouse */
}

/* Ajuste de altura e estilo dos botões no segundo cabeçalho */
/* Botões do Segundo Cabeçalho (Cab2) */
.second-header .btn {
    display: flex; /* Garante alinhamento interno */
    align-items: center; /* Centraliza verticalmente o conteúdo */
    justify-content: center; /* Centraliza horizontalmente o conteúdo */
    padding: 0.375rem 0.75rem; /* Espaçamento interno similar ao Bootstrap */
    font-size: 1rem; /* Tamanho de fonte padrão */
    font-weight: 700; /* Equivalente a 'fw-bold' no Bootstrap */
    text-align: center; /* Centraliza texto */
    text-decoration: none; /* Remove sublinhado */
    color: #000; /* Cor do texto */
    background-color: #0D6EFD; /* Fundo */
    border: 1px solid #0D6EFD; /* Borda */
    border-radius: 0.25rem; /* Bordas arredondadas */
    cursor: pointer; /* Define o cursor como pointer */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* Efeito de transição */
    height: 40px; /* Altura fixa */
    min-width: 40px; /* Largura mínima */
    box-sizing: border-box; /* Inclui padding e borda no cálculo de altura/largura */
}


.dropdown-toggle::after {
    display: none; /* Remove a seta de dropdown */
}


/* Comportamento ao passar o mouse (hover) */
.second-header .btn:hover {
    color: #000; /* Mantém o texto branco */
    background-color: #CFCFCF; /* Fundo mais escuro */
    border-color: #000000; /* Borda mais escura */
}

/* Comportamento ao clicar (focus) */
.head-button:focus {
    outline: none; /* Remove contornos padrão */
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); /* Sombra de foco */
}

