.cswc-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.55);
	top: 0;
	left: 0;
}

.cswc-popup-overlay.cswc-open {
	display: block;
}

.cswc-popup-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #ffffff;
	color: #000;
	font-family: Poppins, sans-serif;
	border-radius: 10px;
	box-sizing: border-box;
	padding: 28px 24px 24px;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.cswc-popup-close {
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 26px;
	cursor: pointer;
	line-height: 1;
	color: #555;
}

.cswc-popup-close:hover {
	color: #000;
}

.cswc-popup-title {
	font-weight: 700;
	font-size: 19px;
	margin-bottom: 18px;
	padding-right: 20px;
}

.cswc-service-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.cswc-service-row:last-of-type {
	border-bottom: none;
}

.cswc-service-main {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cswc-service-question {
	font-weight: 500;
	font-size: 15px;
}

.cswc-service-price {
	font-size: 13px;
	color: #777;
	white-space: nowrap;
}

.cswc-service-price.cswc-active {
	color: #2b7a2b;
	font-weight: 600;
}

.cswc-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.cswc-toggle-state {
	font-size: 12px;
	font-weight: 600;
	width: 32px;
	text-align: center;
	color: #999;
}

.cswc-toggle-state.cswc-active {
	color: #2b7a2b;
}

.cswc-toggle-switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
}

.cswc-toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cswc-toggle-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #ccc;
	transition: 0.2s;
	border-radius: 24px;
}

.cswc-toggle-slider::before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	transition: 0.2s;
	border-radius: 50%;
}

.cswc-toggle-switch input:checked + .cswc-toggle-slider {
	background-color: #2b7a2b;
}

.cswc-toggle-switch input:checked + .cswc-toggle-slider::before {
	transform: translateX(18px);
}

.cswc-popup-total {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 2px solid #eee;
	font-weight: 700;
	font-size: 16px;
	display: flex;
	justify-content: space-between;
}

.cswc-popup-actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.cswc-popup-actions button {
	flex: 1 1 50%;
	border: none;
	border-radius: 6px;
	padding: 12px 10px;
	font-family: inherit;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.cswc-popup-cancel {
	background: #f0f0f0;
	color: #333;
}

.cswc-popup-cancel:hover {
	background: #e2e2e2;
}

.cswc-popup-confirm {
	background: #000;
	color: #fff;
}

.cswc-popup-confirm:hover {
	background: #222;
}

@media (max-width: 480px) {
	.cswc-popup-box {
		padding: 22px 16px 18px;
		max-width: 92%;
	}

	.cswc-popup-title {
		font-size: 17px;
	}
}
