/* ═══════════════════════════════════════
   AstroGuía Lead Forms — Estilos
   ═══════════════════════════════════════ */

.aglf-form-wrap {
    margin-top: 4px;
}

/* ═══ FORM ═══ */
.aglf-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aglf-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aglf-field {
    position: relative;
}

.aglf-field input {
    width: 100%;
    padding: 13px 16px 13px 38px;
    border: 1.5px solid rgba(147, 109, 66, 0.15);
    border-radius: 12px;
    background: #FAF7F4;
    font-family: 'Mulish', sans-serif;
    font-size: 0.88em;
    color: #2D2D2D;
    outline: none;
    transition: all 0.25s;
    box-sizing: border-box;
}

.aglf-field input::placeholder {
    color: #A89B8E;
}

.aglf-field input:focus {
    border-color: #FFC36A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 195, 106, 0.12);
}

.aglf-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85em;
    pointer-events: none;
    opacity: 0.6;
}

/* Íconos de texto (N y @) — sin emoji, siempre texto */
.aglf-icon--text {
    font-family: 'Mulish', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.78em;
    color: #936D42;
    opacity: 0.75;
}

/* Checkbox de consentimiento */
.aglf-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 2px 0;
}

.aglf-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #936D42;
    cursor: pointer;
}

.aglf-consent span {
    font-family: 'Mulish', sans-serif;
    font-size: 0.72em;
    color: #8A7E72;
    line-height: 1.5;
}

/* ═══ SUBMIT ═══ */
.aglf-submit {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, #FFC36A, #E8A83E);
    color: #2D2D2D !important;
    font-family: 'Cinzel', serif;
    font-size: 0.82em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255, 195, 106, 0.25);
    letter-spacing: 0.02em;
}

.aglf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 195, 106, 0.35);
}

.aglf-submit:active {
    transform: translateY(0);
}

.aglf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ═══ PRIVACY ═══ */
.aglf-privacy {
    font-size: 0.7em;
    color: #A89B8E;
    text-align: center;
    margin: 2px 0 0;
    line-height: 1.4;
}

/* ═══ SUCCESS STATE ═══ */
.aglf-success {
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(255, 195, 106, 0.08), rgba(147, 109, 66, 0.04));
    border-radius: 14px;
    border: 1px solid rgba(255, 195, 106, 0.15);
}

.aglf-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFC36A, #E8A83E);
    color: #2D2D2D;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.aglf-success h4 {
    font-family: 'Cinzel', serif;
    font-size: 1em;
    color: #2D2D2D;
    margin: 0 0 6px;
}

.aglf-success p {
    font-size: 0.85em;
    color: #6B6259;
    margin: 0;
    line-height: 1.5;
}

.aglf-success small {
    color: #A89B8E;
}

/* ═══ ERROR STATE ═══ */
.aglf-error {
    text-align: center;
    padding: 12px 16px;
    background: rgba(220, 80, 80, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(220, 80, 80, 0.12);
}

.aglf-error p {
    font-size: 0.82em;
    color: #C0392B;
    margin: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 480px) {
    .aglf-field input {
        padding: 12px 14px 12px 36px;
        font-size: 0.85em;
    }
    
    .aglf-submit {
        padding: 12px 20px;
        font-size: 0.78em;
    }
}
