*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

ul,
ol,
li {
	list-style: none;
}

img {
	vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}

html,
body {
	height: 100%;
	line-height: 1.4;
	font-size: 14px;
	background-color: #021f90;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

.wrapper {
	background-image: url(../img/background/Background_2.jpg);

}

.form {
	margin: 80px auto 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.form * {
	outline: none;
}

.form__body {
	position: relative;
}


body::after {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .75) url("../img/tescom-loader.gif") center / 150px no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease;
	z-index: 9998;
}

body._sending::after {
	opacity: 1;
	visibility: visible;
}

.form__item {
	margin-bottom: 20px;
}

.form__label {
	font-size: 18px;
	display: block;
	margin-bottom: 10px;
}

.form__input,
textarea.form__input {
	width: 100%;
	padding: 12px 20px;
	font-size: 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.form__input {
	height: 50px;
}

textarea.form__input {
	min-height: 120px;
	resize: vertical;
}

.form__input:focus {
	box-shadow: 0 0 15px #0081e5;
}

.form__input._error {
	box-shadow: 0 0 15px red;
}

.options {
	padding-top: 10px;
}

.options__item {
	margin-bottom: 10px;
}

.options__input {
	display: none;
}

.options__label {
	display: inline-flex;
	align-items: center;
	font-size: 16px;
	cursor: pointer;
	position: relative;
}

.options__label::before {
	content: "";
	flex: 0 0 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 50%;
	margin-right: 10px;
}

.options__label::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 16px;
	background-color: #0081e5;
	border-radius: 50%;
	transform: scale(0);
	transition: transform 0.3s ease;
}

.options__input:checked+.options__label::after {
	transform: scale(1);
}

.file__item {
	position: relative;
}

.file__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.file__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 20px;
	background-color: #ff0000;
	border-radius: 30px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.file__button:hover {
	background-color: #6b5790;
}

.file__preview {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-start;
	margin-top: 15px;
	width: 100%;
}

.file__preview-item {
	position: relative;
	background: #444;
	border-radius: 12px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 120px;
	text-align: center;
	color: #ddd;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.file__preview-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.file__preview-item img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 6px;
}

.file__icon {
	font-size: 32px;
	margin-bottom: 5px;
}

.file__name {
	font-size: 12px;
	color: #ddd;
	word-break: break-all;
	margin-top: 4px;
	text-align: center;
}

.file__size {
	color: #aaa;
	font-size: 11px;
	margin-top: 3px;
}

/* Кнопка удаления */
.file__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.file__remove:hover {
	background: #e74c3c;
	transform: scale(1.1);
}

.checkbox__input {
	display: none;
}

.checkbox._error .checkbox__label::before {
	box-shadow: 0 0 15px red;
}

.checkbox__input:checked+.checkbox__label::after {
	transform: scale(1);
}

.checkbox__label {
	font-size: 16px;
	line-height: 140%;
	display: inline-flex;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.checkbox__label::before {
	content: "";
	align-self: flex-start;
	flex: 0 0 24px;
	height: 24px;
	background-color: #fff;
	border-radius: 4px;
	margin: 0px 10px 0px 0px;
}

.checkbox__label::after {
	transition: transform 0.5s ease 0s;
	content: "";
	width: 16px;
	height: 16px;
	position: absolute;
	top: 4px;
	left: 4px;
	background-color: #0081e5;
	border-radius: 4px;
	transform: scale(0);
}


.checkbox__label a {
	color: #9ad3fe;
}

.form__button {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60px;
	background-color: #0081e5;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	cursor: pointer;
	border-radius: 20px;
	box-shadow: 0 5px 0 #161b13;
	transition: background-color 0.3s ease, top 0.1s ease;
	position: relative;
	top: 0;
}

.form__button:hover {
	background-color: #ff0000;
}

.form__button:active {
	top: 3px;
	box-shadow: 0 2px 0 #161b13;
}

.notification {
	position: fixed;
	bottom: -60px;
	left: 50%;
	transform: translateX(-50%);
	background: #4CAF50;
	color: white;
	padding: 15px 25px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 9999;
}

.notification.error {
	background: #e74c3c;
}

.notification.show {
	bottom: 30px;
	opacity: 1;
}


.thankyou {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
	padding: 40px;
}

.thankyou__title {
	font-size: 48px;
	font-weight: 700;
	color: var(--dodgerblue);
	margin-bottom: 20px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.thankyou__text {
	font-size: 20px;
	max-width: 600px;
	margin-bottom: 40px;
	line-height: 1.6;
}

.thankyou__button {
	background: var(--red);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 15px 40px;
	border-radius: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

.thankyou__button:hover {
	background: var(--dodgerblue);
	transform: scale(1.05);
}