/* zaca Newsletter form */

.znl-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.znl-wrap {
    font-family: inherit;
}

.znl-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.znl-email-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid var(--accent-light, #c8d7f8);
    padding: .5rem;
    border-radius: 1.5em;
    transition: border-color 0.15s;
}

.znl-email-row:hover {
    border-color: var(--accent, #5268ff);
}

.znl-email-row:focus-within {
    border-color: var(--accent-light, #c8d7f8);
}

.znl-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--accent-light, #c8d7f8) !important;
    border-radius: 1em !important;
    font-size: 16px;
    font-family: inherit;
    color: #12171f;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.znl-input:focus {
    outline: none;
    border-color: var(--accent-focus, #3741d9) !important;
}

.znl-input.is-invalid {
    border-color: #c0392b !important;
    animation: znl-shake 0.3s ease;
}

@keyframes znl-shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-6px); }
    75%       { transform: translateX(6px); }
}

/* Email input binnen de row heeft geen volledige breedte */
.znl-email-row .znl-input {
    flex: 1;
    min-width: 160px;
    padding: 1rem 1.25rem !important;
    border: 1px solid var(--accent-light, #c8d7f8) !important;
}

.znl-email-row .znl-input:focus {
    border-color: var(--accent-focus, #3741d9) !important;
}

.znl-btn {
    padding: 1rem 1.5rem;
    background: var(--accent, #5268ff);
    color: #fff !important;
    border: none;
    border-radius: 1em;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}

.znl-btn:hover {
    background: var(--accent-focus, #3741d9);
}

.znl-btn:active {
    transform: scale(0.98);
}

.znl-btn:disabled {
    opacity: 0.7;
    pointer-events: none;
}

.znl-error {
    margin: 8px 0 0;
    font-size: 14px;
    color: #c0392b;
}

.znl-success {
    text-align: center;
    padding: 24px 0 8px;
}

.znl-confirm-icon {
    width: 30px;
    height: 30px;
    color: var(--accent, #5268ff);
    margin: 0 auto 16px;
}

.znl-confirm-icon svg {
    width: 100%;
    height: 100%;
}

.znl-confirm-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #12171f;
    margin: 0 0 8px;
}

.znl-confirm-body {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 600px) {
    .znl-btn {
        width: 100%;
    }
}
