@charset "UTF-8";

/*리뉴얼 후*/





/*리뉴얼 전*/
/* section-block을 flex 컨테이너로 만들고 좌우 영역 반반 분할 */
.solution-content .section-block {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
	flex-wrap: wrap; /* 화면 작을 때 세로 정렬 허용 */
}

/* 텍스트 영역 - 너비 50%, 최소 너비 지정 */
.solution-text {
	flex: 1 1 40%;
	min-width: 300px;
	font-family: 'Pretendard', sans-serif;
	font-weight: 400;
	color: #ffffff;

	text-align:center;
	
}

/* 이미지 영역 - 너비 50%, 최소 너비 지정 */
.image-wrapper {
	flex: 1 1 50%;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
}

/* 이미지 박스 내 이미지 가로 크기 조절 */
.image-box img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	margin-right: 1rem;
}

/* 이미지 박스 내 이미지 마지막 요소 오른쪽 여백 제거 */
.image-box img:last-child {
	margin-right: 0;
}

/* 반응형: 화면이 좁으면 세로로 쌓이도록 */
@media ( max-width : 768px) {
	.solution-content .section-block {
		flex-direction: column;
	}
	.solution-text, .image-wrapper {
		flex: 1 1 100%;
		min-width: auto;
	}

	.image-wrapper {
		padding: 0rem !important;
	}
}

.solution-notice ul {
	padding: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #505050;
	list-style: disc;
}

.solution-notice {
	border-radius: 20px;
	padding: 1rem;
	display:flex;
	justify-content: center;
	align-items: center;
	gap:30px;
}

.mask-label {
	font-weight: 700;
	font-size: 28px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #111111;
	text-align:center;
	margin-bottom:2rem;
}

.mask-desc {
	font-weight: 700;
	font-size: 16px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #767676;
}

.personal-upload-wrapper {
	padding: 1rem;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	border-radius: 1rem; /* 전체 래퍼 둥글게 */
	background-color: #fff; /* 필요 시 배경색 추가 가능 */
}

.personal-upload-tab {
	display: flex;
	border-radius: 2rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
	background-color: #f4f4f4;
	height: 64px;
	align-items: center;
	justify-content: center;
	align-content: center;
}

.personal-tab-button {
	flex: 1;
	padding: 1rem;
	border: none;
	background: none;
	font-weight: 600;
	color: #0084FF;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
	border-radius: 2rem; /* 버튼 자체도 둥글게 */
	font-size: 1.2rem;
}

.personal-tab-button.active {
	background: linear-gradient(90deg, #0084FF 0%, #4ba8ff 100%);
	color: #fff;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.personal-tab-pane {
	display: none;	
}

.upload-section {
	flex: 1;
	min-width: 35%;
	border-radius: 1rem; /* 섹션 둥글게 */
	background-color: #fafafa; /* 필요 시 배경색 */
	padding: 1rem;
	box-sizing: border-box;
}

.result-section {
	flex: 1;
	/* min-width: 65%; */
	border-radius: 1rem; /* 섹션 둥글게 */
	padding: 1rem;
	box-sizing: border-box;
}

#upload-title {
	font-weight: 700;
	font-size: 28px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #111111;
	text-align: left;
	margin-bottom:20px;
	
}

.video-upload-wrapper {
	position: relative;
	border-radius: 1rem;
	padding: 2rem;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.3s, border-color 0.3s;
	min-height: 382px; /* 이미지 세로 크기 기준 최소 높이 지정 */
	/* max-width: 531px; */ /* 이미지 가로 크기 고정 (필요시 조정 가능) */
	color: #505050;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: auto;
	flex-direction: column;
	font-size:20px;

	border:4px dashed #3787FF;
	
}



.video-upload-wrapper div p{
	margin:0;
	color:#999999;
	font-size:14px;
}


.video-upload-wrapper.dragover {
	background-color: #e0d9ff;
	border-color: #9c7fff;
}

.video-upload-area {
	z-index: 1;
	pointer-events: none;
}

.upload-list {
	margin-top: 1rem;
	text-align: left;
	max-height: 150px;
	overflow-y: auto;
	font-size: 0.9rem;
	color: #333;
}

#upload-container {
	width: 100%;
	/* max-width: 531px; */
	padding: 1rem;
	border-radius: 1rem;
	background: #eaf6ff;
	box-sizing: border-box;
	/* box-shadow: 0 4px 12px rgb(128 65 255/ 0.1); */
	margin: auto;
}

.upload-header {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.6rem;
}

