.dct-call-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
}

.dct-call-modal[aria-hidden="false"] {
	display: flex;
}

.dct-call-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(12, 24, 12, 0.55);
	backdrop-filter: blur(2px);
}

.dct-call-modal__panel {
	position: relative;
	width: min(540px, 92vw);
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	padding: 36px 30px 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	animation: dct-call-pop 0.18s ease-out;
}

@keyframes dct-call-pop {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.dct-call-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: #6b7280;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
}

.dct-call-modal__close:hover {
	background: #f3f4f6;
	color: #111827;
}

.dct-call-modal__title {
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 1.2;
	color: #1d2327;
}

.dct-call-modal__intro {
	margin: 0 0 20px;
	color: #6b7280;
}

.dct-call-modal__section {
	margin: 16px 0;
}

.dct-call-modal__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #1d2327;
}

.dct-call-days {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dct-call-day {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #1d2327;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.dct-call-day:hover {
	border-color: #668e5c;
}

.dct-call-day.is-selected {
	background: #668e5c;
	border-color: #668e5c;
	color: #fff;
}

.dct-call-times {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dct-call-time {
	min-width: 72px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #1d2327;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.dct-call-time:hover {
	border-color: #668e5c;
}

.dct-call-time.is-selected {
	background: #668e5c;
	border-color: #668e5c;
	color: #fff;
}

.dct-call-form__row {
	margin-bottom: 10px;
}

.dct-call-form input[type="text"],
.dct-call-form input[type="email"],
.dct-call-form input[type="tel"],
.dct-call-form textarea {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
	box-sizing: border-box;
}

.dct-call-form input:focus,
.dct-call-form textarea:focus {
	outline: none;
	border-color: #668e5c;
	box-shadow: 0 0 0 3px rgba(102, 142, 92, 0.2);
}

.dct-call-form textarea {
	resize: vertical;
}

.dct-call-form__selected {
	margin: 4px 0 14px;
	font-weight: 600;
	color: #668e5c;
}

.dct-call-form__submit,
.dct-schedule-call {
	display: inline-block;
	border: 0;
	border-radius: 8px;
	background: #d7efd1;
	color: #477839;
	font-weight: 600;
	padding: 12px 22px;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.dct-call-form__submit:hover,
.dct-schedule-call:hover {
	background: #477839;
	color: #fff;
}

.dct-call-form__submit.is-loading {
	opacity: 0.6;
	cursor: default;
}

.dct-call-loading,
.dct-call-empty {
	color: #6b7280;
	font-size: 14px;
	margin: 0;
}

.dct-call-modal__error {
	margin-top: 14px;
	padding: 10px 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 8px;
	font-size: 14px;
}

.dct-call-modal__view[hidden] {
	display: none;
}

.dct-call-modal__success-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #668e5c;
	color: #fff;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dct-call-modal__success-msg {
	text-align: center;
	color: #4b5563;
	margin: 0;
}

body.dct-call-modal-open {
	overflow: hidden;
}

@media screen and (max-width: 600px) {
	.dct-call-modal__panel {
		width: 100vw;
		max-height: 100vh;
		border-radius: 0;
	}
}
