:root {
	--btn-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--btn-fontsize: 14px;
	--btn-weight: bold;
	--btn-fc: #fff;
}


.sync-tpl {
	display: none !important;
}

.w50 {width: 50px !important}
.w70 {width: 70px !important}
.w100 {width: 100px !important}
.w150 {width: 150px !important}
.w200 {width: 200px !important}
.w300 {width: 300px !important}
.w400 {width: 400px !important}
.w500 {width: 500px !important}
.w600 {width: 600px !important}
.w700 {width: 700px !important}
.w800 {width: 800px !important}
.w900 {width: 900px !important}
.wfull {width: calc(100% - 12px);}

.acenter {text-align: center !important;}
.aright {text-align: right !important;}




input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}





/* 월 이동 */

.btn-nav-cal {
	vertical-align: middle !important;
	margin: 0 5px;
	cursor: pointer;
}

.date-period-box {
	display: inline-block;
	vertical-align: middle;
	width: 37px;
	height: 37px;
}
.date-period-box span {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background-color: #1a73e8;
	border-radius: 3px;
}
.date-period {
	position: absolute;
	opacity: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}


/* 월이동 admin 용 */
.btn-nav-cal-admin {
	display: inline-block;
	vertical-align: middle;
	width: 26px;
	height: 26px;
	color: black;
}
.btn-nav-cal-admin > div {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	border: 1px #ccc solid;
	border-radius: 3px;
	cursor: pointer;
}
.btn-nav-cal-admin > div:hover {
	background-color: #f1f1f1;
}
.btn-nav-cal-admin i {
	font-size: 14px;
	color: #777;
}

.cal-date-admin {
	display: inline-block;
	vertical-align: middle;
	height: 26px;
}
.cal-date-admin > div {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: black;
}






/* ================ */





/* 문서종류별 컬러 및 헤더 */

.board-header {
	height: 60px;
	border-bottom: 2px #d7d7d7 solid;
	display: flex;
	flex-direction: row;
	margin-bottom: 20px;
}

.board-title {
	flex: 0.5;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: left;
	padding-left: 10px;
}
.board-title h1 {
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 100%;
	white-space: nowrap;
}
.board-title h1 > span {
	vertical-align: baseline;
}

#totalCount {
	color: #888;
	font-size: 16px;
	font-weight: 600;
	vertical-align: baseline;
}



/*.board-title .move-cal {*/
/*	color: #555;*/
/*	font-size: 20px;*/
/*}*/
/*.move-cal * {*/
/*	vertical-align: middle;*/
/*}*/
/*.move-cal .btn-nav-cal {*/
/*	font-size: 18px;*/
/*	opacity: .5;*/
/*}*/
/*.move-cal .btn-nav-cal:hover {*/
/*	opacity: 1;*/
/*}*/
/*.head-cal-date {*/
/*	display: inline-block;*/
/*	padding-bottom: 5px;*/
/*}*/




.list-head {
	position: relative;
	padding: 15px 0 0px 25px;
	font-size: 17px;
	font-weight: bold;
	height: 50px;
	box-sizing: border-box;
}
.list-head span {
	display: inline-block;
	vertical-align: middle;
	line-height: 100%;
}


.head-filter {
	white-space: nowrap;
}

.btn-doctype {
	padding: 0 10px;
	height: 40px;
	border: 1px #ccc solid;
	background-color: #fff;
	cursor: pointer;
	box-sizing: border-box;
	color: #777;
}
.btn-doctype.doc {
	border-radius: 15px 0 0 15px;
	border-right: 0;
}
.btn-doctype.form {
	border-radius: 0 15px 15px 0;
	border-left: 0;
}
.btn-doctype.active {
	background-color: #777;
	border-color: transparent;
	color: #fff;
	cursor: default;
}

.btn-doctype.checktime {
	border-radius: 15px;
	color: #333;
}
.btn-doctype.checktime span {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}
.btn-doctype.checktime i {
	vertical-align: middle;
	color: #929292;
}


.board-head-search {
	flex: 1.5;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: right;
	padding-right: 10px;
}