.upload-header img {
	width: 48px;
	height: 36px;
	border-radius: 0.5rem;
	object-fit: cover;
}

.upload-text {
	font-size: 0.9rem;
	color: #333;
}
.upload-percent {
	font-weight: 700;
	color: #0084FF;
}

.progress-bg {
	position: relative;
	height: 8px;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
}

.progress-bar {
	background: linear-gradient(90deg, #0084FF, #69b7ff);
	width: 0%;
	height: 100%;
	border-radius: 4px;
	transition: width 0.3s ease;
}

.file-result-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}

@media(max-width:1680px){
	.file-result-row{
	flex-direction: column;
	}
}

.file-result-title {
	font-weight: 700;
	font-size: 28px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #111111;
	white-space: nowrap;
}

/* 공통 버튼 스타일 */
.file-result-button {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 14px 20px;
	gap: 8px;
	width: 155px;
	height: 50px;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 20px;
	line-height: 140%;
	letter-spacing: -0.025em;
	color: #ffffff;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
	transition: background-color 0.2s ease;
}

/* 보라색 버튼 (다운로드) */
.file-result-button.purple {
	background: #0084FF;
}

.file-result-button.purple:hover {
	background: #005eb5;
}


/* 회색 버튼 (삭제하기) */
.file-result-button.gray {
	background: #D9D9D9;
	color: #fff;
}

.file-result-button.gray:hover {
	background: #c0c0c0;
}

.file-result-function {
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
	flex-direction: row;
	gap: 5px;
}

.file-result-sort-wrapper {
	position: relative;
}

/* 기본: 아이콘만 노출 */
.sort-icon-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	border-radius: 50%; /* 미리 둥글게 */
	transition: background-color 0.2s ease;
}

/* 클릭 시 (활성화) */
.sort-icon-btn.active {
	background-color: #dfefff;
	 /*padding: 10px; 배경이 있을 때만 padding 적용 */
}

/* 드롭다운 옵션 */
.sort-options {
	position: absolute;
	top: 48px;
	right: 0;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	padding: 0.5rem 0;
	min-width: 140px;
	z-index: 1000;
}

.sort-option {
	background: none;
	border: none;
	text-align: left;
	padding: 0.5rem 1rem;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.sort-option:hover {
	background: #dfefff;
}

/* 숨김 처리 */
.hidden {
	display: none;
}

.form-check {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-left: 0;
}

.form-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.form-check label {
	font-weight: 500;
	font-size: 16px;
}

.exclude-person-upload-area {
	display: none;
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 0.75rem;
	background-color: #f9f9f9;
}

.exclude-person-upload-area h5 {
	margin-bottom: 0.75rem;
	font-size: 18px;
}

.info-line {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #444;
	margin-bottom: 0.3rem;
}

.info-line .material-symbols-outlined {
	font-size: 18px;
	margin-right: 0.25rem;
	color: #888;
}

.thumbnail-preview {
	margin-top: 1rem;
}

.thumbnail-item img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 0.5rem;
	border: 1px solid #ccc;
}

.text-muted {
	font-size: 14px;
	color: #888;
	margin-top: 0.5rem;
}

#excludeImageInput {
	display: none;
}

/* 커스텀 버튼 */
.custom-file-button {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: #3a86ff;
	color: white;
	font-weight: 600;
	font-size: 14px;
	border-radius: 6px;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.3s ease;
}

.custom-file-button:hover {
	background-color: #265ecc;
}

/* 업로드된 파일명 텍스트 */
#fileNameDisplay {
	margin-left: 1rem;
	font-size: 14px;
	color: #555;
	vertical-align: middle;
}

/* 전체 컨테이너 기본 스타일 */
.url-upload-container {
	color: #222;
}

/* 스트림 입력부 */
.stream-input-wrapper {
	position: relative;
	margin-bottom: 1.5rem;
}

.stream-input-wrapper input[type="text"] {
	width: 100%;
	padding: 0.75rem 3rem 0.75rem 1rem;
	border: 1.5px solid #eee;
	border-radius: 24px;
	font-size: 1rem;
	color: #555;
	outline: none;
	transition: border-color 0.3s ease;
	height:52px;
}

.stream-input-wrapper input[type="text"]::placeholder {
	color: #ccc;
}

.stream-input-wrapper input[type="text"]:focus {
	border-color: #7a5aff;
	box-shadow: 0 0 6px rgba(122, 90, 255, 0.5);
}

