.agree {
    margin-top: 20px;
    flex-wrap: nowrap;

    & .checkbox {
        max-width: 18px;
        accent-color: #00abaa;
    }

    & label {
        background: none !important;

        & p {
            max-width: 100%;
            font-size: 14px;
        }
    }
}

input:not([type="range"]),
label,
select {
    width: 100%;
    flex: 1 1 100%;
    padding: 16px 48px;
    border-radius: var(--brad_1);
    font-size: 16px;
    background-color: #f4f7f7;
}

label {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
}

.form_checkboxes p,
label p {
    margin-bottom: 8px !important;
    font-size: 16px;
    opacity: 1;
}

input:not([type="range"]):active,
input:not([type="range"]):focus,
select:focus {
    outline: 0;
}

input:not([type="range"]):nth-child(2),
input:not([type="range"]):nth-child(3) {
    flex: 1 1 40%;
}

input:not([type="range"]) {
    /* background-image: url(/assets/form_avatar.svg); */
    background-repeat: no-repeat;
    background-position: 18px;
    background-size: 18px;
    /* color: black !important; */
}

input:not([type="range"]):last-child {
    /* background-image: url(/assets/form_phone.svg); */
}

label:nth-child(4),
label:nth-child(5) {
    flex: 1 1 40%;
}

.form_checkboxes>p {
    margin-bottom: 8px;
}

.form_checkboxes>div {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.form_checkboxes>div p {
    margin-bottom: 0 !important;
}

.form_checkboxes label {
    min-width: max-content;
    max-width: max-content;
    border: 1px solid #dbd4df;
    border-radius: 5000px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.form_checkboxes label p {
    width: max-content;
    text-align: center;
    align-self: center;
    font-size: 16px;
    opacity: 0.7;
}

.form_checkboxes label input:not([type="range"]) {
    display: none;
}

.form_checkboxes label:has(input:not([type="range"]):checked) {
    background-color: var(--accent4);
    border: 1px solid var(--accent4);
}

@media (max-width: 1420px) {
    .form_checkboxes>div {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {}

.input {
    width: 100%;

    & button {
        margin: unset !important;
        position: absolute;
        width: 20px;
        height: 20px;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        min-width: unset !important;
    }
}

input:not([type="range"]) {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;

    background-color: #000;
    /* color: white !important; */
    padding: 16px 20px;
    width: 100%;

    &:focus {
        outline: none;
    }

    &:has(+ input:not([type="range"])) {
        margin-bottom: 12px;
    }
}