.head-current-period-wrap {
	display: inline-block;
	vertical-align: middle;
}
.head-current-period-wrap > div {
	height: 40px;
	border: 1px #d7d7d7 solid;
	border-radius: 15px;
	display: flex;
	align-items: center;
	padding: 0 15px;
	background-color: #fff;
}

.head-current-period {
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	font-weight: normal;
	font-size: 16px;
	line-height: 1;
}

.head-current-period-wrap .period-desc {
	font-size: 14px;
	color: #444;
	margin-right: 5px;
}

.btn-cal-head {
	font-size: 16px;
	vertical-align: middle;
	cursor: pointer;
	color: #666;
}


.head-sbox-ym {	/* 연-월 선택기 */
	display: inline-block;
	height: 40px;
	border-radius: 15px;
	border: 1px #d7d7d7 solid;
	padding: 0 15px;
	font-size: 18px;
	margin-left: 5px;
	margin-right: 5px;
	vertical-align: middle;
	background-color: #fff;
	cursor: pointer;
}
.head-sbox-ym > div {
	position: relative;
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
}
.head-sbox-ym > div i {
	margin-left: 8px;
}


.btn-sort {
	display: inline-block;
	height: 41px;
	vertical-align: middle;
	padding: 0 20px;
	border: 1px #ccc solid;
	font-weight: normal;
	border-radius: 5px;
	background-color: #fff;
	cursor: pointer;
	color: #929292;
}
.btn-sort.recent {
	border-radius: 15px 0 0 15px;
	border-right: 0;
}
.btn-sort.name {
	border-radius: 0 15px 15px 0;
	border-left: 0;
}
.btn-sort.active {
	background-color: #777;
	 border-color: #777;
	color: #fff;
	font-weight: bold;
}
.btn-sort > div {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}



.board-head-search select {
	margin-left: 10px;
	height: 40px;
	vertical-align: middle;
	border: 1px #ccc solid;
	border-radius: 15px;
	padding: 0 15px;
}

.head-searchtext {
	height: 40px;
	text-align: center;
	vertical-align: middle;
	margin-left: 5px;
	border-radius: 15px;
	border: 1px solid #ddd;
}
.head-searchtext:focus {
	outline: none;
}

.board-header .btn-filter {
	height: 41px;
	vertical-align: middle;
	padding-top: 0;
	padding-bottom: 0;
	border-radius: 15px;
}




/* 상단 필터박스 */

/*.filter-section {*/
/*	padding: 15px 12px;*/
/*}*/

.filter-section {
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin-bottom: 20px;
	width: 100%;
}


.filter-box {
	display: flex;
	flex-direction: row;
}

.filter-box .filter-cal {
	position: relative;
	text-align: center;
}
.filter-cal .btn-cal {
	position: absolute;
	left: 8px;
	top: 6px;
	vertical-align: middle;
	cursor: pointer;
	opacity: .7;
	font-size: 1.1rem;
}

.filter-cal .btn-nav-cal {
	display: inline-block;
	vertical-align: middle;
	color: #929292;
}
.filter-cal .btn-nav-cal.fa-chevron-left {
	margin-left: 10px;
}
.filter-cal .btn-nav-cal.fa-chevron-right {
	margin-right: 10px;
}

/*.filter-cal .cal-date {*/
/*	display: inline-block;*/
/*	padding: 0;*/
/*	font-size: 28px;*/
/*	vertical-align: middle;*/
/*	line-height: 97%;*/
/*	!*width: 155px;*!*/
/*	text-align: center;*/
/*}*/


.filter-cal .btn-today {
	height: 30px;
	vertical-align: middle;
	cursor: pointer;
	/*opacity: .5;*/
	/*margin-left: 5px;*/
}

.filter-box .filter-search {
	flex: 1;
	text-align: right;
}

.filter-search input.date-period {
	width: 200px;
	height: 39px;
	border: 1px #ccc solid;
	border-radius: 3px;
	vertical-align: middle;
	text-align: center;
}
.filter-search input.searchtext {
	width: 200px;
	height: 39px;
	border: 1px #ccc solid;
	border-radius: 3px;
	vertical-align: middle;
	text-align: center;
}
.filter-search button {
	vertical-align: middle;
}