/* 플레이 아이콘 */
.stream-input-wrapper img {
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	/* 	background-color: #7a5aff; */
	border-radius: 50%;
	padding: 8px;
	cursor: pointer;
	/* filter: drop-shadow(0 2px 4px rgba(122, 90, 255, 0.4)); */
	transition: background-color 0.3s ease;
}

/* .stream-input-wrapper img:hover {
	background-color: #5a3edc;
} */

/* url 샘플 제목 및 설명 */
.url-sample-title {
	color: #505050;
}

.url-sample-desc {
	color: #505050;
	margin-bottom: 1rem;
}

/* url 리스트 컨테이너 */
.url-list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

/* 각 url 아이템 */
.url-item {
	font-weight: 500;
	font-size: 1rem;
	line-height: 140%;
	padding: 4px 4px 4px 12px;
	height: 52px;
/* 	background: #F5F0FF; */
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.12);
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.url-item:hover {
	background-color: #d5ebff;
}




.url-result-section {
  display: flex;
  flex-direction: column;
  align-items: center;  /* 수평 중앙 정렬 */
  justify-content: center; /* 수직 중앙 정렬 */
  text-align: center;  /* 텍스트 중앙 정렬 */
  padding: 2rem 1rem; /* 위아래 여백 조절 */
  gap: 0.5rem; /* 요소 간 간격 */
  min-height:430px; /* 필요 시 높이 조절 */
}


.url-result-desc{
font-weight: 500;
font-size: 14px;
line-height: 140%;
text-align: center;
letter-spacing: -0.025em;

color: #999999;

	
}



.selectable {
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  transform: scale(1);
  opacity: 1; /* 기본은 선명하게 보임 */
}

/* 선택된 항목만 강조 */
.selectable.selected {
/*   transform: scale(1.1); */
  border: 2px solid #007bff;
  border-radius: 8px;
}

/* 선택된 것이 있을 경우, 그 외 요소만 흐리게 */
.has-selection .selectable:not(.selected) {
  opacity: 0.6;
}



.inner.video {
  width: 100%;
  height: 600px; /* 원하는 높이로 조절 */
}

.container--video {
  width: 100%;
  height: 100%;
}

.container--video iframe {
  width: 100%;
  height: 100%;
  border: none;
}




.demo-use {
	padding: 0rem 3rem 3rem 3rem;
	display: flex;
	flex-direction: column;
	border-radius: 0px;
}




.solution-use-box {
	max-width: 493.33px;
	min-width: 330px;
	height: 330px;
	background: linear-gradient(135.11deg, rgba(255, 255, 255, 0.25) 4.44%, rgba(255, 255, 255, 0.1) 97.59%);
	backdrop-filter: blur(5px);
	/* Note: backdrop-filter has minimal browser support */
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
	  border: 1px solid rgba(255, 255, 255, 0.6);
	  
}

.solution-use-box h3{
	margin-top:30px;
}


.solution-etc{
	font-size:1.3rem;
}



.text-wrapper{
	display:flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width:100%;
	
}


.solution-info{
	gap:0px;
	margin-top:12px;
}

.font-black.centered-list li{


font-weight: 500;
font-size: 1.2rem;
line-height: 140%;
/* or 22px */
text-align: center;
letter-spacing: -0.025em;

color: #505050;

	
}


.font-black.centered-list li::before {

    color: #505050;

}




.select-wrapper{
	background-color:#EAF6FF;
	width:100%;
	padding:2rem;
	border-radius:20px;
	
}


.mask-shape, .mask-size{
	background-color:white;
	padding:1rem;
	border-radius:20px;

	font-size:1.3rem;
}


.text-blue{
	font-weight:600;
	color:#0084FF;

}


@media (max-width:1280px){

	.image-wrapper {
		padding:0 !important;
		
	}
	.solution-use-box{
	
	max-width: 400px;
		min-width:200px;
	width:auto;	
		padding:1rem;
	word-break:keep-all;
		
	}

	.solution-use-box img{
		width:50%;
	}

	.solution-use-box h3{
		font-size:1.3rem;
	
	}

	.personal-upload-wrapper{
		flex-direction:column;
		
	}

	.file-result-row{
		flex-direction:column;
		
	}

	#upload-title, .file-result-title{
		font-size:24px;
		text-align:center;
		
	}

	.personal-tab-button{
		font-size:20px;
		padding: 0.8rem;
	}

	#personal-tab-file .form-check{

