* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.is-hidden {
    display: none !important;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.btn-container {
    display: flex;
    justify-content:flex-start;
    margin-bottom: 20px;
}

.btn {
    background:white;
    background-color: #DCDCDC;
    color:black;
    cursor:pointer;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group-container {
    display: flex;
    gap: 1rem;
}
label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;

    white-space: nowrap;
    /* Impede quebra de linha */
    overflow: hidden;
    /* Esconde o conteúdo que passa do limite */
    text-overflow: ellipsis;
    /* Adiciona os "..." no final */
    display: block;
    /* Garante que funcione bem com largura */
    max-width: 100%;
    /* Limita a largura ao contêiner */
}
input,
select,
textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
input[type="checkbox"] {
    width: 18px;
    height: 18px;
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid black;
    background: white;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

/* Quando marcado, o fundo fica azul */
input[type="checkbox"].azul:checked {
    background: blue;
    border-color: black;
}

input[type="checkbox"].azul:disabled {
    opacity: 1 !important;
    cursor: not-allowed;
    background: white !important;
    border: 2px solid black !important;
}

input[type="checkbox"].azul:disabled:checked {
    background: blue !important;
    border: 2px solid black !important;
}
input[type="checkbox"]:checked {
    background: red;
    border-color: black;
}

/* Quando desabilitado, mantém a cor azul se estiver checado */
input[type="checkbox"]:disabled {
    opacity: 1 !important;
    cursor: not-allowed;
    background: white !important;
    border: 2px solid black !important;
}

input[type="checkbox"]:disabled:checked {
    background: red !important;
    border: 2px solid black !important;
}
.password-message {
    font-size: 0.9rem;
    margin-top:0.5rem;
    color: red;
    display: none;
}

/* ID apenas exibição */
.readonly {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* Esconde o campo "conheceunos_obs" por padrão */
#conheceunos_obs {
    display: none;
}

/* Estilo do textarea */
textarea {
    resize: vertical;
    min-height: 80px;
}
.div_titulo {
    margin:0;
    margin-bottom:0.5rem;
    padding:0.5rem;
    text-align:center;
background-color: var(--primary-blue);
    color: var(--white);}
.msg_erro {
    display:none;
    margin-bottom:1rem;
    color:black;
    border:2px solid brown; 
    border-radius:5px;
    background:rgba(200,0,0,0.3); 
    padding:1rem; 

}
th {
    text-align:left;
    padding-left:0.2rem;
}
.tabela_pagamento tbody td {
    border-bottom: 1px solid #ccc;
}
.imagem_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;


}

.imagem_content {
    width: 100px;
    height: 100px;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius: 50%;
    /* Transforma em círculo */
}

.imagem_content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-fit: cover;
    border-radius: 50%;
    visibility: hidden;
}

.imagem_container button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background-color: #DAA520;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.imagem_container button:hover {
    background-color: #ffb700;
}

#fileInput {
    display: none;
}

.file-info {
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
    color: #555;
}
.imagem_manuten {
    
}
@media (max-width: 768px) {
    .tabela_pagamento thead {
        display: none;
    }

    .tabela_pagamento tbody tr {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #ccc;
        padding: 5px;
    }

    .tabela_pagamento tbody td {
        display: flex;
        flex-direction: column;
        width: 50%;
        /* Cada célula ocupará metade da largura */
        padding: 5px;
        position: relative;
        box-sizing: border-box;
        border-bottom:0px solid #ccc;
    }
    
    .tabela_pagamento td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #333;
    }

    /* Faz com que a última célula ocupe a linha inteira */
    .tabela_pagamento td:last-child {
        width: 100%;
        text-align: center;
    }
}#messageBoxModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.message-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.message-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.message-buttons button {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#msgYes {
    background-color: lightgray;
    color: black;
}

#msgNo {
    background-color: lightgray;
    color: black;
}

#msgYes:hover {
    background-color: #007bff;
    /* Azul */
    color: white;
}

#msgNo:hover {
    background-color: #007bff;
    /* Azul */
    color: white;
}