.btn-filter {
	background: #777;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 500;
	margin-right: 8px;
}


/* 상단 필터박스 끝 */

.color-record {
	color: #28a745;
}

.color-needs {
	/*color: #667eea;*/
	color: #1e90ff;
}
.color-counsel {
	color: #e0a800;
}
.color-meeting {
	color: #8b5cf6;
}

.bcolor-record {
	background-color: #28a745 !important;
	color: #fff !important;
	border: none !important;
}
.bcolor-needs {
	background-color: #1e90ff !important;
	color: #fff !important;
	border: none !important;
}
.bcolor-counsel {
	background-color: #e0a800 !important;
	color: #fff !important;
	border: none !important;
}
.bcolor-meeting {
	background-color: #8b5cf6 !important;
	color: #fff !important;
	border: none !important;
}


.document-card.card-record::before {
	background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}
.document-card.card-needs::before {
	/*background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);*/
	background: linear-gradient(90deg, #1e90ff 0%, #2ea0ee 100%);
}
.document-card.card-counsel::before {
	background: linear-gradient(90deg, #e0a800 0%, #f97316 100%);
}
.document-card.card-meeting::before {
	background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}


.btn-create-wrap {
	position: absolute;
	right: 15px;
	top: 10px;
	white-space: nowrap !important;
}
.btn-create-doc {
	background-color: #fff;
	color: #333;
	/*border: none;*/
	padding: 10px 20px;
	border-radius: 6px;
	border: 1px #ccc solid;
	cursor: pointer;
	font-weight: 500;
}

.btn-create-box {
	display: inline-block;
	vertical-align: middle;
}

.btn-create-wrap-mobile {
	margin-bottom: 10px;
	display: flex;
	flex-direction: row;
	/*padding-left: 10px;*/
	/*padding-right: 10px;*/
	gap: 10px
}
.btn-create-wrap-mobile .btn-create-doc {
	flex: 1;
	/*margin: 0 5px;*/
}


.board-content {
	border-radius: 8px;
	overflow: hidden;
}

.document-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 20px;
	padding: 16px;
	width: 100%;
	/*background-color: #fafafa;*/
}
.document-grid.no-data {
	display: none;
}

.document-card {
	/*background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);*/
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 16px;
	padding: 35px 28px 28px 28px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 250px; /* 최소 높이 설정 */
}

/* 업무수행일지 카드 (기본) - 녹색 테마 */
.document-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	/*background: linear-gradient(90deg, #28a745 0%, #20c997 100%);*/
	background-color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.document-card:hover {
	/*border-color: rgba(40, 167, 69, 0.2);*/
	/*box-shadow: 0 12px 40px rgba(40, 167, 69, 0.15);*/
	border-color: rgba(40, 40, 40, 0.2);
	box-shadow: 0 12px 40px rgba(40, 40, 40, 0.15);
	transform: translateY(-8px);
}

.document-card:hover::before {
	opacity: 1;
}

/* 양식생성으로 만든 카드 - 보라색 테마 */
.document-card.template-based {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
	border-left: 4px solid #667eea;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.document-card.template-based::before {
	background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.document-card.template-based:hover {
	border-color: rgba(102, 126, 234, 0.2);
	box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
	border-left-color: #764ba2;
}

.document-card.template-based .document-title {
	color: #667eea;
}

.document-header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
}

.document-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 8px;
	letter-spacing: -0.5px;
}

.document-type {
	position: absolute;
	right: 28px;
	top: 10px;
	font-size: 14px;
}

.document-meta {
	font-size: 13px;
	color: #6b7280;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 500;
}

.document-info {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.8;
	padding: 16px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	flex: 1; /* 남은 공간 차지 */
}

