/*!
 * **************************************************************************************
 *
 * Dateiname:                 specials-toggle.css
 * Projekt:                   X-Sitter
 *
 * erstellt von:              Daniel Siekiera <d.siekiera@x-sitter.com>
 * erstellt am:	              28.10.26, 09:40 Uhr
 * zuletzt bearbeitet:        28.10.26, 09:40 Uhr
 *
 * Copyright © 2026 - X-Sitter GmbH
 *
 * **************************************************************************************
 */

/* Round toggle button at the bottom right that switches every seasonal effect on and off */
#xs-specials-toggle {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 1055;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffffd9;
	border: 1px solid rgba(0, 0, 0, .12);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	cursor: pointer;
	backdrop-filter: saturate(120%) blur(2px);
}

#xs-specials-toggle:hover {
	box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
}

#xs-specials-toggle .icon {
	font-size: 20px;
	line-height: 1;
}

#xs-specials-toggle.off {
	opacity: .75;
}

#xs-specials-toggle.off .icon {
	filter: grayscale(1);
}

@media (max-width: 680px) {
	#xs-specials-toggle {
		right: 12px;
		bottom: 12px;
		width: 38px;
		height: 38px;
	}
}

/* While the specials are off, the class on <html> hides every effect that lives in the DOM */
.xs-specials-off .xs-HolidaysBatContainer,
.xs-specials-off .xs-specials-bell {
	display: none !important;
}

.xs-specials-off .content-wrapper {
	background-image: none !important;
}
