form {display: grid; grid-template-columns: 1fr; grid-gap: 20px; font-weight: 100;}
form input, form textarea, form select {background: #fff; outline: 0; border: 2px solid #fff; width: 100%; box-sizing: border-box; padding: 15px 15px 5px; display: inline-block; font-size: 16px; color: #000; font-family: inherit; transition: 0.3s; line-height: 36px; font-weight: 400; border-radius: 10px;}
form input::placeholder, form textarea::placeholder {color: #0002; opacity: 1;}

.form-grid {display: grid; grid-template-columns: 1fr 1fr; grid-gap: 20px;}
.select-grid {grid-template-columns: 4fr 3fr;}


.form-field, .select-wrapper {position: relative; transition: 0.3s;}
.form-field label, .select-wrapper label {position: absolute; user-select: none; pointer-events: none; opacity: 1;font-size: 16px; transition: 0.3s;display: block; color: #2C2C2C; font-weight: 400;top: 23px; left: 17px;}

.active-focus label {font-size: 10px; font-weight: 500; color: var(--orange); top: 10px;}

.select-wrapper::before {content: ''; display: block; position: absolute; top: 27px; right: 20px; background: var(--orange); mask-image: url('/img/select-arrow.svg'); width: 12px; height: 8px; mask-size: contain; z-index: 1; mask-repeat: no-repeat;}

.form-field textarea {resize: none;height: 135px; overflow: auto;}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #2B3E50 !important;
    border-color: #0002 !important;
    font-family: inherit;
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:focus {
    transition: background-color 9999s ease-out, color 9999s ease-out;
    -webkit-animation: autofill-fix 0s 9999s both;
}

@keyframes autofill-fix {
    100% {
        background-color: #fff;
        color: #2B3E50;
    }
}

.form-field input[data-autocompleted] {
    background-color: transparent !important;
}

.form-field.active-focus input, .select-wrapper.active-focus select {border: 2px solid var(--orange);}

form .check-label {display: flex; align-items: center; padding: 7px 20px 5px 50px; line-height: 28px; justify-content: flex-start; user-select: none; position: relative; font-size: 17px; text-transform: none; margin: 0;}
form .check-label input {width: 30px; position: absolute; top: 50%; left: 0px; transform: translateY(-50%); cursor: pointer;border: 1px solid #4E5061; overflow: hidden;-webkit-appearance: none;height: 30px;padding: 0;transition: 0.3s;background: #26283C; box-sizing: border-box;}
form .check-label input:checked {background: #fff427;border: 1px solid #fff0;}

form .check-label input::before {content: '';display: block;position: relative;width: 5px;height: 3px;transform: rotate(45deg);background: #000;right: -7px;top: -15px;transition: 0.3s;}
form .check-label input::after {content: '';display: block;position: relative;width: 15px;height: 3px;transform: rotate(-45deg);background: #000;right: -8px;top: -15px;transition: 0.3s;}
form .check-label input:checked::before {top: 15px;background: #000;}
form .check-label input:checked::after {top: 10px;background: #000;}

.highlight_message p {color: #61161f!important;text-align: center!important;padding: 15px;background-color: #fdd!important;border-radius: 5px;border: 1px solid #f1b7bf;width: 100%!important; margin: 0 auto 20px!important; font-size: 16px!important; box-sizing: border-box; font-weight: 500;}
.success-message p {width: 100%;text-align: center;padding: 15px;margin: 0 auto 20px!important;background: #2dd284!important;border-radius: 5px;color: #fff!important; border: 1px solid #2dd284!important; font-size: 16px!important; box-sizing: border-box; font-weight: 500;}
.form-field-missing input {border: 2px solid #f1b7bf!important; }