.document-info div {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.document-info div:last-child {
	margin-bottom: 0;
}

.document-info strong {
	font-weight: 600;
	color: #1f2937;
	min-width: 80px;
}

.document-author-grid {
	position: absolute;
	top: 10px;
	right: 28px;
	font-size: 13px;
	color: #777;
}

.document-author {
	padding: 12px 16px;
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
	border-radius: 10px;
	margin-top: auto; /* 하단으로 밀기 */
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.author-label {
	font-size: 13px;
	color: #6b7280;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.author-name {
	font-size: 15px;
	color: #1f2937;
	font-weight: 700;
	background: linear-gradient(135deg, #667eea, #764ba2);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.grid-view .document-actions {
	display: flex;
	gap: 8px;
	margin-top: 0; /* margin-top 제거 */
}

.btn-card {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none !important;
	display: inline-block;
	position: relative;
	overflow: hidden;
	flex: 1;
	text-align: center;
	white-space: nowrap;
	background-color: #fff;
	border: 1px #ccc solid;
	color: #555;
}

.btn-card::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn-card:hover::before {
	width: 300px;
	height: 300px;
}

.btn-delete {
	/*background: linear-gradient(135deg, #dc3545, #c82333);*/
	color: #f60;
	border-color: #f60;
	/*box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);*/
}

.btn-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

a.btn-card {
	text-decoration: none !important;
}

a.btn-card:hover {
	text-decoration: none !important;
}


/* 리스트 뷰를 테이블로 구현 */
.document-grid.list-view {
	display: table;
	width: calc(100% - 20px);
	border-collapse: collapse;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin: 10px 10px;
}

.document-grid.list-view .document-card {
	display: table-row;
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border-bottom: 1px solid #f1f5f9;
	transition: none !important;
}

.document-grid.list-view .document-card:hover {
	background: #f8fafc;
	transform: none !important;
	box-shadow: none !important;
}

.document-grid.list-view .document-card > * {
	display: table-cell;
	padding: 16px;
	vertical-align: middle;
	border-bottom: 1px solid #f1f5f9;
}

/* 리스트 뷰에서 작성자 배경색 제거 */
.document-grid.list-view .document-author {
	background: transparent !important;
	padding: 16px !important;
}

/* 리스트 뷰에서 액션 버튼 정렬 */
.document-grid.list-view .document-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-start;
}

.document-grid.list-view .document-actions .btn-card {
	margin: 0;
	vertical-align: middle;
}



.pagination-container {
	padding: 20px;
	text-align: center;
	/*border-top: 1px solid #e8ecf1;*/
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 5px;
	align-items: center;
}

.pagination button {
	padding: 8px 12px;
	border: 1px solid #dee2e6;
	background: white;
	color: #4a7bff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.pagination button:hover {
	background: #f8f9fa;
}

.pagination button.active {
	background: #4a7bff;
	color: white;
	border-color: #4a7bff;
}





/* myinfo.php */

.myinfo {
	margin-left: 270px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.page-header {
	position: relative;
}

.page-header .secede {
	position: absolute;
	right: 30px;
	bottom: 30%;
}

.page-body {
	flex: 1;
	padding-right: 20px;
}

.ul-myinfo {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ul-myinfo li {
	padding: 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
}

.ul-myinfo .info-item {
	display: flex;
	flex-direction: row;
}

.ul-myinfo .label {
	display: inline-block;
	width: 100px;
	vertical-align: middle;
}
.ul-myinfo .data {
	flex: 1;
	padding-right: 5px;
}
.ul-myinfo .data input[type=text] {
	width: calc(100% - 10px);
	border: 0;
	border-bottom: 1px #ccc solid;
	height: 30px;
	padding: 0 5px;
	font-size: 1rem;
}
.ul-myinfo input[type=button] {
	width: 100px;
	border: none;
	border-radius: 5px;
	background: var(--btn-bg);
	color: var(--btn-fc);
	font-size: var(--btn-fontsize);
	font-weight: var(--btn-weight);
}
.ul-myinfo .data input[type=text]:disabled {
	opacity: 0.5;
}
.ul-myinfo input[type=button]:disabled {
	opacity: .5;
}

.ul-myinfo .auth-remain {
	padding-top: 5px;
	text-align: center;
	color: #333;
	display: none;
}


.myinfo-foot {
	position: relative;
	padding: 20px 0 20px 0;
	text-align: left;
}



.myinfo-foot input {
	width: 100%;
	max-width: 150px;
	height: 50px;
	background: var(--btn-bg);
	border: 0;
	border-radius: 6px;
	color: var(--btn-fc);
	font-size: var(--btn-fontsize);
	font-weight: var(--btn-weight);
	cursor: pointer;
}


.myinfo .secede {
	position: absolute;
	bottom: 20px;
	right: 0;
	color: #c50;
	font-size: 12px;
	opacity: .7;
}
.myinfo .secede input[type=button] {
	background: unset;
	background-color: #fff;
	border: none;
	color: #c50;
	font-size: 14px;
	width: auto;
	height: 30px;
}


/* 회원 탈퇴 */

.secede-reason {
	padding: 20px;
	background-color: #f5f5f5;
	border-radius: 10px;

}

.secede-reason .choicebox {
	margin-top: 10px;
}

.secede-confirm-check {
	margin: 10px 0;
}




/* alert, confirm box */
.msgbox-wrap {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.3);
	z-index: 10000;
	backdrop-filter: blur(3px);
}

.msg-box {
	min-width: 500px;
	max-width: calc(100% - 40px);
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.msg-box .msg-head {
	position: relative;
	height: 50px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 22px;
}
.msg-box .msg-head .logo {
	position: absolute;
	left: 0;
	top: 0;
	width: 50px;
	height: 100%;
	background: url(/img/logo-symbol-backlight.png) no-repeat center;
	background-size: 30px;
}

.msg-box .msg-content-box {
	text-align: center;
	padding: 50px 40px;
	/*padding-top: 30px;*/
}

.msg-box .msg-content {
	display: inline-block;
	font-size: 16px;
	line-height: 160%;
	/*white-space: nowrap;*/
	text-align: left;
}
.msg-box .msgbox-buttons {
	padding: 20px 0;
	text-align: center;
	background-color: #f1f1f1;
	border-top: 1px #ddd solid;
	border-radius: 0 0 10px 10px;
}

.msg-box .msgbox-buttons input[type=button] {
	height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-width: 100px;
	font-weight: bold;
	color: #fff;
	font-size: 14px;
}
.msg-box .msgbox-buttons .btn-no {
	margin-left: 20px;
}



/* 공통 - 다이얼로그 */
.cdlg {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	backdrop-filter: blur(3px);
}

.cdlg-box {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.3);
	max-width: calc(100% - 40px);
}
.cdlg-box form {
	display: block;
	margin: 0;
}
.cdlg-head {
	position: relative;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	font-size: 22px;
	font-weight: bold;
	color: #fff;
	border-radius: 10px 10px 0 0;
}
.cdlg-head .logo {
	position: absolute;
	left: 0;
	top: 0;
	width: 70px;
	height: 100%;
	background-image: url('/img/logo-symbol-backlight.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 36px;
}

.cdlg-head .close {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: calc(100% - 5px);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 100%;
	font-size: 32px;
	cursor: pointer;
}


.cdlg-body {
	padding: 20px;
}
.cdlg-foot {
	padding: 15px 0;
	text-align: center;
	background-color: #f1f1f1;
	border-radius: 0 0 10px 10px;
	border-top: 1px #d7d7d7 solid;
}
.cdlg-foot input[type=submit],
.cdlg-foot input[type=button] {
	border: 0;
	border-radius: 8px;
	height: 50px;
	padding: 0 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	min-width: 90px;
	margin: 0 5px;
	cursor: pointer;
}

.cdlg-input-single {
	margin-bottom: 5px;
}
.cdlg-input-single input[type=text] {
	height: 30px;
	width: calc(100% - 10px);
	background-color: #fff;
	color: #333;
	font-size: 14px;
	border: 1px #d7d7d7 solid;
}
.cdlg-input-single input[type=text]::placeholder {
	color: #bbb;
}

.cdlg select {
	border: 1px #d7d7d7 solid;
}
.cdlg input[type=text],
.cdlg input[type=number] {
	color: #333;
	background-color: #fff;
	border: 1px #d7d7d7 solid;
}



.cdlg-table-item {
	width: 100%;
	border: 0;
	border-spacing: 0;
}

.cdlg-table-item th,
.cdlg-table-item td {
	padding: 7px 5px;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}

.cdlg input[type=text],
.cdlg input[type=tel],
.cdlg input[type=email],
.cdlg input[type=number],
.cdlg input[type=password] {
	border: 1px #ccc solid;
	height: 30px;
	padding: 0 5px;
	width: calc(100% - 12px);
	font-size: 14px;
}












/* 기간만료 안내 창 */
.expired {
	padding: 40px 10px;
	text-align: center;
	font-size: 20px;
}
.expired em {
	color: #f50;
	font-style: normal;
}


.gray-desc {
	color: #929292;
	font-size: 13px;
	font-weight: normal;
	margin-left: 10px;
}


/* 카드뷰, 리스트뷰에 따라 노출여부 처리 항목 */

.document-grid.grid-view .for-listview {
	display: none !important;
}

.document-grid.list-view .for-gridview {
	display: none !important;
}

.document-grid.list-view .document-meta.for-listview {
	margin-bottom: 5px;
}


@media (min-width: 768px)
{
	.for-mobile {
		display: none !important;
	}
}

@media (max-width: 767px)
{
	.for-desktop {
		display: none !important;
	}

	.board-header {
		padding-left: 0;
		padding-right: 0;
	}
	.board-title {
		padding-left: 0px;
	}
	.board-title h1 {
		font-size: 18px;
	}

	#totalCount {
		color: #888;
		font-size: 13px;
		font-weight: 600;
		vertical-align: baseline;
	}


	.head-doc-type.for-mobile {
		flex: 1.5;
		display: flex;
		align-items: center;
		justify-content: right;
	}
	/*.head-doc-type.for-mobile button {*/
	/*	margin-left: 5px;*/
	/*}*/

	.head-doc-type .btn-doctype {
		height: 35px;
		white-space: nowrap;
	}

	/* 상단 필터박스 */

	.filter-section {
		padding: 7px 7px;
	}
	.filter-box {
		display: block;
	}
	.filter-cal {
		position: relative;
		text-align: center !important;
		margin-bottom: 7px;
		padding-bottom: 7px;
		border-bottom: 1px #ccc solid;
	}
	/*.filter-cal .cal-date {*/
	/*	font-size: 22px;*/
	/*	width: unset;*/
	/*	margin: 0 5px;*/
	/*}*/


	.filter-cal .cal-date {
		display: inline-block;
		height: 36px;
		border-radius: 15px;
		border: 1px #d7d7d7 solid;
		padding: 0 15px;
		font-size: 16px;
	}
	.filter-cal .cal-date > div {
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.filter-cal .cal-date > div i {
		margin-left: 8px;
	}
	.filter-cal .cal-date > div:focus {
		outline: none;
	}


	.filter-cal .btn-cal {
		float: left;
		font-size: 0.97rem;
	}

	.filter-cal .btn-today {
		float: right;
		height: 24px;
		margin-right: 5px;
		margin-top: 2px;
	}

	.filter-search .search-period {
		display: block;
		margin-bottom: 5px;
	}

	.filter-search .search-text-wrap {
		display: flex;
		flex-direction: row;
		white-space: nowrap;
		text-align: left;
	}

	#meeting_type {

		margin: 0 3px;
		height: 40px;
		border: 1px #ccc solid;
		width: 100%;
		margin-bottom: 10px;
		font-size: 16px;
		text-align: center;
	}
	.search-text-wrap .searchtext {
		flex: 1;
		margin: 0 3px;
	}
	.search-text-wrap .btn-filter {
		width: 80px;
	}

	.filter-search input.searchtext {
		width: calc(100% - 127px);
		height: 38px;
	}
	.filter-search .btn-filter {
		margin-right: 0;
		float: right;
	}

	.filter-cal .current-period {
		display: block;
		padding-left: 0;
		padding-top: 5px;
		font-size: 14px;
		color: #000;
	}

	/* 상단 필터박스 끝 */


	.listcount {
		padding: 10px 0 0 20px;
	}

	.document-grid {
		grid-template-columns: 1fr;
		padding: 15px 8px;
	}

	.document-card {
		padding: 20px;
		padding-top: 35px;
	}

	.document-type {
		right: 15px;
	}
	.document-author-grid {
		left: 15px;
	}



	.btn-create-document {
		padding: 12px 16px;
		font-size: 13px;
		height: 44px;
		min-height: 44px;
	}

	.btn-card {
		padding: 8px 0;
		text-align: center;
	}



	/* 회원정보수정 */
	.myinfo {
		padding-top: 50px;
		padding-left: 20px;
		margin-left: 0;
	}

	.myinfo .page-header {
		/*text-align: center;*/
	}

	.ul-myinfo .label {
		width: 80px;
	}

	.myinfo-foot {
		text-align: left;
		margin-top: 20px;
	}





}

@media (max-width: 320px)
{
	.board-title.form h1 {
		font-size: 16px;
		letter-spacing: -1px;
	}
}



/* bubble */
/*.bubble {*/
/*	position: relative;*/
/*	display: inline-block;*/
/*}*/

/*.bubble::after {*/
/*	content: "";*/
/*	position: absolute;*/
/*	top: 50%; left: 50%;*/
/*	width: 20px; height: 20px;*/
/*	background: rgba(188,85,239,0.6);*/
/*	border-radius: 50%;*/
/*	transform: translate(-50%, -50%) scale(0);*/
/*	animation: pop 0.6s ease-out forwards;*/
/*}*/

/*@keyframes pop {*/
/*	0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }*/
/*	70%  { transform: translate(-50%, -50%) scale(2.5); opacity: 0.6; }*/
/*	100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }*/
/*}*/

/* 기본 물방울(원 확장) */
.burst-ring {
	position: absolute;
	border-radius: 50%;
	background: transparent;
	border: 1px rgba(188,85,239,.6) solid;
	pointer-events: none;
	z-index: 9999;
	animation: burstRing 700ms ease-out forwards;
}

@keyframes burstRing {
	0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
	30%  { transform: translate(-50%, -50%) scale(2.6); opacity: 0.6; }
	100% { transform: translate(-50%, -50%) scale(5.5); opacity: 0; }
}

.burst-particle {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	animation: particleFly 600ms cubic-bezier(.2,.6,.2,1) forwards;
}

@keyframes particleFly {
	to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)); }
}

