/* Form Styles - Airws */
.airws-form-section {
    padding: 30px;
    margin-bottom: 30px;
}

.airws-form__row {
    margin-bottom: 24px;
}

.airws-form__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--chernyy);
}

.airws-form__field {
    flex: 1;
    width: 100%;
}

.airws-form__label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: var(--siniy);
}

.airws-form__required {
    color: var(--krasnyy);
}

.airws-form__input, .airws-form__textarea {
    width: 100%;
    transition: var(--transition);
    border: 1px solid var(--obvodka-forma);
    background: #fff;
    font-weight: 400;
    font-size: 14px;
    color: currentColor;
    border-radius: 32px;
    padding: 13px 21px 12px 20px;
    height: 45px;
}

textarea.airws-form__input, .airws-form__textarea {
    padding: 13px 24px;
    height: auto;
}

.airws-form__input::placeholder, .airws-form__textarea::placeholder {
    color: var(--seryy);
}

.airws-form__input::-webkit-input-placeholder, .airws-form__textarea::-webkit-input-placeholder {
    color: var(--seryy);
}

.airws-form__input:focus, .airws-form__textarea:focus {
    outline: none;
    border-color: var(--siniy);
}

.airws-form__actions {
    display: flex;
    gap: 30px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.airws-form__input.airws-form-error, .airws-form__textarea.airws-form-error {
    border-color: var(--krasnyy) !important;
}

.airws-form-error-message {
    font-weight: 400;
    font-size: 14px;
    color: var(--krasnyy);
    margin-top: 12px;
    width: 100%;
}

.airws-form-error ~ .airws-custom-select .airws-custom-select__selected {
    border-color: var(--krasnyy) !important;
}

.airws-form__agreement {
    margin-top: 10px;
    font-weight: 400;
    font-size: 14px;
    color: var(--seryy);
}

.airws-form__agreement a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #e8833a;
}

.airws-form__agreement a:hover {
    text-decoration: none;
}

.consent-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    width: 100%;
}

.consent-checkbox__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.consent-checkbox__mark {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--obvodka-forma);
}

.consent-checkbox__mark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #e8833a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.consent-checkbox__input:checked + .consent-checkbox__mark::after {
    opacity: 1;
}

.consent-checkbox__input:focus-visible + .consent-checkbox__mark {
    outline: 2px solid #e8833a;
    outline-offset: 2px;
}

.consent-checkbox__link {
    color: #e8833a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.consent-checkbox__link:hover {
    color: #c76a28;
}

.consent-checkbox__text {
    display: block;
    width: calc(100% - 32px);
}

.airws-form-error ~ .consent-checkbox__mark {
    border-color: var(--krasnyy);
}
