.vz-form-wrap {
    width: 100%;
    max-width: min(100%, var(--vz-form-max-width, 680px));
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
    font-family: var(--vz-font-family, inherit);
    min-width: 0;
}

.vz-form-align-left {
    margin-left: 0;
    margin-right: auto;
}

.vz-form-align-center {
    margin-left: auto;
    margin-right: auto;
}

.vz-form-align-right {
    margin-left: auto;
    margin-right: 0;
}

.vz-form-wrap *,
.vz-form-wrap *::before,
.vz-form-wrap *::after {
    box-sizing: border-box;
}

.vz-form-title {
    margin: 0 0 1rem;
    line-height: 1.25;
}

.vz-form {
    display: grid;
    gap: var(--vz-field-spacing, 16px);
    width: 100%;
    min-width: 0;
}

.vz-field {
    display: grid;
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

.vz-field label {
    color: var(--vz-label, #111827);
    font-weight: 600;
    line-height: 1.35;
}

.vz-field input[type="text"],
.vz-field input[type="email"],
.vz-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--vz-field-border, #d1d5db);
    border-radius: var(--vz-field-radius, 10px);
    background: var(--vz-field-bg, #fff);
    color: var(--vz-field-text, #111827);
    font: inherit;
    line-height: 1.4;
    box-shadow: none;
    appearance: none;
}

.vz-input-compact .vz-field input[type="text"],
.vz-input-compact .vz-field input[type="email"],
.vz-input-compact .vz-field textarea {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
}

.vz-input-large .vz-field input[type="text"],
.vz-input-large .vz-field input[type="email"],
.vz-input-large .vz-field textarea {
    min-height: 52px;
    padding: 0.95rem 1rem;
}

.vz-field textarea {
    resize: vertical;
    min-height: 140px;
}

.vz-field input::placeholder,
.vz-field textarea::placeholder {
    color: var(--vz-placeholder, #6b7280);
    opacity: 1;
}

.vz-field input:focus,
.vz-field textarea:focus {
    outline: 2px solid transparent;
    border-color: var(--vz-field-focus, var(--vz-primary, #111827));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vz-field-focus, #111827) 18%, transparent);
}

@supports not (color: color-mix(in srgb, #000 10%, transparent)) {
    .vz-field input:focus,
    .vz-field textarea:focus {
        box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
    }
}


.vz-consent label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 400;
}

.vz-field.vz-consent label,
.vz-field.vz-privacy-policy-checkbox label,
.vz-privacy-policy p {
    font-weight: 400;
    font-size: inherit;
    line-height: 1.5;
}

.vz-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    margin-top: 0.25rem;
}

.vz-submit-row {
    display: flex;
    width: 100%;
}

.vz-button-align-left .vz-submit-row {
    justify-content: flex-start;
}

.vz-button-align-center .vz-submit-row {
    justify-content: center;
}

.vz-button-align-right .vz-submit-row {
    justify-content: flex-end;
}

.vz-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 44px;
    padding: 0.75rem 1.2rem;
    border: 0;
    border-radius: var(--vz-button-radius, 999px);
    background: var(--vz-button-bg, var(--vz-primary, #111827));
    color: var(--vz-button-text, #fff);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease, color 120ms ease;
}

.vz-submit:hover,
.vz-submit:focus-visible {
    background: var(--vz-button-hover-bg, var(--vz-button-bg, #111827));
    color: var(--vz-button-hover-text, var(--vz-button-text, #fff));
    transform: translateY(-1px);
}

.vz-submit:active {
    transform: translateY(0);
}

.vz-button-full .vz-submit,
.vz-button-full .vz-submit-row {
    width: 100%;
}

.vz-notice {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1.35;
}

.vz-notice-success {
    background: var(--vz-success-bg, #ecfdf5);
    border: 1px solid var(--vz-success-border, #a7f3d0);
    color: var(--vz-success-text, #065f46);
}

.vz-notice-error {
    background: var(--vz-error-bg, #fef2f2);
    border: 1px solid var(--vz-error-border, #fecaca);
    color: var(--vz-error-text, #991b1b);
}

.vz-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 600px) {
    .vz-form-wrap {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .vz-form-title {
        margin-bottom: 0.85rem;
    }

    .vz-form {
        gap: min(var(--vz-field-spacing, 16px), 16px);
    }

    .vz-field input[type="text"],
    .vz-field input[type="email"],
    .vz-field textarea,
    .vz-field select {
        min-height: 46px;
        font-size: 16px;
    }

    .vz-field select {
        line-height: 1.5;
    }

    .vz-mobile-button-full .vz-submit,
    .vz-mobile-button-full .vz-submit-row {
        width: 100%;
    }
}

.vz-field select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.8rem 2.4rem 0.8rem 0.9rem;
    border: 1px solid var(--vz-field-border, #d1d5db);
    border-radius: var(--vz-field-radius, 10px);
    background-color: var(--vz-field-bg, #fff);
    color: var(--vz-field-text, #111827);
    font: inherit;
    line-height: 1.5;
    box-shadow: none;
    -webkit-appearance: menulist;
    appearance: auto;
}

.vz-field select option {
    font: inherit;
    line-height: 1.5;
}

.vz-field select:focus {
    outline: 2px solid transparent;
    border-color: var(--vz-field-focus, var(--vz-primary, #111827));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vz-field-focus, #111827) 18%, transparent);
}

.vz-style-inherit .vz-field select {
    background: inherit;
    color: inherit;
    border-color: currentColor;
    border-radius: var(--vz-field-radius, 6px);
}

.vz-input-compact .vz-field select {
    min-height: 44px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    line-height: 1.5;
}

.vz-input-large .vz-field select {
    min-height: 54px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 1.5;
}


.vz-privacy-policy p {
  margin: 0;
  font-size: inherit;
  line-height: 1.5;
}

.vz-privacy-policy a {
  color: var(--vz-primary-color);
  text-decoration: underline;
}

.vz-privacy-policy-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: inherit;
    line-height: 1.5;
    font-weight: 400;
}

.vz-privacy-policy-checkbox input[type="checkbox"] {
    margin-top: 0.2em;
    flex: 0 0 auto;
}

/* Vokern Zero 0.6.1: client-side validation feedback */
.vz-inline-error {
    margin-top: 6px;
    font-size: 0.9em;
    line-height: 1.4;
    color: var(--vz-error-text, #991b1b);
}

.vz-has-error {
    border-color: var(--vz-error-border, #fca5a5) !important;
}

.vz-field.vz-consent .vz-inline-error,
.vz-field.vz-privacy-policy-checkbox .vz-inline-error {
    margin-left: 0;
}

/* Vokern Zero 0.6.16: keep the honeypot invisible in Elementor editor/preview too. */
.vz-form-wrap .vz-hp,
.elementor-editor-active .vz-form-wrap .vz-hp,
.elementor-editor-preview .vz-form-wrap .vz-hp,
.elementor .vz-form-wrap .vz-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    max-width: 1px !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
