@charset "utf-8";

/* PAC 2026 서류 심사 결과 팝업 */
.pac-result-popup,
.pac-result-popup * {
	box-sizing: border-box;
}

.pac-result-popup {
	position: fixed;
	inset: 0;
	z-index: 2500;
	display: none;
	font-family: "Paperlogy", sans-serif;
}

.pac-result-popup.is-open {
	display: block;
}

.pac-result-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 5, 13, 0.78);
	/* background: rgba(0, 5, 13, 0.38); */
	backdrop-filter: blur(5px);
}

/* popup */
.pac-result-popup__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(720px, calc(100% - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.42);
	transform: translate(-50%, -50%);
	border: 2px solid #FFF;
}

/* 닫기 */
.pac-result-popup__close {
	position: absolute;
	z-index: 30;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(0, 8, 20, 0.5);
	cursor: pointer;
}

.pac-result-popup__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 19px;
	height: 1px;
	background: #fff;
}

.pac-result-popup__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.pac-result-popup__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* 상단 비주얼 */
.pac-result-popup__visual {
	position: relative;
	height: 280px;
	overflow: hidden;
	color: #fff;
	background: radial-gradient(circle at 76% 42%, rgba(24, 126, 225, 0.35) 0%, rgba(24, 126, 225, 0) 35%),
		linear-gradient(115deg, #02060d 0%, #061322 52%, #07172b 100%);
}

.pac-result-popup__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(90deg, rgba(2, 6, 13, 0.92) 0%, rgba(2, 6, 13, 0.55) 42%, rgba(2, 6, 13, 0.08) 100%);
	pointer-events: none;
}

.pac-result-popup__visual::after {
	content: "";
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(180deg, rgba(3, 10, 20, 0) 0%, rgba(3, 10, 20, 0.92) 100%);
	pointer-events: none;
}

/* 배경 효과 */
.pac-result-popup__bg {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.52;
}

/* 얼굴 */
.pac-result-popup__face {
	position: absolute;
	z-index: 1;
	top: -65px;
	left: -55px;
	width: 58%;
	max-width: none;
	opacity: 0.52;
	transform: rotate(-15deg);
}

/* 칩 */
.pac-result-popup__chip {
	position: absolute;
	z-index: 1;
	right: -55px;
	bottom: -40px;
	width: 32%;
	max-width: none;
	opacity: 0.48;
}

/* 원 */
.pac-result-popup__circle {
	position: absolute;
	z-index: 4;
	opacity: 0.72;
}

.pac-result-popup__circle--01 {
	top: 98px;
	right: 95px;
	width: 52px;
}

.pac-result-popup__circle--02 {
	right: 35px;
	bottom: 65px;
	width: 30px;
}

/* 별 */
.pac-result-popup__star {
	position: absolute;
	z-index: 4;
	top: 125px;
	right: 180px;
	width: 24px;
}

/* 상단 로고 */
.pac-result-popup__logos {
	position: absolute;
	z-index: 10;
	top: 20px;
	left: 26px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: calc(100% - 100px);
}

.pac-result-popup__logos img {
	display: block;
	width: auto;
	max-width: 100px;
	max-height: 25px;
	object-fit: contain;
}

/* 타이틀 */
.pac-result-popup__heading {
	position: absolute;
	z-index: 10;
	top: 100px;
	left: 34px;
}

.pac-result-popup__brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 14px;
}

