body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

#verification-form, #logado, #success-message {
    max-width: 400px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
}

#logado {
    max-width: 60%;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: justify;
}

h2 {
    margin-top: 0;
}

.container {
    margin-top: 50px;
}

input[type="text"], .button-ok {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-sizing: border-box; /* Adicionado para garantir que o padding não afete a largura */
}

input[type="password"], .button-ok {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-sizing: border-box; /* Adicionado para garantir que o padding não afete a largura */
}

input[type="checkbox"] {
    margin-top: 20px;
}

.button-ok {
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.button-ok:hover {
    background: #0056b3;
}

#logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}

/* Estilos para o popup de erro */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

.popup-header {
    display: flex;
    justify-content: flex-end;
}

.close {
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.section {
    margin-bottom: 10px;
}

.toggle-buttons {
    display: flex;
    justify-content: space-around;
    max-width: 400px; /* Definindo largura máxima */
    margin: 0 auto; /* Centralizando os botões */
}
.toggle-button {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    flex: 1; /* Para ocupar o espaço igualmente */
    text-align: center;
    max-width: 150px; /* Definindo largura máxima dos botões */
}
.toggle-button.active {
    background-color: #4CAF50;
    color: white;
}
.toggle-button2 {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    flex: 1; /* Para ocupar o espaço igualmente */
    text-align: center;
    max-width: 150px; /* Definindo largura máxima dos botões */
}
.toggle-button2.active {
    background-color: #e55656;
    color: white;
}
.toggle-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.buttons button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
}
.card p {
    margin-bottom: 0.2rem; /* Reduzir a margem inferior dos parágrafos */
}
.card {
    margin-bottom: 20px;
}
.button-group {
    margin-top: 20px;
}
.totalizador {
    margin-top: 20px;
    font-weight: bold;
}
.loading-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}