/* ══════════════════════════════════════════════════════════════════════
   GoEvents — Formulaire newsletter (front-end)
   ══════════════════════════════════════════════════════════════════════ */

.ge-nl-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--goe-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif);
}

.ge-nl-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ge-nl-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--goe-input-border, #e2e8f0);
    border-radius: var(--goe-radius, 8px);
    padding: 0 14px;
    font-size: calc(.9375rem * var(--goe-scale, 1));
    font-family: inherit;
    color: var(--goe-text, #1d2327);
    background: var(--goe-input-bg, #fff);
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.ge-nl-input:focus {
    border-color: var(--goe-primary, #7c3aed);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--goe-primary, #7c3aed) 15%, transparent);
}
.ge-nl-input::placeholder { color: var(--goe-muted, #94a3b8); }

.ge-nl-submit {
    width: 100%;
    height: 46px;
    background: var(--goe-btn-bg, var(--goe-primary, #7c3aed));
    color: var(--goe-btn-text, #fff);
    border: var(--goe-btn-border, none);
    border-radius: var(--goe-btn-radius, var(--goe-radius, 8px));
    font-family: inherit;
    font-size: calc(.9375rem * var(--goe-scale, 1));
    font-weight: var(--goe-btn-weight, 600);
    text-transform: var(--goe-btn-transform, none);
    cursor: pointer;
    transition: background .15s, transform .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ge-nl-submit:hover   { background: color-mix(in srgb, var(--goe-btn-bg, var(--goe-primary, #7c3aed)) 85%, #000); }
.ge-nl-submit:active  { transform: scale(.98); }
.ge-nl-submit:disabled { opacity: .65; cursor: wait; }

.ge-nl-messages { margin-top: 12px; }

.ge-nl-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;
}
.ge-nl-msg--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.ge-nl-msg--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.ge-nl-msg--warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