/* AI Guide 안내창 - 체험 중 안내를 위해 띄우는 창 */
.guideAlert {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
	/*backdrop-filter: blur(4px);*/
}

.guideAlert h2 {
	font-size: 18px;
}
.guideAlert .ai-guide-info-header {
	margin-bottom: 0;
	padding: 20px 0;
}
.guideAlert h3 {
	width: 100%;
	text-align: center;
	margin: 0 !important;
}

.guideAlert .ai-guide-content {
	background: white;
	border-radius: 20px;
	max-width: 480px;
	width: 90%;
	padding: 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease;

	display: block !important;
	justify-content: unset !important;
	align-items: unset !important;
	gap: unset !important;
}

.guideAlert .ai-guide-header {
	text-align: center;
	margin-bottom: 24px;
}

.guideAlert .ai-guide-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #1f2937;
}

.guideAlert .ai-guide-description {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
	line-height: 1.6;
}

.guideAlert .ai-guide-count {
	color: #3b82f6;
	font-weight: 600;
}

.guideAlert .ai-guide-info {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
	border: 1px solid rgba(59, 130, 246, 0.15);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 24px;
}

.guideAlert .ai-guide-info-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.guideAlert .ai-guide-info-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
}

.guideAlert .ai-guide-steps {
	list-style: none;
	padding: 0;
	margin: 0;
}

