.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.modal-wrap * {
	color: #333;
	word-break: keep-all;
  font-size: 14px;
}

.modal-wrap input[type="checkbox"] {
  appearance: auto; /* 기본 체크 표시 복원 */
  -webkit-appearance: auto;
  accent-color: #ed5c23; /* 체크 색상 지정 */
  width: 16px;
  height: 16px;
  cursor: pointer;

}

.primary {
	color: #ed5c23 !important;
}

.bg-primary {
	background-color: #ed5c23 !important;
}

.bg-black {
  background-color: #181818;
}

.bg-cancel {
    background: #dbdbdb !important;
    color: #666 !important;
}

.modal-wrap {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	z-index: 10;
}

.modal-wrap.open {
	display: block;
}

.modal-wrap .overlay {
	width: 100%;
	height: 100%;
	background: rgb(0, 0, 0,  0.5);
}

.modal-wrap .modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	max-width: 90%;
  width: max-content;
	height: fit-content;
	max-height: 80vh;
	display: block;
	border: 0;
	border-radius: 12px;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
    flex-direction: column;
}

.modal-wrap .modal .modal-top {
    padding: 24px 24px 0 24px;
}

.modal-title {
	width: 100%;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.modal-title.center {
	justify-content: center;
}

.modal-wrap .modal .close-btn {
	position: absolute;
	cursor: pointer;
    top: 16px;
    right: 16px;
}

.modal-wrap .modal .close-btn img {
	width: 16px;
}

.modal-wrap .modal .scroll {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

.modal-wrap .modal .modal-con {
	padding: 24px;
}

.modal-wrap .modal .modal-bottom {
	padding: 16px;
  display: flex;
  gap: 10px;
}

.modal-wrap .modal .modal-bottom button {
	font-size: 15px;
	font-weight: 500;
}

.modal-wrap .modal .modal-bottom button  {
	background-color: #222;
	color: #fff;
	width: 100%;
	height: 48px;
	border-radius: 7px;
	border: 0;
}

/* 화면이탈 모달 */
.cheating .modal .img-box {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
}

.cheating .modal .modal-con .notice {
	margin-top: 40px;
}

.cheating .modal .modal-con .notice li {
	position: relative;
	padding-left: 24px;
	color: #333;
	margin-bottom: 5px;
}

.cheating .modal .modal-con .notice li::before  {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url('/img/svg/icon-circle-exclamation.svg') no-repeat center;
  background-size: contain;
  filter: invert(56%) sepia(83%) saturate(5290%) hue-rotate(337deg) brightness(99%) contrast(87%);
}

.cheating .modal .modal-con .notice li:last-child {
	margin-bottom: 0;
}

/* 시험코드란 모달 */
.testcode_tooltip_modal .modal-txt-top p {
	font-size: 16px;
	color: #ed5c23;
	font-weight: 600;
	margin-bottom: 5px;
}

.testcode_tooltip_modal .modal-txt-top span {
	font-size: 14px;
	color: #333;
}

.testcode_tooltip_modal .notice {
	text-align: center;
	background: #f6f6f6;
}

.testcode_tooltip_modal .notice img {
	margin-bottom: 8px;
	filter: invert(42%) sepia(92%) saturate(2990%) hue-rotate(352deg) brightness(101%) contrast(86%);
}

/* 앱접근권한안내 모달 */
.access_permission_modal .modal-title {
	font-size: 24px;
	font-weight: 500;
}

.access_permission_modal .access {
	margin-top: 24px;
}

.access_permission_modal .access p {
	font-weight: 600;
	color: #2CBDB4;
}

.access_permission_modal .access ul {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.access_permission_modal .access ul li {
	display: flex;
	gap: 24px;
	align-items: center;
}

.access_permission_modal .access ul li .txt > div {
	font-weight: 600;
}

.access_permission_modal .access ul li .txt span {
	color: #666;
}

/* 앱접근권한안내 개인정보 처리방침 */
.privacy_policy_modal .modal {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    left: 0;
    right: 0;
    top: 0;
    transform: translate(0);
}

.privacy_policy_modal .modal .modal-con h2 {
  font-size: 16px;
  margin-bottom: 5px;
}

.privacy_policy_modal .modal .modal-con {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy_policy_modal .modal .modal-con ul {
  margin-left: 20px;
  list-style-type: disc;
  list-style: circle;
  margin-top: 10px;
}

.privacy_policy_modal .modal .modal-con ul li {
  list-style: disc;
}


/* 링크 / QR코드 모달 */
.exam-container {
  font-family: 'Pretendard', sans-serif;
  color: #111827;
  max-width: 480px;
  line-height: 1.6;
}

.exam-desc {
  font-size: 15px;
  color: #374151;
  margin-bottom: 16px;
}

.exam-desc b {
	display: block;
	font-size: 18px;
	margin-bottom: 8px;
}

.exam-code {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 24px;
}

.exam-code span {
  color: #47B7B0; /* 초록색 포인트 */
}

.link-label,
.qr-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #6b7280;
	width: 100%;
	text-align: left;
}

.link-wrapper {
  display: flex;
  align-items: center;
  background: #f6f6f6;
  border-radius: 8px;
  padding: 12px;
}

.link-icon {
  margin-right: 8px;
  color: #9ca3af;
  font-size: 16px;
}

.link-text {
  flex: 1;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.copy-btn {
  background: #111827;
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
}

.copy-btn:hover {
  background: #374151;
}

.exam-qr {
  margin-top: 20px;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-img {
  width: 160px;
  height: 160px;
}

/* 경고 박스 */
.alert-box {
  background: #FFF7F3;
  padding: 12px;
  border-radius: 7px;
  margin-bottom: 20px;
}

.alert-title {
  font-weight: 600;
  font-size: 16px;
  color: #ed5c23;
  margin-bottom: 6px;
}

.alert-desc {
  font-size: 14px;
  color: #374151;
}

.alert-note {
  color: #ef4444;
  font-size: 13px;
}

/* 가이드 */
.guide-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.guide-list {
  color: #374151;
}

.guide-list li {
  margin-bottom: 8px;
}

.note {
  color: #6b7280;
  font-size: 13px;
text-indent: 16px;
display: block;
}

/* 이미지 */
.guide-images {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.guide-images img {
  width: 50%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

/* 인풋 체크박스 */
.checkbox-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.modal-wrap input[type="checkbox"] {
  accent-color: #ed5c23; /* 원하는 색상으로 변경 */
}