/*Общее*/
input:hover,input:focus,textarea:focus,textarea:hover{outline:none}

/*Вертикальная форма*/
.form {}

/*Поля*/
.form input, .form textarea {font-size: 20px;box-shadow: inset 0px 2px 10px rgba(51, 51, 51, 0.07); line-height: 1.5rem; border: none; background-color: var(--light); border-radius: 6px; padding: 0.8rem 1rem; width: 100%; margin-bottom: 0.5rem; }
.form [type=submit] {display: block;width: 100%;}
.form input::placeholder, .form textarea::placeholder {color: #BFBFBF;}

/**/
form .alert { color: red; font-size: 0.8rem; margin-top: -.5rem; }
form .messages>div {padding: 1rem;background-color: green; color: white; margin: 0.5rem 0; text-align: center}
form .messages .fail {background-color: red}

/**/
.check {position: relative;padding-bottom: 5px;display: flex; gap: 1rem}
.check label {padding-left: 15px;}
.check input {opacity: 0;width: auto}
.check input +label:before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background-color: transparent; border: 1px solid white; border-radius: 3px; }
.check input:checked +label:after { background-color: white; content: ""; width: 12px; height: 12px; left: 4px; top: 4px; border-radius: 2px; position: absolute; }

.check-main .check input +label:before {background-color: #cacaca;}
.check-main .check input:checked +label:after {background-color: var(--c1);}

/**/
.bg-check .radio input +label:before { width: 100%; height: 100%; z-index: -1; border: 2px solid var(--c1); border-radius: 0; }
.bg-check .radio input +label:after {content: none;}
.bg-check .radio input+label {z-index: 1; line-height: 50px;padding: 0 15px;width: auto;text-align: center;cursor: pointer}
.bg-check .radio input:checked +label {color: white;}
.bg-check .radio input:checked +label:before {background-color: var(--c1);}
.bg-check .radio {height: 50px;width: 100%; justify-content: center}
.bg-check .radio input {position: absolute; left: -100000px; }
.bg-check .radio .icon {height: 100%;width: 2rem;z-index: 9;}

/**/
.form.hide{display:none}
[action="send_form"] [name='user-email'] {opacity: 0;position: absolute;z-index: -1;top: 0;left: 0}