.guideAlert .ai-guide-steps li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 13px;
	color: #4b5563;
}

.guideAlert .ai-guide-actions {
	display: flex;
	gap: 5px;
	justify-content: center;
}

.guideAlert .ai-guide-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guideAlert .ai-guide-btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
}

.guideAlert .ai-guide-btn-primary:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.guideAlert .ai-guide-btn-secondary {
	background: #f3f4f6;
	color: #6b7280;
	border: 1px solid #d1d5db;
}

.guideAlert .ai-guide-btn-secondary:hover {
	background: #e5e7eb;
	color: #374151;
	transform: translateY(-1px);
}


.guideAlert-content {
	padding: 20px 10px;
	border-radius: 10px;
	background-color: #f1f1f1;
	text-align: center;
	margin-bottom: 20px;
	line-height: 150%;
	font-size: 14px;
}

.guideAlert-content .emp {
	color: #3b82f6;
	font-size: 1rem;
}

.guideAlert .ai-guide-actions {

}
.guideAlert .ai-guide-actions button {
	flex: 1;
	justify-content: center;
	padding: 15px 5px;
	border: 1px #eee solid;
	margin-left: 5px;
}
.guideAlert .btn-exp {
	background: var(--btn-bg);
	color: #fff;
	justify-content: center;
	padding: 15px 5px;
	box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}
