/* ================= RESET BÁSICO ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    background-color: #f2f2f2;
}

.container {
    width: 100%;
    max-width: 600px; /* mantém o tamanho agradável no desktop */
    background: #fff;
    padding: 20px 25px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* ================= TERMO DE ACEITE ================= */
.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.caixa-termos {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.281) 2px 2px 10px;
    width: 90%;
    max-width: 700px;
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.texto-termos {
    border: 1px solid #ddd;
    padding: 15px;
    height: 350px;
    overflow-y: auto;
    margin: 15px 0;
}

.texto-termos h2 {
    margin-top: 15px;
    color: #1f8f4a;
}

.texto-termos p {
    margin-top: 10px;
    line-height: 1.6;
}

.acoes {
    margin-top: 1px;
}

.checkbox {
    display: inline-block;
    margin-bottom: 20px;
    margin-left: 0;
}

#aceite{
    display: inline;
    width: 20px;
}

.botoes {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    padding: 10px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.cancelar {
    background-color: #aaa;
}

.continuar {
    background-color: #1f8f4a;
}

.continuar:disabled {
    background-color: #9cccaf;
    cursor: not-allowed;
}

/* ================= FORMULÁRIO DE CADASTRO ================= */
/* ================= FUNDO ================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    height: 100vh;
}

/* Overlay para centralizar a caixa */
.bg-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Caixa do formulário */
.cadastro-box {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}

/* Título */
.titulo-form {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: bold;
}

/* Labels e inputs */
label {
    margin-top: 12px;
    font-weight: bold;
    color: #333;
}

.campoespaco{
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s;
}

input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 5px rgba(46,125,50,0.4);
}

#sexo_outro_container {
    width: 100%;
}

#sexo, #sexo_outro {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s;
}

#sexo:focus, #sexo_outro:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 5px rgba(46,125,50,0.4);
}

/* Botão */
.btn-continuar {
    margin-top: 20px;
    width: 150px;
    padding: 14px 0;
    background: #2e7d32;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    
}

.btn-continuar:hover {
    background: #1f5b20;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 480px) {
    .cadastro-box {
        padding: 20px;
    }
    .titulo-form { font-size: 1.5em; }
}

/* ================= SERVIÇOS TIPO BALÃO ================= */
.servicos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.servicos-container input[type="checkbox"] {
    display: none; /* esconde o checkbox real */
}

.servicos-container label {
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.servicos-container input[type="checkbox"]:checked + label {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.servicos-container label:hover {
    background: #e0e0e0;
}

/* ================= TEXTAREA ================= */
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 14px;
    transition: 0.2s;
}

textarea:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 5px rgba(46,125,50,0.4);
}

/* ================= BOTÕES ================= */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.form-buttons button {
    flex: 1;
    padding: 14px 0;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-voltar {
    background: #aaa;
    color: #fff;
}

.btn-voltar:hover {
    background: #888;
}

.btn-continuar {
    background: #2e7d32;
    color: #fff;
}

.btn-continuar:hover {
    background: #1f5b20;
}


