/* auth_modal.css */

/* =========================================
   MODAIS (LOGIN / CADASTRO)
   ========================================= */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 7000; justify-content: center; align-items: center; backdrop-filter: blur(4px); padding: 16px; box-sizing: border-box; }
.modal-overlay.open { display: flex; }

.modal-box { 
    background: var(--bg-container); 
    padding: 30px; 
    border-radius: 12px; 
    width: 90%; 
    max-width: 400px; 
    position: relative; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); 
}

/* Novo wrapper para os botões do Google */
.google-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 100%;
}

/* A linha separadora estilizada de ponta a ponta */
.divider-ou {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #888;
    font-size: 0.8rem;
    font-weight: bold;
}

.divider-ou::before, 
.divider-ou::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider-ou::before { margin-right: 15px; }
.divider-ou::after { margin-left: 15px; }

.close-modal { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; }
.close-modal:hover { color: var(--danger-color); }

.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 30px; color: var(--text-main); text-align: center; }

.input-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--text-main); margin-top: 15px; }

.modal-input { width: 100%; padding: 12px; border-radius: 6px; box-sizing: border-box; }

.btn-modal-action { width: 100%; padding: 14px; margin-top: 25px; background: var(--accent-color); color: white; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-modal-action:hover { opacity: 0.9; transform: translateY(-1px); }

.modal-footer { margin-top: 20px; text-align: center; font-size: 0.9rem; color: #777; }
.modal-footer a { color: var(--accent-color); text-decoration: none; font-weight: 600; }

/* Elementos do formulário de cadastro */
.ddi-input { 
    width: 65px; 
    background: var(--hover-row); 
    font-weight: 600; 
    color: var(--text-main); 
    border: 1px solid var(--border-color); 
    text-align: center; 
    border-radius: 6px; 
    padding: 12px 5px; 
}
.ddi-input:focus { 
    background: var(--input-bg); 
    border-color: var(--accent-color); 
    outline: none; 
}
.phone-display-group { display: flex; gap: 10px; }