.guideAlert .btn-goplan {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.guideAlert #guide_remain_ai,
.guideAlert #guide_remain_ai2 {
	color: #f40;
	font-weight: bold;
}

.my-trial-stats {
	margin-bottom: 20px;
	padding: 20px;
	background-color: #efefef;
	border-radius: 10px;
}
.my-trial-stats .stats-title {
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
}

.my-trial-stats ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.my-trial-stats li {
	display: flex;
	margin: 3px 0;
	padding: 10px 0;
	flex-direction: row;
	font-size: 14px;
	background-color: #fff;
	border-radius: 10px;
}
.my-trial-stats .stats-doc-type {
	flex: 1;
	text-align: left;
	padding-left: 20px;
}
.my-trial-stats .stats-doc-type a {
	display: inline-block;
	padding: 4px 10px;
	border: 1px #0ea5e9 solid;
	color: #0ea5e9;
	border-radius: 10px;
	text-decoration: none;
	font-size: 12px;
}


.my-trial-stats .stats-doc-count {

	text-align: right;
	padding-right: 20px;
}
.my-trial-stats .stats-doc-count span {
	color: #f40;
}



.trial-btn-resume-wrap {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70px;
	display: none;  /* to flex */
	align-items: center;
	justify-content: center;
	z-index: 11000;
}