.pac-result-popup__brand strong {
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(180deg, #ffffff 0%, #96d1ff 46%, #2789e6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.pac-result-popup__brand span {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.65);
}

.pac-result-popup__heading h2 {
	margin: 0;
	font-size: 35px;
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

.pac-result-popup__heading h2 strong {
	font-weight: 700;
	color: #66bbff;
}

/* 본문 */
.pac-result-popup__content {
	padding: 26px 40px 28px;
	text-align: center;
	background: radial-gradient(circle at 90% 5%, rgba(47, 143, 226, 0.08), transparent 30%), #fff;
}

.pac-result-popup__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 700;
	color: #147bdc;
}

.pac-result-popup__content h3 {
	margin: 0;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.4;
	color: #172239;
}

.pac-result-popup__content>p {
	margin-top: 13px;
	font-size: 16px;
	line-height: 1.7;
	color: #657186;
}

/* 선정여부 확인 */
.pac-result-popup__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-width: 230px;
	min-height: 54px;
	margin-top: 26px;
	padding: 0 25px;
	background: linear-gradient(135deg,#0875de 0%,#2699f6 100%);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	box-shadow: 0 12px 28px rgba(20, 121, 220, 0.22);
}

.pac-result-popup__check:hover {
	background: linear-gradient(135deg, #0568c8 0%, #188be9 100%);
}

.pac-result-popup__check span {
	font-size: 18px;
	line-height: 1;
}

/* 추가 */
.pac-result-popup__content .pac-result-popup__wait {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #e7edf4;
	font-size: 14px;
	line-height: 1.7;
	color: #7a8595;
}

.pac-result-popup__content > p strong {
	font-weight: 700;
	color: #147bdc;
}

/* footer */
.pac-result-popup__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #e1e7ee;
	background: #fff;
	background: #eef3ff;
}

.pac-result-popup__footer button {
	width: auto;
	min-width: 0;
	min-height: 34px;
	padding: 0 13px;
	border: 1px solid #dce3eb;
	background: #fff;
	font-size: 14px;
	font-weight: 450;
	color: #657186;
	cursor: pointer;
}

.pac-result-popup__footer button+button {
	border-left: 1px solid #e1e7ee;
	font-weight: 550;
	color: #28374c;
}

.pac-result-popup__footer button:hover {
	border-color: #bfcbd8;
	background: #f6f8fa;
	color: #28374c;
}

/* body 스크롤 방지 */
body.pac-result-open {
	overflow: hidden;
}

/* 모바일 */
@media all and (max-width: 767px) {

	.pac-result-popup__dialog {
		width: calc(100% - 24px);
		max-height: calc(100vh - 24px);
	}

	.pac-result-popup__visual {
		height: 285px;
	}

	.pac-result-popup__logos {
		top: 15px;
		left: 17px;
		gap: 9px;
	}

	.pac-result-popup__logos img {
		max-width: 76px;
		max-height: 20px;
	}

	.pac-result-popup__heading {
		top: 90px;
		left: 22px;
	}

	.pac-result-popup__brand strong {
		font-size: 25px;
	}

	.pac-result-popup__brand span {
		font-size: 11px;
	}

	.pac-result-popup__heading h2 {
		font-size: 30px;
	}

	.pac-result-popup__face {
		top: -20px;
		left: 165px;
		width: 70%;
		opacity: 0.42;
	}

	.pac-result-popup__chip {
		right: -60px;
		width: 38%;
	}

	.pac-result-popup__content {
		padding: 30px 24px 32px;
	}

	.pac-result-popup__content h3 {
		font-size: 22px;
	}

	.pac-result-popup__content>p {
		font-size: 15px;
	}
}

/* 작은 모바일 */
@media all and (max-width: 578px) {

	.pac-result-popup__visual {
		height: 260px;
		/* height: 200px; */
	}

	.pac-result-popup__close {
		top: 10px;
		right: 10px;
		width: 34px;
		height: 34px;
	}

	.pac-result-popup__logos {
		max-width: calc(100% - 55px);
		flex-wrap: wrap;
		gap: 5px 8px;
	}

	.pac-result-popup__logos img {
		max-width: 65px;
		max-height: 18px;
	}

	.pac-result-popup__heading {
		top: 78px;
		left: 18px;
	}

	.pac-result-popup__brand {
		display: block;
	}

	.pac-result-popup__brand strong {
		display: block;
		font-size: 25px;
	}

	.pac-result-popup__brand span {
		display: block;
		margin-top: 4px;
	}

	.pac-result-popup__heading h2 {
		margin-top: 8px;
		font-size: 26px;
	}

	.pac-result-popup__face {
		top: 20px;
		left: 105px;
		width: 94%;
	}

	.pac-result-popup__chip {
		display: none;
	}

	.pac-result-popup__circle--01 {
		top: 105px;
		right: 28px;
	}

	.pac-result-popup__circle--02 {
		display: none;
	}

	.pac-result-popup__star {
		right: 90px;
	}

	.pac-result-popup__content {
		padding: 26px 9px 28px;
	}

	.pac-result-popup__eyebrow {
		font-size: 11px;
	}

	.pac-result-popup__content h3 {
		font-size: 20px;
	}

	.pac-result-popup__content>p {
		font-size: 14px;
	}

	.pac-result-popup__check {
		width: 100%;
		min-width: 0;
		min-height: 50px;
		margin-top: 22px;
		font-size: 15px;
	}

	.pac-result-popup__footer {
		gap: 6px;
		padding: 8px 10px;
	}

	.pac-result-popup__footer button {
		min-height: 32px;
		padding: 0 10px;
		font-size: 12px;
	}

	/* 추가 */
	.pac-result-popup__content .pac-result-popup__wait {
		margin-top: 15px;
		padding-top: 14px;
		font-size: 13px;
	}
}