/* Impulso+ Lead Form — estilos base neutros, compatibles con la mayoría de temas */

.impulso-form-wrap {
    max-width: 640px;
    margin: 2rem auto;
    font-family: inherit;
}

.impulso-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.impulso-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.impulso-form__group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.impulso-form__group .required {
    color: #c0392b;
    margin-left: 2px;
}

.impulso-form__group input,
.impulso-form__group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.impulso-form__group input:focus,
.impulso-form__group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.impulso-form__group textarea {
    resize: vertical;
    min-height: 100px;
}

.impulso-form__actions {
    margin-top: 0.5rem;
}

.impulso-btn {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.impulso-btn:hover {
    background-color: #1d4ed8;
}

.impulso-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback messages */
.impulso-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
}

.impulso-feedback.is-success {
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    display: block;
}

.impulso-feedback.is-error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    display: block;
}

.impulso-feedback.is-loading {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    display: block;
}
