.callback-form-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.callback-form-card {
	background: #fff;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #e8e8e8;
	margin: 0 auto;
}

.callback-form-header {
	margin-bottom: 30px;
}

.callback-form-title {
	font-size: 32px;
	font-weight: 700;
	color: #222;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.callback-form-desc {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

.callback-form {
	width: 100%;
}

.callback-form-fields {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 20px;
	margin-bottom: 25px;
}

.callback-field {
	position: relative;
}

.callback-input {
	width: 100%;
	height: 50px;
	padding: 0 20px;
	background: #f5f5f5;
	border: 2px solid #e8e8e8;
	border-radius: 12px;
	font-size: 16px;
	font-family: 'PT Sans', sans-serif;
	color: #222;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.callback-input::placeholder {
	color: #999;
	opacity: 1;
}

.callback-input:focus {
	outline: none;
	border-color: #2661c5;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(38, 97, 197, 0.1);
}

.callback-field-phone {
	position: relative;
}

.callback-phone-wrapper {
	display: flex;
	gap: 0;
	height: 50px;
}

.callback-phone-code {
	position: relative;
	flex-shrink: 0;
	width: 100px;
	height: 50px;
}

.callback-phone-select {
	width: 100%;
	height: 100%;
	padding: 0 35px 0 20px;
	background: #f5f5f5;
	border: 2px solid #e8e8e8;
	border-right: none;
	border-radius: 12px 0 0 12px;
	font-size: 16px;
	font-family: 'PT Sans', sans-serif;
	font-weight: 600;
	color: #222;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.callback-phone-select:focus {
	outline: none;
	border-color: #2661c5;
	background: #fff;
}

.callback-phone-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.callback-phone-code:focus-within .callback-phone-arrow {
	transform: translateY(-50%) rotate(180deg);
}

.callback-input-phone {
	border-left: none;
	border-radius: 0 12px 12px 0;
	flex: 1;
}

.callback-phone-wrapper:focus-within .callback-phone-select,
.callback-phone-wrapper:focus-within .callback-input-phone {
	border-color: #2661c5;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(38, 97, 197, 0.1);
}

.callback-form-footer {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.callback-checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	flex: 1;
	min-width: 200px;
}

.callback-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.callback-checkbox-custom {
	width: 24px;
	height: 24px;
	border: 2px solid #e8e8e8;
	border-radius: 6px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
	position: relative;
}

.callback-checkbox:checked + .callback-checkbox-custom {
	background: #2661c5;
	border-color: #2661c5;
}

.callback-checkbox:checked + .callback-checkbox-custom::after {
	content: '✓';
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	position: absolute;
}

.callback-checkbox:focus + .callback-checkbox-custom {
	box-shadow: 0 0 0 3px rgba(38, 97, 197, 0.1);
}

.callback-checkbox-text {
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

.callback-link {
	color: #2661c5;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.callback-link:hover {
	color: #1e52a8;
}

.callback-submit-btn {
	flex-shrink: 0;
	height: 50px;
	padding: 0 30px;
	background: #ffc107;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	font-family: 'PT Sans', sans-serif;
	color: #222;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.callback-submit-btn:hover:not(:disabled) {
	background: #ffb300;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.callback-submit-btn:active:not(:disabled) {
	transform: translateY(0);
}

.callback-submit-btn:disabled {
	background: #e0e0e0;
	color: #999;
	cursor: not-allowed;
	box-shadow: none;
	opacity: 0.6;
}

@media (max-width: 768px) {
	.callback-form-container {
		padding: 20px 15px;
	}

	.callback-form-card {
		padding: 30px 20px;
	}

	.callback-form-title {
		font-size: 24px;
	}

	.callback-form-desc {
		font-size: 14px;
	}

	.callback-form-fields {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-bottom: 20px;
	}

	/* .callback-phone-wrapper {
		flex-direction: column;
		height: auto;
	} */

	/* .callback-phone-code {
		width: 100%;
		height: 50px;
	} */

	/* .callback-phone-select {
		border-right: 2px solid #e8e8e8;
		border-radius: 12px;
		margin-bottom: 15px;
	} */

	/* .callback-input-phone {
		border-left: 2px solid #e8e8e8;
		border-radius: 12px;
	} */

	.callback-form-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}

	.callback-checkbox-label {
		min-width: auto;
	}

	.callback-submit-btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.callback-form-card {
		padding: 25px 15px;
	}

	.callback-form-title {
		font-size: 20px;
	}

	.callback-input,
	.callback-phone-select {
		height: 48px;
		font-size: 15px;
	}

	.callback-submit-btn {
		height: 48px;
		font-size: 15px;
	}
}
