.avtolux-form-shell {
    width: 100%;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(32, 38, 36, 0.1);
    border-radius: 16px;
    background: #fff;
    color: #202624;
}

.avtolux-form-shell,
.avtolux-form-shell * {
    box-sizing: border-box;
}

.avtolux-form {
    margin: 0;
}

.avtolux-form__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.avtolux-form__field {
    min-width: 0;
}

.avtolux-form__label {
    display: block;
    margin: 0 0 8px;
    color: #202624;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.avtolux-form__input,
.avtolux-form__submit {
    min-height: 50px;
    border-radius: 10px;
    font: inherit;
}

.avtolux-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #aeb6b1;
    background: #fff;
    color: #202624;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.avtolux-form__input::placeholder {
    color: #67716b;
    opacity: 1;
}

.avtolux-form__input:focus-visible {
    border-color: #755c2d;
    outline: 2px solid #755c2d;
    outline-offset: 2px;
}

.avtolux-form__input[aria-invalid="true"] {
    border-color: #a72d24;
}

.avtolux-form__field-error {
    display: block;
    min-height: 20px;
    margin-top: 5px;
    color: #8d211b;
    font-size: 14px;
    line-height: 1.4;
}

.avtolux-form__submit {
    min-width: 190px;
    margin-bottom: 25px;
    padding: 12px 22px;
    border: 1px solid #cdba8f;
    background: #cdba8f;
    color: #151918;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.avtolux-form__submit:hover {
    border-color: #bca777;
    background: #bca777;
}

.avtolux-form__submit:focus-visible {
    outline: 2px solid #755c2d;
    outline-offset: 3px;
}

.avtolux-form__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.avtolux-form__hint,
.avtolux-form__local-notice,
.avtolux-form__vehicle,
.avtolux-form__status {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.avtolux-form__hint,
.avtolux-form__vehicle {
    color: #5d6661;
}

.avtolux-form__local-notice {
    color: #755c2d;
}

.avtolux-form__status {
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.avtolux-form__status--loading {
    background: #f2efe7;
    color: #51482f;
}

.avtolux-form__status--success {
    background: #e8f3eb;
    color: #245b34;
}

.avtolux-form__status--error {
    background: #f9e9e7;
    color: #7b1d18;
}

.avtolux-form__trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.avtolux-form-shell--compact {
    padding: 24px;
}

.avtolux-form-shell--compact .avtolux-form__fields {
    grid-template-columns: 1fr;
}

.avtolux-form-shell--compact .avtolux-form__submit {
    width: 100%;
    margin-bottom: 0;
}

@media (max-width: 820px) {
    .avtolux-form__fields {
        grid-template-columns: 1fr;
    }

    .avtolux-form__submit {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .avtolux-form-shell,
    .avtolux-form-shell--compact {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .avtolux-form__input,
    .avtolux-form__submit {
        transition: none;
    }
}
