/* ===== 환불 규정 팝업 ===== */
.refund_popup_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	align-items: center;
	justify-content: center;
}

.refund_popup_overlay.active {
	display: flex;
}

.refund_popup {
	width: 440px;
	max-height: 90vh;
	background: var(--gray-0);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.refund_popup__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.refund_popup__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--gray-95);
	margin: 0;
}

.refund_popup__close {
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.refund_popup__close svg {
	width: 24px;
	height: 24px;
	fill: var(--gray-60);
}

.refund_popup__close:hover svg {
	fill: var(--gray-95);
}

.refund_popup__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-height: calc(90vh - 60px);
	overflow-y: auto;
}

/* 무료취소 기간 */
.refund_popup__free_period {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.refund_popup__label {
	font-size: var(--body-small);
	font-weight: 700;
	color: var(--success);
}

.refund_popup__value_row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.refund_popup__value {
	font-size: var(--body-small);
	font-weight: 400;
	color: var(--gray-95);
}

.refund_popup__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: auto;
}

.refund_popup__status svg {
	width: 14px;
	height: 14px;
}

.refund_popup__status.is-active {
	color: var(--success);
}

.refund_popup__status.is-passed {
	color: #DE3412;
}

/* 취소수수료 발생 기간 */
.refund_popup__fee_period {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.refund_popup__fee_title {
	font-size: var(--body-small);
	font-weight: 700;
	color: #DE3412;
}

.refund_popup__fee_list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.refund_popup__fee_item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.refund_popup__fee_date {
	font-size: var(--body-small);
	font-weight: 400;
	color: var(--gray-95);
}

.refund_popup__fee_rate {
	font-size: var(--body-small);
	font-weight: 700;
	color: var(--gray-95);
}

/* 안내사항 */
.refund_popup__notice {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--gray-5);
	border-radius: var(--radius-lg);
	padding: 12px;
	padding-left: 8px;
	padding-right: 12px;
}

.refund_popup__notice_item {
	font-size: var(--body-xsmall);
	font-weight: 400;
	color: var(--gray-60);
	line-height: 1.5;
	padding-left: 12px;
	position: relative;
}

.refund_popup__notice_item::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #a9b0b8;
}

/* 정책 설명 (고객 노출용) — 각 줄 wrap 컨테이너 */
.refund_popup__notice_desc_wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* 반응형 */
@media screen and (max-width: 480px) {
	.refund_popup {
		width: calc(100% - 40px);
		margin: 0 20px;
	}
}
