/* ==================================================
   NOVO-CLIENTE.CSS – Visual limpo, estável e moderno
   Remove animações chatas e deixa tudo mais profissional
   ================================================== */

/* Remove o "pulo" do card e o pisca azul forte no hover */
.card:hover {
    transform: none !important;                    /* não sobe mais */
    border-color: var(--border-color) !important; /* impede borda azul forte */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(145deg, #ffffff, #f9fbff); /* leve brilho interno (opcional, lindo) */
}

/* Hover mais suave e estável – mantém a sensação de interatividade */
.card {
    transition: all 0.3s ease;
}

/* Foco nos campos – azul sutil e elegante (sem exageros) */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);   /* glow azul bem suave */
    background-color: #fbfcff;
    transition: all 0.2s ease;
}

/* Se quiser versão ULTRA CLEAN (zero glow azul – minha favorita atual) */
/*
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #fbfcff;
}
*/

/* Melhora visual dos grupos de formulário */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Deixa os campos readonly mais discretos (c (cidade e UF do CEP) */
input[readonly] {
    background-color: #f8fafc !important;
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Botão de submit com feedback visual mais suave */
#btnSubmit {
    transition: all 0.25s ease;
}

#btnSubmit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

#btnSubmit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mensagens de sucesso/erro mais elegantes */
.alert {
    animation: fadeIn 0.4s ease;
    border-left: 5px solid;
}

.alert-success { border-left-color: #10b981; }
.alert-error   { border-left-color: #ef4444; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsividade extra para telas pequenas */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
}