.videomail-form {
	box-sizing: border-box;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	padding: 24px;
	background: #ffffff;
	border: 1px solid #d8dee6;
	border-radius: 8px;
	color: #1f2933;
}

.videomail-form *,
.videomail-form *::before,
.videomail-form *::after {
	box-sizing: border-box;
}

.videomail-field {
	margin-bottom: 18px;
}

.videomail-label {
	display: block;
	margin-bottom: 7px;
	font-weight: 700;
	color: #1f2933;
}

.videomail-input {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 2px solid #b8c4d2;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font: inherit;
	line-height: 1.45;
}

.videomail-input:focus,
.videomail-button:focus,
.videomail-checkbox-label input:focus {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

.videomail-video-wrap {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 22px 0 16px;
	overflow: hidden;
	border: 2px solid #b8c4d2;
	border-radius: 8px;
	background: #111827;
}

.videomail-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #111827;
}

.videomail-status {
	min-height: 48px;
	margin: 0 0 18px;
	padding: 13px 15px;
	border: 2px solid #b8c4d2;
	border-radius: 6px;
	background: #f4f7fa;
	color: #1f2933;
	font-weight: 700;
	line-height: 1.35;
}

.videomail-status:empty {
	display: none;
}

.videomail-status-success {
	border-color: #2f855a;
	background: #f0fff4;
	color: #22543d;
}

.videomail-status-error {
	border-color: #c53030;
	background: #fff5f5;
	color: #742a2a;
}

.videomail-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.videomail-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 18px;
	border: 2px solid #1769aa;
	border-radius: 6px;
	background: #ffffff;
	color: #1769aa;
	font: inherit;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.videomail-button:hover:not(:disabled) {
	background: #e8f2fb;
}

.videomail-button:disabled {
	border-color: #c4ced8;
	background: #edf1f5;
	color: #6b7785;
	cursor: not-allowed;
}

.videomail-button-primary,
.videomail-button-submit {
	background: #1769aa;
	color: #ffffff;
}

.videomail-button-primary:hover:not(:disabled),
.videomail-button-submit:hover:not(:disabled) {
	background: #0f568f;
}

.videomail-button-danger {
	border-color: #c53030;
	color: #c53030;
}

.videomail-button-danger:hover:not(:disabled) {
	background: #fff5f5;
}

.videomail-privacy {
	margin: 18px 0;
	padding: 16px;
	border: 2px solid #d8dee6;
	border-radius: 8px;
	background: #f8fafc;
}

.videomail-privacy p {
	margin: 0 0 12px;
	line-height: 1.5;
}

.videomail-checkbox-label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
}

.videomail-checkbox-label input {
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin-top: 1px;
	accent-color: #1769aa;
}

.videomail-button-submit {
	width: 100%;
	margin-top: 4px;
}

@media (max-width: 600px) {
	.videomail-form {
		padding: 18px;
	}

	.videomail-actions {
		grid-template-columns: 1fr;
	}

	.videomail-button {
		width: 100%;
	}
}
