﻿body {
	margin: 0;
	padding: 0;
	/*font-family: sans-serif;*/
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 450px;
	/*max-width: 100%;*/
	min-width: 450px;
	background: transparent;
	overflow: hidden auto;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	/*border:1px solid red;*/
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 15px;
	background: transparent;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}

.popup-close {
	cursor: pointer;
	font-weight: bold;
	font-size: 14px;
	line-height: 1;
}

.popup-slider-wrap {
	flex: 1;
	overflow: hidden;
	border-radius: 15px 15px 0 0;
}

.popup-slider {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.5s ease-in-out;
}

.popup-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
}

.popup-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.popup-buttons {
	display: flex;
	width: 100%;
	/*border-top: 1px solid #ddd;*/
	margin-top: auto;
}

	.popup-buttons button {
		flex: 1;
		padding: 10px 0;
		border: none;
		background: #eaeaea;
		font-size: 14px;
		cursor: pointer;
		color: #333;
	}

	.popup-buttons button.active {
		background: #000;
		color: white;
		font-weight:500;
	}

#popupOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 999;
	display: none;
}



#popupOverlay,
#popupBox {
	display: none;
}

@media (max-width: 768px) {
	.popup {
		width: 80%;
		min-width: unset;
	}

	.popup-buttons button {
		font-size: 14px;
		padding: 10px 0;
	}



}



/* ✅ 공통 팝업 스타일 */
.popup-overlay-coupon {
	position: fixed;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.popup-container-04 {
	position: relative;
	width: 90%;
	max-width: 360px;
	text-align: center;
}

.popup-container-04 .popup-text-wrap {
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
	color: white;
	font-family: 'Noto Sans KR', sans-serif;
	z-index: 1;
}

.popup-text-wrap .line1 {
	font-size: 14px;
	margin-bottom: 4px;
}

.popup-text-wrap .line2 {
	font-size: 30px;
	font-weight: 700;
	/*color: #B2FF59;*/
}

.popup-text-wrap .line3 {
	font-size: 13px;
	margin-top: 5px;
}

.popup-image {
	width: 100%;
	border-radius: 20px;
	cursor: pointer;
	display: block;
}
#popup04 {
	display: flex;
}
.popup-text-wrap .highlight {
	color: #90dd00; /* 원하는 녹색 코드로 변경 가능 */
	font-weight: 900;
}

.popup-dismiss-today {
	margin-top: 12px;
	font-size: 14px;
	color: #fff;
	/*text-decoration: underline;*/
	cursor: pointer;
}






/* ✅ 상담 신청 폼 스타일 */
.popup-consult-form {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px;
	background: #000000;
}

	.popup-consult-form input {
		flex: 1 1 22%;
		min-width: 0;
		padding: 10px;
		font-size: 14px;
		border: 2px solid #fff;
		border-radius: 4px;
		box-sizing: border-box;
		outline: none;
	}

		.popup-consult-form input:focus,
		.popup-consult-form select[name="PopUserPart"]:focus {
			border: 2px solid #65b6bc;
			transition: .2s;
		}

	.popup-consult-form button.consult-submit {
		flex: 1 1 22%;
		background: #65b6bc; /* 노란색 강조 */
		color: #fff;
		border: none;
		border-radius: 4px;
		font-weight: bold;
		cursor: pointer;
		font-size: 14px;
		line-height:1;
	}
			.popup-consult-form button.consult-submit:hover {
				background: #96d7dc;
				transition: .2s;
			}


/* ✅ 개인정보 동의 영역 */
.popup-privacy {
	font-size: 12px;
	color: #d5d5d5;
	display: flex;
	align-items: center;
	padding: 0 5px 10px 5px;
	background: #000;
	border-radius: 0 0 15px 15px;
}

.popup-privacy input[type="checkbox"] {
	margin-right: 5px;
	width: 16px;
	height: 16px;
}

	.popup-privacy label {
		display: flex;
		align-items: center;
	}


	/* ✅ select를 input과 비슷하게 */
	.popup-consult-form select[name="PopUserPart"] {
		flex: 1 1 22%;
		min-width: 0;
		padding: 10px;
		font-size: 14px;
		border: 2px solid #fff;
		border-radius: 4px;
		box-sizing: border-box;
		background-color: #fff;
		appearance: none; /* 기본 화살표 제거 */
		-webkit-appearance: none;
		-moz-appearance: none;
		outline:none;
	}

/* ✅ 커스텀 드롭다운 화살표 */
.popup-consult-form select[name="PopUserPart"] {
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
	padding-right: 30px; /* 화살표 공간 */
}


@media screen and (max-width: 767px) {
	.popup-consult-form input,
	.popup-consult-form select[name="PopUserPart"],
	.popup-consult-form button.consult-submit {
		font-size: 12px;
		padding: 10px 5px;
	}
	.popup-consult-form select[name="PopUserPart"] {
		background-position: right 2px center;
		padding-right: 14px;
	}
	.popup-privacy {
		font-size: 11px;
	}
}