justify-content:center;
		
		
		
	}

	.result-section{
		width:100%;
		
	}

	.file-result-button{
		height:50px;
	}

	.solution-info{
		padding:0px 20px;
		word-break:keep-all;
		
	}
	
		
	.url-result{
		text-align:center;
	}
	
	
		
	}

@media (max-width:768px){

	.solution-notice{
		flex-direction:column;
		padding:0px;
		
		
	}	

	.select-wrapper .masking-wrapper{
		flex-direction:column;
		
	}

	.personal-upload-wrapper{
		flex-direction:column;
		background-color: unset;
		padding: 0;
	}
	.file-result-row{
		flex-direction:column;
	}

	.image-box img{
		width:100% !important;
		margin-bottom:1rem;

	}

	.personal-upload-tab{
		flex-direction:column;
		height: auto;
		/* width: auto; */
		background: unset;
	}

	#upload-title, .file-result-title{
		font-size:24px;
		text-align: center;
	}


	.personal-tab-button{
		font-size:1rem;
		
		
	}	

	.file-result-button{
		font-size:1rem;
		width:100%;
}


	.solution-info {
		padding:0rem 2rem;
		
	}

	#sort-toggle-btn{
		display:none;
		
	}


	.select-wrapper{
		padding:2rem 0.5rem;
	}

	.upload-section{
		background-color:unset;
		
	}

	.result-section{
		padding:0;
		width:100%;
		
	}

	.file-result-function{
		width:100%;
		
	}

	.solution-use-box{
		width: 100%;
		/* padding:5rem; */
		gap: 10px;
	}

	.solution-use-box h3{
		font-size:1.3rem;
		
	}

	.section-subtitle {
	font-size: 1.4rem;
}

	.solution-etc{
text-align:center;
		word-break:keep-all;
		
	}
	
.demo-use {
	padding:1rem;
	padding-top:5rem;
	
}

	.solution-info li{
		text-shadow:unset;
		word-break:keep-all;
		
		
	}
	
}






/* 카드뷰*/
/* 기본 숨김/표시 제어 */
.cards-container { display: none; }

/* 상태 점 표시 */
.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 9999px;
  margin-right: 6px;
  background: #d1d5db; /* default gray */
}
.status-dot.running { background: #22c55e; } /* green */
.status-dot.error   { background: #ef4444; } /* red */
.status-dot.done    { background: #3b82f6; } /* blue */

/* 카드 레이아웃 */
.cards-toolbar {
  display: flex; justify-content: flex-start; align-items: center;
  margin-bottom: 8px;
}
.cards-selectall { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }

.card-list { display: flex; flex-direction: column; gap: 12px; }

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 14px 16px;
  border: 1px solid #eef2ff; /* 은은한 보라 톤 경계 */
}

.card-row.top,
.card-row.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  margin: 8px 0 10px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.card-date { font-size: 12px; color: #6b7280; }
.card-status { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.card-size { font-size: 12px; color: #6b7280; }

/* 반응형: 768px 이하에서 카드 보이기, 테이블 숨기기 */
@media (max-width: 768px) {
  .table-container { display: none; }
  .cards-container { display: block; }
		.cards-toolbar{
		justify-content:center;
			margin-top:12px;
	}
}

/* 769px 이상에서는 카드 숨기고 테이블 표시(기본) */
@media (min-width: 769px) {
  .table-container { display: block; }
  .cards-container { display: none; }
}






/* 기본 SVG 아이콘 (아래 화살표) */
#how-to-use-toggle .btn svg {
    transition: transform 0.3s ease-in-out; /* 부드러운 전환 효과 추가 */
}

/* how-to-use-toggle에 active 클래스가 있을 때 SVG 아이콘 회전 (위 화살표) */
#how-to-use-toggle.active .btn svg {
    transform: rotate(180deg); /* 180도 회전 */
}





.how-to-use-btn {
	/* Component 162 */
	/* Auto layout */
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 8px 12px;
	gap: 4px;
	color: white;
	background: unset;
	border-radius: 8px;
font-weight: 700;
font-size: 28px;
line-height: 140%;
letter-spacing: -0.025em;
cursor:pointer;
color: #FFFFFF;

}

.how-to-use-btn:hover{
	color:#fff;
}


.bg-blue{
		background: #3788FF;
		border-radius:20px;
}

.bg-blue:hover{
	background:#37A5FF;
}
.bg-blue.active{
 /* 그라디언트 방향과 색상 지정 */
  background: linear-gradient(to bottom right, #3787FF, #3AD4FF);
}

.bg-blue.active .blue-btn{
	background:unset;
}
