/* 개인정보 동의 섹션 */
.consent-section {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    margin-top: var(--space-4);
    width: 85%;  
    max-width: none;
    margin-left: -10%;  /* 좌우 중앙 정렬을 위해 */
    margin-right: -10%;
}

.consent-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: var(--space-4);
}


.consent-item:first-of-type {
	background: var(--primary-50);
	border: 1px solid var(--primary-200);
}

/*.consent-item.required::after {
	content: '필수';
	position: absolute;
	right: var(--space-2);
	top: var(--space-2);
	background: var(--primary-600);
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	z-index: 2;
}*/

.consent-label {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--gray-700);
	width: 100%;
}

.consent-checkbox {
    opacity: 0;           /* display: none 대신 사용 */
    position: absolute;   /* 화면에서 보이지 않게 */
    pointer-events: none; /* 클릭 방지 */
    width: 1px;
    height: 1px;
}

.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid var(--gray-300);
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
	transition: var(--transition);
}

.consent-checkbox:checked + .checkmark {
	background: var(--primary-600);
	border-color: var(--primary-600);
}

.consent-checkbox:checked + .checkmark::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 0.8rem;
	font-weight: bold;
}

.consent-link {
	color: var(--primary-600);
	text-decoration: underline;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 500;
	padding: var(--space-1) var(--space-2);
	border-radius: 4px;
	transition: var(--transition);
	white-space: nowrap;
	flex-shrink: 0;
}

.consent-link:hover {
	color: white;
	background: var(--primary-600);
	text-decoration: none;
}

/* 개인정보 정책 모달 */
.modal-lite {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3000;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.modal-lite.on {
	opacity: 1;
	visibility: visible;
}

.modal-lite-content {
	background: white;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-xl);
	transform: scale(0.9);
	transition: var(--transition);
}

.modal-lite.on .modal-lite-content {
	transform: scale(1);
}

.modal-lite-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-6);
	border-bottom: 1px solid var(--gray-200);
	background: var(--primary-50);
}

.modal-lite-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-700);
}

.modal-lite-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--gray-500);
	transition: var(--transition);
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.modal-lite-close:hover {
	color: var(--gray-800);
	background: var(--gray-100);
}

.modal-lite-body {
	padding: var(--space-6);
	overflow-y: auto;
	max-height: calc(80vh - 120px);
}

.modal-lite-body h4 {
	color: var(--primary-600);
	font-weight: 600;
	margin-bottom: var(--space-2);
	margin-top: var(--space-4);
	font-size: 1rem;
}

.modal-lite-body h4:first-child {
	margin-top: 0;
}

.modal-lite-body p {
	margin-bottom: var(--space-3);
	line-height: 1.6;
	color: var(--gray-700);
	font-size: 0.9rem;
}

.modal-lite-body strong {
	color: var(--gray-900);
	font-weight: 600;
}
/* 모달 스타일 - 중앙 정렬 수정 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(4px);
    justify-content: center;  /* 있어야 함 */
    align-items: center;      /* 있어야 함 */
}

.modal-content {
    position: relative;
    background: white;
    padding: var(--space-8);
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--gray-800);
}