/* CONTAINER PRINCIPAL */
.container-mobile {
    width: 100%;
    min-height: 100vh;
    padding: 80px 25px 40px; /* Espaço para o botão absoluto no topo */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* BOTÃO VOLTAR (POSICIONAMENTO ABSOLUTO) */
.header-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.btn-back {
    background: #F1E9F0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGO */
.logo-section {
    margin-bottom: 35px;
}

.logo-small {
    max-width: 150px;
    height: auto;
}

/* FORMULÁRIO E INPUTS */
.form-cadastro {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
}

.input-field input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: var(--text-dark);
}

.input-field input::placeholder {
    color: #A0A0A0;
}

/* CAMPO DE TELEFONE */
.phone-group .country-code {
    font-weight: 700;
    margin-right: 10px;
    color: var(--text-dark);
}

/* SENHA */
.password-wrapper {
    justify-content: space-between;
}

.toggle-password {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* TERMOS DE USO */
.terms-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    padding: 0 5px;
}

.terms-container input[type="checkbox"] {
    min-width: 20px;
    min-height: 20px;
    accent-color: var(--primary-pink);
    margin-top: 3px;
    border: 1.5px solid #DDD;
}

.terms-container label {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark);
}

.terms-container strong {
    text-decoration: underline;
}

/* BOTÃO CONTINUAR (PADRÃO DESATIVADO) */
.btn-submit {
    background-color: var(--btn-disabled);
    color: var(--text-grey);
    border: none;
    border-radius: 50px;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
    transition: all 0.3s ease;
}

/* CLASSE PARA QUANDO O BOTÃO ESTIVER ATIVO */
.btn-submit.active {
    background-color: var(--primary-pink);
    color: white;
}

/* --- ESTILOS DO MODAL (POP-UP) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fundo escuro transparente */
    backdrop-filter: blur(4px);      /* Efeito de desfoque no fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-success {
    background-color: #d4edda;
    color: #155724;
}

.icon-error {
    background-color: #ffe6e6;
    color: #ff3333;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.modal-message {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.4;
}

.modal-btn {
    background-color: var(--primary-pink, #D92B7E); /* Usa sua cor rosa */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: transform 0.2s;
}

.modal-btn:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}