/* 1. 기본 레이아웃 및 배경 */
.detailPage-main {
	background: #ffffff;
	border-radius: 20px;
	padding: 50px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 2. 현재 위치 섹션 */
.currentLocation {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 30px;
	justify-content: center;
}

#currentLocationBtn {
	cursor: pointer;
	font-size: 1.2rem;
	color: #888;
	transition: all 0.3s ease;
}

#city {
	font-size: 1.8rem;
	font-weight: 600;
	color: #333;
	letter-spacing: -0.5px;
}

/* 3. 메인 날씨 카드 */
.currentWeather-container {
	display: block;
	background: #f8f9fa;
	background: linear-gradient(180deg, #FBEFEF 0%, #ffffff 100%);
	border: 1px solid #eee;
	border-radius: 24px;
	text-align: center;
	margin: 0 auto 40px;
	width: 100%;
	max-width: 500px;
	padding: 40px 20px;
	color: #444;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.currentTemperature {
	padding: 5px 0;
	font-size: 4.5rem;
	font-weight: 500;
	color: #222;
}

.high-low-temperature {
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.8);
	display: inline-block;
	padding: 5px 20px;
	border-radius: 50px;
	color: #666;
	border: 1px solid #eee;
}

/* 4. 시간별 오늘 날씨 */
.currentHourWeather {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin-top: 30px;
	padding: 10px;
	background: white;
	border-radius: 15px;
}

.weather-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 12px 15px;
	border-bottom: 1px solid #f8f8f8;
	color: #555;
}

#hour {
	width: 50px;
	height: 28px;
	border-radius: 6px;
	background-color: #f1f3f5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	color: #666;
	font-size: 0.8rem;
}

/* 5. 주간 예보 제목 */
.detailPage-main h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 60px 0 20px;
	font-weight: 600;
	font-size: 1.4rem;
	color: #333;
}

.detailPage-main h3::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 18px;
	background-color: #d1d1d1;
	border-radius: 2px;
}

/* 6. 주간 예보 리스트 */
.weekly-weather-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 10px;
	border-bottom: 1px solid #f1f1f1;
	font-size: 0.95rem;
	color: #555;
}

.weekly-weather-row.date-divider {
	background: #f1f3f5;
}

.weekly-weather-row .date-text {
	background-color: #fff;
	border: 1px solid #eee;
	padding: 3px 10px;
	border-radius: 5px;
	font-weight: 600;
	color: #333;
}

/* 온도 컬러 가이드 */
#temp_min {
	font-weight: 500;
	color: #5a96c7;
}

#temp_max {
	font-weight: 500;
	color: #d66d6d;
}

.bi {
	font-size: 1.5rem;
	vertical-align: middle;
	color: #777;
}

.detailPage-main span {
	margin: 0 5px;
}

@media screen and (max-width: 768px) {
	.detailPage-main {
		padding: 30px 20px !important;
	}

	#city {
		font-size: 1.5rem;
	}

	.currentWeather-container {
		width: 100%;
		padding: 30px 15px;
		border-radius: 20px;
	}

	.currentTemperature {
		font-size: 3.5rem;
	}
}

/* 모바일 기기 (480px 이하) */
@media screen and (max-width: 480px) {
	.currentWeather-container {
		padding: 25px 10px;
	}

	.weekly-weather-row {
		padding: 15px 5px;
		font-size: 0.85rem;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.weekly-weather-row span {
		margin: 2px 4px;
	}

	.weekly-weather-row span:last-child {
		width: 100%;
		text-align: center;
		margin-top: 5px;
		border-top: 1px dotted #eee;
		padding-top: 5px;
	}

	.bi {
		font-size: 1.2rem;
	}
}