/**
 * Coffee Maker Styles
 * Styles for the coffee maker toggle switch and related elements
 */

.maurice-coffee-machine-section {
	margin: 20px 0;
}

.maurice-machine-white-panel {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.maurice-machine-toggle {
	margin-bottom: 15px;
}

.maurice-toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 24px;
}

.maurice-toggle-switch input[type="checkbox"] {
	opacity: 0;
	width: 0;
	height: 0;
}

.maurice-toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cccccc;
	transition: 0.4s;
	border-radius: 24px;
}

.maurice-toggle-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 4px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

.maurice-toggle-switch input:checked + .maurice-toggle-slider {
	background-color: #4caf50;
}

.maurice-toggle-switch input:focus + .maurice-toggle-slider {
	box-shadow: 0 0 1px #4caf50;
}

.maurice-toggle-switch input:checked + .maurice-toggle-slider:before {
	transform: translateX(33px);
}

.maurice-toggle-switch.checked input + .maurice-toggle-slider,
.maurice-toggle-slider.checked {
	background-color: #4caf50;
}

.maurice-toggle-switch.checked input:checked + .maurice-toggle-slider:before,
.maurice-toggle-slider.checked:before {
	transform: translateX(33px);
}

.maurice-machine-title {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 600;
}

.maurice-machine-price {
	margin-top: 10px;
}

.maurice-machine-price del {
	color: #999;
	margin-right: 10px;
}

.maurice-machine-price-discount {
	color: #4CAF50;
	font-weight: 600;
	font-size: 20px;
}

.maurice-machine-price-text {
	display: block;
	font-size: 14px;
	color: #666;
	margin-top: 5px;
}

/* Disabled state */
.maurice-toggle-switch input:disabled + .maurice-toggle-slider {
	opacity: 0.5;
	cursor: not-allowed;
}

