/* CSS 변수 */
:root {
	--brand-gradient: linear-gradient(135deg, #007dcc 0%, #005a99 100%);
	--brand-primary: #007dcc;
	--brand-shadow: rgba(0, 125, 204, 0.3);
	--kakao-yellow: #FEE500;
	--transition: all 0.3s ease;
}

.calculator-container {
	background: var(--brand-gradient);
	border-radius: 20px;
	padding: 0;
	margin-bottom: 30px;
	box-shadow: 0 10px 40px var(--brand-shadow);
	overflow: hidden;
}

.calc-header {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	padding: 25px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-header-title {
	color: white;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
}

.calc-header-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
}

.calc-content {
	padding: 30px;
	background: white;
}

.calc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}

.calc-card {
	background: #f8f9fa;
	border-radius: 15px;
	padding: 20px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.calc-card:hover {
	border-color: #007dcc;
	box-shadow: 0 5px 15px rgba(0, 125, 204, 0.1);
}

.calc-card-title {
	font-size: 14px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.calc-card-icon {
	width: 20px;
	height: 20px;
	background: var(--brand-gradient);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 12px;
}

.calc-button-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
	gap: 10px;
}

/* 공통 버튼 스타일 */
.calc-option-button,
.calc-package-button {
	border: 2px solid #e5e7eb;
	background: white;
	color: #666;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.calc-option-button {
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	text-align: center;
}

.calc-package-button {
	padding: 20px;
	border-radius: 15px;
	font-size: 15px;
	text-align: left;
}

.calc-option-button:hover,
.calc-package-button:hover {
	border-color: var(--brand-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 125, 204, 0.2);
}

.calc-option-button:hover {
	color: var(--brand-primary);
}

.calc-option-button.active,
.calc-package-button.active {
	background: var(--brand-gradient);
	border-color: #fff;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 125, 204, 0.4);
}

.calc-package-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}

.calc-package-subtitle {
	display: block;
	font-size: 12px;
	font-weight: 400;
	opacity: 0.8;
	margin-top: 5px;
}

.calc-result-card {
	background: var(--brand-gradient);
	border-radius: 20px;
	padding: 30px;
	margin-top: 25px;
	color: white;
	box-shadow: 0 10px 30px var(--brand-shadow);
}

.calc-selected-options {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
}

.selected-options-text{
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 800;
	font-size: 16px;
	color: #ffd700;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.5px;
	word-break: keep-all;
}
.calc-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding: 12px 0;
}

.calc-price-label {
	font-size: 13px;
	opacity: 0.9;
}

.calc-price-value {
	font-size: 16px;
	font-weight: 700;
}

.calc-final-price{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	margin-top: 15px;
	text-align: center;
	gap: 8px;
}

.calc-final-price-label {
	font-size: 16px;
	font-weight: 600;
}

.calc-final-price-value {
	font-size: 28px;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.calc-fixed-note{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	margin-top: 15px;
}
.calc-notice {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc-notice-item {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 6px;
	padding-left: 15px;
	position: relative;
	text-align: left;
}

.calc-notice-item:before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: bold;
}

/* 카카오톡 문의 버튼 */
.kakao-inquiry-button {
	width: 100%;
	padding: 18px 24px;
	margin-top: 20px;
	background: var(--kakao-yellow);
	border: none;
	border-radius: 15px;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 4px 15px rgba(254, 229, 0, 0.3);
}

.kakao-inquiry-button:hover {
	background: #FDD835;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
}

.kakao-inquiry-button:active {
	transform: translateY(0);
}

.kakao-inquiry-button i {
	font-size: 18px;
}

/* 시즌 배너 */
.calc-season-banner {
	background: linear-gradient(135deg, #0099ff 0%, #0077cc 100%);
	color: white;
	padding: 15px 20px;
	border-radius: 12px;
	margin-bottom: 25px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 4px 15px rgba(0, 125, 204, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.calc-season-banner.peak-season {
	background: linear-gradient(135deg, #00cccc 0%, #0099aa 100%);
	box-shadow: 0 4px 15px rgba(0, 204, 204, 0.3);
}

.season-icon {
	font-size: 18px;
}

/* 날짜 선택 모드 전환 */
.date-mode-toggle {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.date-mode-toggle label {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	transition: var(--transition);
	font-size: 14px;
	font-weight: 600;
	color: #666;
}

.date-mode-toggle input[type="radio"] {
	display: none;
}

.date-mode-toggle input[type="radio"]:checked + label {
	background: var(--brand-gradient);
	border-color: #fff;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 125, 204, 0.4);
}

.date-mode-toggle label:hover {
	border-color: var(--brand-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 125, 204, 0.2);
}

/* 날짜 선택 Input */
.date-input-wrapper {
	display: none;
	margin-top: 10px;
	width: 100%;
	box-sizing: border-box;
}

.date-input-wrapper.active {
	display: block;
}

.date-input-wrapper input[type="date"] {
	width: 100%;
	padding: 14px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	background: white;
	transition: var(--transition);
	font-family: inherit;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.date-input-wrapper input[type="date"]:focus {
	outline: none;
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 3px rgba(0, 125, 204, 0.1);
}

/* 날짜 Input 커스터마이징 */
.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	filter: invert(35%) sepia(95%) saturate(1500%) hue-rotate(180deg);
}
.mobile-hidden{
	display:inline-block;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
	.mobile-hidden{
		display:none;
	}
	.calc-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.calc-content {
		padding: 20px;
	}

	.calc-header {
		padding: 20px;
	}

	.calc-header-title {
		font-size: 18px;
	}

	.calc-button-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.calc-package-grid {
		grid-template-columns: 1fr;
	}

	.calc-result-card {
		padding: 20px;
	}

	.calc-final-price-value {
		font-size: 24px;
	}

	/* 모바일에서 선택 조건, 최종 금액, 예상금 레이아웃 변경 */
	.calc-selected-options {
		flex-direction: column;
	}
	.selected-options-text{
		flex-direction: column;
		align-items: center;
	}
	.calc-price-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		padding: 8px 0;
	}

	.calc-final-price {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 15px;
	}

	.calc-final-price-label,
	.calc-final-price-value {
		width: 100%;
	}
	.calc-fixed-note {
		font-size: 14px;
		padding: 12px;
	}
	.kakao-inquiry-button {
		font-size: 14px;
		padding: 18px 20px;
	}

	.kakao-inquiry-button i {
		font-size: 16px;
	}
	.calc-notice-item {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.calc-notice-item {
		font-size: 12px;
	}
	.calc-option-button {
		padding: 10px 12px;
		font-size: 13px;
	}

	.calc-package-button {
		padding: 16px;
		font-size: 14px;
	}

	.calc-card {
		padding: 15px;
	}

	.date-input-wrapper input[type="date"] {
		padding: 12px;
		font-size: 14px;
	}
}
