.nte-form,
.nte-form *,
.nte-form *::before,
.nte-form *::after {
    box-sizing: border-box;
}

.nte-form {
    --nte-gap: 14px;
    --nte-cols: 1;
    --nte-accent: #1c1c1c;
    position: relative;
    width: 100%;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 1.45;
}

.nte-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nte-intro {
    margin-bottom: var(--nte-gap);
}

.nte-heading {
    margin: 0 0 0.4em;
    font-size: 1.5em;
    line-height: 1.2;
}

.nte-description {
    margin: 0;
}

.nte-description > :first-child {
    margin-top: 0;
}

.nte-description > :last-child {
    margin-bottom: 0;
}

.nte-body {
    display: flex;
    flex-direction: column;
    gap: var(--nte-gap);
}

.nte-layout-grid .nte-fields {
    display: grid;
    grid-template-columns: repeat(var(--nte-cols), minmax(0, 1fr));
    gap: var(--nte-gap);
}

.nte-layout-grid .nte-field.is-full {
    grid-column: 1 / -1;
}

.nte-layout-grid .nte-fields > .nte-actions {
    align-self: end;
}

.nte-layout-grid .nte-field.is-half {
    grid-column: span 1;
}

.nte-layout-inline .nte-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--nte-gap);
}

.nte-layout-inline .nte-field {
    flex: 1 1 180px;
    min-width: 0;
}

.nte-layout-inline .nte-field.is-full {
    flex-basis: 100%;
}

.nte-layout-inline .nte-fields > .nte-actions {
    flex: 0 0 auto;
}

.nte-field {
    min-width: 0;
}

.nte-labels-above .nte-field:not(.nte-field-choice),
.nte-labels-hidden .nte-field:not(.nte-field-choice),
.nte-labels-floating .nte-field-select {
    display: flex;
    flex-direction: column;
}

.nte-labels-above .nte-field:not(.nte-field-choice) > .nte-label,
.nte-labels-floating .nte-field-select > .nte-label {
    order: -1;
    margin-bottom: 0.4em;
}

.nte-label,
.nte-legend {
    display: block;
    font-size: 0.92em;
    font-weight: 600;
}

.nte-legend {
    float: none;
    width: 100%;
    padding: 0;
}

.nte-req {
    color: #b42318;
}

.nte-input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nte-input:hover {
    border-color: #b7c0cc;
}

.nte-input:focus {
    outline: none;
    border-color: var(--nte-accent);
    box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.12);
}

.nte-input::placeholder {
    color: #8a94a3;
    opacity: 1;
}

.nte-labels-floating .nte-field:not(.nte-field-choice):not(.nte-field-select) {
    position: relative;
}

.elementor-widget-nte-subscription-form .nte-labels-floating .nte-field:not(.nte-field-choice):not(.nte-field-select) > .nte-label {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
    font-weight: 500;
    transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease;
}

.elementor-widget-nte-subscription-form .nte-labels-floating .nte-input:focus + .nte-label,
.elementor-widget-nte-subscription-form .nte-labels-floating .nte-input:not(:placeholder-shown) + .nte-label {
    top: 0.45em;
    transform: none;
    font-size: 0.72em;
}

.nte-labels-floating .nte-field:not(.nte-field-choice):not(.nte-field-select) .nte-input {
    padding-top: 1.35em;
    padding-bottom: 0.45em;
}

.nte-labels-hidden .nte-field:not(.nte-field-choice) > .nte-label,
.nte-labels-hidden .nte-label-group {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nte-choice-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nte-choices {
    display: grid;
    grid-template-columns: repeat(var(--nte-list-cols, 1), minmax(0, 1fr));
    gap: 8px 16px;
}

.nte-choice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.nte-choice input {
    flex: 0 0 auto;
    width: 1.05em;
    height: 1.05em;
    margin: 0.2em 0 0;
    accent-color: var(--nte-accent);
}

.nte-choice a {
    color: inherit;
}

.nte-lists {
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}

.nte-consent {
    display: grid;
    gap: 10px;
}

.nte-note {
    font-size: 0.92em;
}

.nte-actions {
    display: flex;
}

.nte-privacy-link {
    margin-left: 0.4em;
}

.nte-captcha {
    margin-top: var(--nte-gap);
}

.nte-captcha[hidden] {
    display: none;
}

.nte-captcha-label {
    display: grid;
    gap: 6px;
}

.nte-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: var(--nte-btn-width, auto);
    margin: 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #1c1c1c;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nte-button:hover,
.nte-button:focus {
    background: #333;
    color: #fff;
}

.nte-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.18);
}

.nte-button-icon,
.nte-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.nte-button:disabled {
    opacity: 0.72;
}

.nte-button.is-loading::after {
    content: "";
    width: 0.9em;
    height: 0.9em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: nte-spin 0.6s linear infinite;
}

.nte-message {
    margin-top: var(--nte-gap);
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.nte-message[hidden] {
    display: none;
}

.nte-message.is-success {
    color: #146c36;
    background: #eef8f1;
    border-color: #b7e4c7;
}

.nte-message.is-error {
    color: #9b1c1c;
    background: #fdeeee;
    border-color: #f5c2c2;
}

.nte-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@keyframes nte-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .nte-layout-inline .nte-field,
    .nte-layout-inline .nte-fields > .nte-actions,
    .nte-layout-inline .nte-button {
        flex-basis: 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nte-input,
    .nte-button,
    .nte-labels-floating .nte-label {
        transition: none;
    }

    .nte-button.is-loading::after,
    .nte-button:hover {
        animation: none;
        transform: none;
    }
}
