@charset "utf-8";
/**
 * KRDS 알림/확인 모달 전용 (member)
 * - krds.min.css 대신 사용 — html/body 전역 스타일 없음
 * - .krds-modal 영역만 스타일 적용
 */

body.scroll-no {
	overflow: hidden;
}

.krds-modal .sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.krds-modal {
	box-sizing: border-box;
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	visibility: hidden;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: visibility 0.15s 0.3s, z-index 0s 0.3s, opacity 0.2s;
	font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #1e2124;
	text-align: left;
}

.krds-modal *,
.krds-modal *::before,
.krds-modal *::after {
	box-sizing: border-box;
}

.krds-modal.in {
	z-index: 1010;
	transition-delay: 0s;
	opacity: 1;
	visibility: visible;
}

.krds-modal.shown {
	display: block;
}

.krds-modal .modal-back {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	visibility: hidden;
	z-index: -1;
	background-color: rgba(0, 0, 0, 0.75);
}

.krds-modal .modal-back.in {
	display: block;
	z-index: 1000;
	visibility: visible;
}

.krds-modal .modal-dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1020;
	width: 100%;
	max-width: 650px;
	height: 100%;
	min-height: 200px;
	margin: 0 auto;
	padding: 16px;
}

.krds-modal .modal-content {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	max-height: 80vh;
	background-color: #fff;
	border-radius: 12px;
	border: 1px solid #b1b8be;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 16px 24px rgba(0, 0, 0, 0.14);
	outline: none;
}

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

.krds-modal .modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.krds-modal .modal-conts {
	overflow-y: auto;
	padding: 16px 24px 12px;
}

.krds-modal .conts-area {
	width: 100%;
	white-space: pre-line;
	word-break: keep-all;
}

.krds-modal .wd-modal-confirm-body {
	white-space: pre-line;
	word-break: keep-all;
}

.krds-modal .modal-btn.btn-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	width: 100%;
	padding: 16px 24px 24px;
}

.krds-modal .btn-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 901;
	margin: 0;
	padding: 8px;
	min-width: auto;
}

.krds-modal .krds-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 40px;
	padding: 0 16px;
	border-style: solid;
	border-width: 1px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	vertical-align: middle;
}

.krds-modal a.krds-btn.primary {
	color: #fff;
}

.krds-modal .krds-btn.primary {
	background-color: #256ef4;
	border-color: #256ef4;
	color: #fff;
}

.krds-modal .krds-btn.primary:hover,
.krds-modal .krds-btn.primary:focus {
	background-color: #0b50d0;
	border-color: #0b50d0;
}

.krds-modal .krds-btn.tertiary {
	background-color: #fff;
	border-color: #58616a;
	color: #1e2124;
}

.krds-modal .krds-btn.tertiary:hover,
.krds-modal .krds-btn.tertiary:focus {
	background-color: #f4f5f6;
}

.krds-modal .krds-btn.icon {
	width: 40px;
	height: 40px;
	padding: 0;
	background-color: transparent;
	border-color: transparent;
}

.krds-modal .krds-btn.icon:hover,
.krds-modal .krds-btn.icon:focus {
	background-color: #f4f5f6;
}

.krds-modal .svg-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	background-color: #1e2124;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.krds-modal .krds-btn.primary .svg-icon {
	background-color: #fff;
}

.krds-modal .svg-icon.ico-popup-close {
	-webkit-mask-image: url(../icon/ico_close.svg);
	mask-image: url(../icon/ico_close.svg);
}

@media (max-width: 767px) {
	.krds-modal .modal-dialog {
		max-width: none;
		padding: 12px;
	}

	.krds-modal .modal-title {
		font-size: 18px;
	}

	.krds-modal .modal-header {
		padding-top: 44px;
	}
}
