/* Responsive Design for mp-storm-timeinfo element */
/* Mobile first - Base styles for small screens */

#mp-storm-timeinfo {
	position: absolute;
	top: 4rem;
	background: #252323; /* 100% opacity - solid dark gray */
	/* backdrop-filter: blur(2px); */ /* Removed for 100% opacity */
	border: 1px solid rgba(255, 255, 255, 0.945);
	border-radius: 0.5rem;
	padding: 0.25rem 0.4rem;
	box-shadow: 0 2px 8px rgba(47, 46, 46, 0.075);
	z-index: 1000;
	font-family: var(--bs-font-sans-serif);
	font-size: 0.65rem;
	color: #ffffff;
	text-align: center;
	min-width: 70px;
	max-width: 130px;
}

/* the inner date text */
#mp-storm-timeinfo-date {
	margin: 0;
	font-weight: 600;
	line-height: 1.1;
}

/* ===== EINFACHE UND KLARE MEDIA QUERIES ===== */

/* 1. Kleine Smartphones (bis 480px) - Basis-Styles gelten */

/* ===== ORIENTIERUNGS-SPEZIFISCHE ANPASSUNGEN ===== */

/* Smartphones: Same size for portrait and landscape (up to 767px) */
@media (max-width: 767px) {
	#mp-storm-timeinfo {
		font-size: 0.75rem;
		padding: 0.35rem 0.5rem;
		min-width: 80px;
		max-width: 140px;
	}
}

/* 2. Tablets (768px - 1023px) */
@media (min-width: 768px) {
	#mp-storm-timeinfo {
		font-size: 0.85rem;
		padding: 0.4rem 0.6rem;
		min-width: 90px;
		max-width: 160px;
	}
}

/* 3. Kleine Laptops (1024px - 1439px) */
@media (min-width: 1024px) {
	#mp-storm-timeinfo {
		font-size: 0.9rem;
		padding: 0.45rem 0.65rem;
		min-width: 100px;
		max-width: 180px;
	}
}

/* 4. Large laptops & desktops (1440px+) */
@media (min-width: 1440px) {
	#mp-storm-timeinfo {
		font-size: 1rem;
		padding: 0.5rem 0.7rem;
		min-width: 110px;
		max-width: 200px;
	}
}

/* 5. Ultra-wide Monitore (1920px+) */
@media (min-width: 1920px) {
	#mp-storm-timeinfo {
		font-size: 1.1rem;
		padding: 0.6rem 0.8rem;
		min-width: 120px;
		max-width: 220px;
	}
}

/* All devices: Same size for portrait and landscape */

/* ===== ADDITIONAL FEATURES ===== */

/* Dark mode */
@media (prefers-color-scheme: dark) {
	#mp-storm-timeinfo {
		background: #252323; /* 100% opacity - solid dark gray */
		border: 1px solid rgba(255, 255, 255, 0.8);
	}
}

/* Touch devices - larger touch targets */
@media (hover: none) and (pointer: coarse) {
	#mp-storm-timeinfo {
		padding: 0.4rem 0.6rem;
		min-width: 100px;
	}
}

/* Devices with mouse/hover - Hover-Effekte */
@media (hover: hover) and (pointer: fine) {
	#mp-storm-timeinfo {
		transition: all 0.2s ease;
	}
	#mp-storm-timeinfo:hover {
		background: #252323; /* 100% opacity - solid dark gray */
		transform: scale(1.02);
	}
}

/* User prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
	#mp-storm-timeinfo {
		transition: none;
	}
	#mp-storm-timeinfo:hover {
		transform: none;
	}
} 