.trial-btn-resume {
	border-radius: 40px;
	background-color: dodgerblue;
	color: #fff;
	font-size: 20px;
	padding: 10px 40px;
	animation: blink-effect 0.8s ease-in-out infinite alternate;
	cursor: pointer;
}

@keyframes blink-effect {
	from { opacity: 1; }
	to { opacity: 0.5; }
}


.guide-modal-title {

}
.color-freecare {
	color: #576ef1 ;
}




@media (max-width: 767px)
{
	.msg-box {
		min-width: 250px;
	}


	.guideAlert .ai-guide-content {
		width: 95% !important;
		max-width: 400px !important;
		padding: 24px 20px !important;
		justify-content: unset !important;
		align-items: unset !important;
		gap: unset !important;
	}

	.guideAlert .ai-guide-title {
		font-size: 16px;
	}

	.guideAlert .ai-guide-description {
		font-size: 14px;
	}

	.guideAlert .ai-guide-actions {
		flex-direction: column;
		gap: 10px;
	}

	.guideAlert .ai-guide-btn {
		width: 100%;
		padding: 14px 20px;
		font-size: 14px;
		justify-content: center;
	}

	.mobile-hidden {
		display: none !important;
	}
}


.char-counter-line,
.char-counter-slot {
	position: absolute;
	bottom: 22px;
	right: 42px;
	display: block;
	/*margin-top: 2px;   !* textarea와 간격 *!*/
	font-size: 14px;
	line-height: 1;
	color: #8b5cf6 ;
	user-select: none;
}

.copy-btn {
	right: 4px;
	bottom: 12px;
	min-width: 32px;
	min-height: 32px;
	font-size: 16px;
}




.trial-list-desc {
	padding: 30px;
	text-align: center;
	font-size: 16px;
	font-weight: normal;
	color: #333;
	margin: 0 20px 10px 20px;
	border-radius: 10px;
	box-shadow: 1px 1px 6px rgba(0,0,0,.2);
}

reqitem::before {
	content: "*";
	color: red;
	font-size: 12px;
	font-weight: bold;
	margin-left: 4px;
}



.flatpickr-calendar {
	margin-top: 20px;
}