.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 모달 박스 */
.modal {
  width: 480px;
  background: var(--Surface-Surface-10);
  border-radius: 16px;
  text-align: center;
  box-sizing: border-box;
}

.modal-wrap {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px 40px 40px;
}

/* 닫기 버튼 */
.modal-close {
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
	padding: 12px 12px 12px 0;
	width: 100%;
	text-align: right;
}

.modal-close svg {
	fill: var(--Color-Grey-80);
}

/* 아이콘 */
.modal-icon {
  width: 64px;
  height: 64px;
  margin: 32px auto;
}

.modal-icon .cir-back {
	fill: var(--Color-Grey-40);
}

.modal-icon .cir-icon {
	fill: var(--Color-White);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
	color: var(--Color-Black);
	word-break: keep-all;
}

.modal-desc {
  font-size: 18px;
	font-weight: 400;
  color: var(--Color-Black);
  margin-top: 12px;
	word-break: keep-all;
}

/* 인풋 영역 */
.modal-input {
  background: var(--ETC-G10-High);
  padding: 32px;
  border-radius: 8px;
  margin-top: 16px;
	font-size: 18px;
  font-weight: 700;
	color: var(--Color-Black);
}

/* 버튼 영역 */
.modal-buttons {
  display: flex;
  justify-content: center;
  margin-top: 32px;
	gap: 10px;
}

.modal-buttons--full .modal-btn {
  width: 100%;
}

.modal-buttons--center {
  justify-content: center;
}

/* 버튼 공통 */
.modal-btn {
  padding: 10px 20px;
  border-radius: 100px;
  min-width: 132px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.modal-btn--primary {
	background: var(--Color-Black);
	color: var(--Color-White);
}

.modal-btn--outline {
	background: var(--Color-White);
	border: 1px solid var(--Color-Grey-40);
	color: var(--Color-Black);
}

.modal-divider {
  height: 1px;
  background: var(--Color-Grey-20);
  margin: 24px 0;
}

.modal-footer {
  font-size: 16px;
	font-weight: 700;
  color: var(--Color-Black);
}

.modal-link {
  color: var(--Color-Blue);
  margin-left: 8px;
  cursor: pointer;
  font-weight: 500;
}

@media all and (max-width: 985px) {
	.modal {
		width: 328px;
	}

	.modal-wrap {
		padding: 0 24px 32px 24px;
	}

	.modal-title {
		font-size: 20px;
	}

	.modal-desc {
		font-size: 16px;
	}

	.modal-buttons {
		margin-top: 24px;
	}
}

@media all and (max-width: 689px) {
	.modal {
		width: 100%;
		margin: 0 16px;
	}
}