/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/* KG 이니시스 결제 모달 오버레이 / z-index 조정 */
/* .inipay_modal-backdrop {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 99998 !important; 
  }
  
  .inipay_modal {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999 !important; 
  }
  
  .inipay_modal-body {
	width: 100%;
	max-width: 900px;
	margin: 40px auto;
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
  }
  
  .inipay_iframe {
	width: 100% !important;
	min-height: 700px !important;
	display: block !important;
	border: 0 !important;
  }
   */



/* ============================================
Loading Overlay
============================================ */

.loading-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh; /* 동적 뷰포트 높이 지원 */
    background-color: rgba(0, 0, 0, 0.2);
	z-index: 2147483647;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
	user-select: none;
	-webkit-user-select: none;
	cursor: wait;
	pointer-events: none; /* 뒷화면 클릭 가능하도록 */
}

.loading-container.show {
	display: flex;
}

.loading-container .loading-spinner {
	position: relative;
	width: 68px;
	height: 68px;
}

.loading {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: inline-block;
	border-top: 6px solid #fff;
	border-right: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid transparent;
	box-sizing: border-box;
	animation: loading-rotation 1s linear infinite;
}

.loading::after {
	content: '';
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 0;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	border-left: 6px solid var(--brand_color, #405189);
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	border-right: 6px solid transparent;
	animation: loading-rotation 0.5s linear infinite reverse;
}

@keyframes loading-rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.loading-container .loading-text {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Layer (일반 오버레이) */
.layer {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 1000;
	user-select: none;
	-webkit-user-select: none;
}

.layer.on {
	display: block;
}


/* 목록 선택 */
.list-row {
	cursor: pointer;
}

.list-row:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

.creator-profile {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

