:root {
	--swe-primary-bg: linear-gradient(135deg, #4A90E2 0%, #5B9BD5 100%);
	--swe-secondary-bg: rgba(255, 255, 255, 0.1);
	--swe-text-primary: #ffffff;
	--swe-text-secondary: rgba(255, 255, 255, 0.8);
	--swe-border: rgba(255, 255, 255, 0.2);
	--swe-hover: rgba(255, 255, 255, 0.15);
	--swe-shadow: rgba(0, 0, 0, 0.2);
	--swe-accent: #FF6B4A;
}

/* Sötét téma - kikommentezett
:root {
	--swe-primary-bg: linear-gradient(135deg, #1a237e 0%, #283593 100%);
	--swe-secondary-bg: rgba(255, 255, 255, 0.05);
	--swe-text-primary: #ffffff;
	--swe-text-secondary: rgba(255, 255, 255, 0.7);
	--swe-border: rgba(255, 255, 255, 0.1);
	--swe-hover: rgba(255, 255, 255, 0.1);
	--swe-shadow: rgba(0, 0, 0, 0.4);
	--swe-accent: #FF5722;
}
*/

body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 20px;
}

.swe_container {
	max-width: 800px;
	margin: 0 auto;
	container-type: inline-size;
}

.swe_weather-widget {
	background: var(--swe-primary-bg);
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 20px 40px var(--swe-shadow);
	color: var(--swe-text-primary);
	backdrop-filter: blur(10px);
	border: 1px solid var(--swe-border);
}

.swe_theme-toggle {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--swe-secondary-bg);
	border: 1px solid var(--swe-border);
	color: var(--swe-text-primary);
	padding: 8px 12px;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.swe_theme-toggle:hover {
	background: var(--swe-hover);
	transform: scale(1.05);
}

.swe_current-weather {
	text-align: center;
	margin-bottom: 30px;
	padding: 20px;
	background: var(--swe-secondary-bg);
	border-radius: 15px;
	border: 1px solid var(--swe-border);
}

.swe_city-name {
	font-size: 2rem;
	font-weight: 300;
	margin-bottom: 10px;
}

.swe_current-temp {
	font-size: 4rem;
	font-weight: 100;
	margin: 20px 0;
}

.swe_weather-icon {
	width: 80px;
	height: 80px;
	background: var(--swe-accent);
	border-radius: 50%;
	display: inline-block;
	margin: 10px;
}

.swe_current-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	margin-top: 20px;
}

.swe_detail-item {
	text-align: center;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	border: 1px solid var(--swe-border);
}

.swe_detail-label {
	font-size: 0.9rem;
	color: var(--swe-text-secondary);
	margin-bottom: 5px;
}

.swe_detail-value {
	font-size: 1.2rem;
	font-weight: 500;
}

.swe_forecast-section {
	display: grid;
	gap: 20px;
}

.swe_hourly-forecast,
.swe_daily-forecast {
	background: var(--swe-secondary-bg);
	border-radius: 15px;
	padding: 20px;
	border: 1px solid var(--swe-border);
}

.swe_forecast-title {
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 20px;
	color: var(--swe-text-primary);
}

.swe_hourly-items,
.swe_daily-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.swe_forecast-item {
	display: grid;
	grid-template-columns: 60px 40px 1fr 60px;
	align-items: center;
	padding: 10px;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.swe_forecast-item:hover {
	background: var(--swe-hover);
	transform: translateX(5px);
}

.swe_forecast-time {
	font-weight: 500;
}

.swe_forecast-icon {
	width: 30px;
	height: 30px;
	background: var(--swe-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swe_forecast-desc {
	margin-left: 10px;
	color: var(--swe-text-secondary);
}

.swe_forecast-temp {
	text-align: right;
	font-weight: 500;
}

.swe_temp-range {
	color: var(--swe-text-secondary);
	font-size: 0.9rem;
}

/* Container Queries */
@container (min-width: 600px) {
	.swe_forecast-section {
		grid-template-columns: 1fr 1fr;
	}

	.swe_current-temp {
		font-size: 5rem;
	}

	.swe_city-name {
		font-size: 2.5rem;
	}
}

@container (max-width: 599px) {
	.swe_weather-widget {
		padding: 15px;
	}

	.swe_current-temp {
		font-size: 3rem;
	}

	.swe_current-details {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.swe_forecast-item {
		grid-template-columns: 50px 30px 1fr 50px;
		padding: 8px;
	}
}

.swe_dark-theme {
	--swe-primary-bg: linear-gradient(135deg, #1a237e 0%, #283593 100%);
	--swe-secondary-bg: rgba(255, 255, 255, 0.05);
	--swe-text-secondary: rgba(255, 255, 255, 0.7);
	--swe-border: rgba(255, 255, 255, 0.1);
	--swe-hover: rgba(255, 255, 255, 0.1);
	--swe-shadow: rgba(0, 0, 0, 0.4);
	--swe-accent: #FF5722;
}