@charset "utf-8";

/* Legacy list, search, write, and responsive board polish.
   Split from slotmaru-polish-board.css lines 675-970; preserve load order in head.sub.php. */

#bo_list {
	border-top: 2px solid var(--slotmaru-navy);
	background: #fff;
}

#bo_list .div-head,
#bo_list .board-list-head,
#bo_list .list-head {
	border-bottom: 1px solid rgba(246, 183, 60, .4);
	background: linear-gradient(135deg, var(--slotmaru-navy), var(--slotmaru-navy-2));
	color: #fff;
	font-weight: 800;
}

#bo_list .div-head span,
#bo_list .board-list-head span,
#bo_list .list-head span {
	color: #fff;
}

#bo_list .list-row,
#bo_list .div-row,
#bo_list .na-table .tr {
	border-bottom-color: #edf1f5;
	background: #fff;
}

#bo_list .list-row:hover,
#bo_list .div-row:hover,
#bo_list .na-table .tr:hover {
	background: #f6fbfb;
}

#bo_list .wr-subject a,
#bo_list .na-title a,
#bo_list .list-title a {
	color: var(--slotmaru-text);
	font-weight: 700;
}

#bo_list .wr-subject a:hover,
#bo_list .na-title a:hover,
#bo_list .list-title a:hover {
	color: var(--slotmaru-link-hover, var(--slotmaru-teal-2));
}

#bo_list .custom-categorycls,
#bo_list .bo_cate_link,
#bo_list .badge {
	border: 1px solid rgba(15, 140, 124, .2);
	border-radius: 999px;
	background: #effaf8;
	color: var(--slotmaru-teal-2);
	font-weight: 800;
}

#bo_list .board-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 52px 18px;
	border: 0;
	background: linear-gradient(180deg, #fff, #fbfcfd);
	color: var(--slotmaru-text);
	text-align: center;
}

#bo_list .board-empty-state__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 54px !important;
	height: 54px !important;
	margin: 0 0 16px !important;
	border: 1px solid rgba(246, 183, 60, .58) !important;
	border-radius: 50% !important;
	background: #fff8e8 !important;
	box-shadow:
		inset 0 0 0 2px rgba(255, 255, 255, .78),
		0 4px 10px rgba(7, 24, 39, .05);
	color: var(--slotmaru-gold-deep) !important;
	font-size: 21px !important;
	line-height: 1 !important;
}

#bo_list .board-empty-state__icon i {
	display: block;
	line-height: 1;
}

#bo_list .board-empty-state strong {
	display: block;
	color: var(--slotmaru-navy);
	font-size: 18px;
}

#bo_list .board-empty-state span:not(.board-empty-state__icon) {
	display: block;
	margin-top: 8px;
	color: var(--slotmaru-muted);
	font-size: 14px;
}

#bo_list .board-empty-state .board-empty-state__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.board-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 18px;
}

.board-empty-state__actions a,
.board-empty-state__actions button {
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid rgba(246, 183, 60, .55);
	border-radius: 999px;
	background: #fff;
	color: var(--slotmaru-navy-2);
	font-weight: 800;
}

.board-empty-state__actions a:first-child,
.board-empty-state__actions button:first-child {
	border-color: var(--slotmaru-teal);
	background: var(--slotmaru-teal);
	color: #fff;
}

#bo_search,
#sch_res_detail,
.custom-search-sec {
	margin: 16px 0 0;
	padding: 10px 14px;
	border: 1px solid rgba(223, 230, 239, .95);
	border-radius: 10px;
	background: #fbfcfd;
}

#bo_search form,
#sch_res_detail form,
.custom-search-sec form {
	display: flex;
	gap: 8px;
	align-items: center;
}

#bo_search select,
#bo_search input[type="text"],
#sch_res_detail select,
#sch_res_detail input[type="text"] {
	min-height: 42px;
}

#bo_search button,
#sch_res_detail button,
.custom-search-sec button {
	min-height: 42px;
}

#bo_list_wrap #bo_search,
#bo_list_wrap .custom-search-sec {
	margin-top: 0;
}

.pg_wrap,
.pagination {
	margin-top: 18px;
}

.pg_page,
.pg_current,
.page-link {
	min-width: 36px;
	min-height: 36px;
	border-radius: 8px !important;
}

#bo_w .write_div,
#qa_w .write_div,
#bo_w .tbl_frm01,
#qa_w .tbl_frm01 {
	border: 1px solid rgba(223, 230, 239, .95);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(7, 24, 39, .05);
}

#bo_w .btn_confirm,
#qa_w .btn_confirm {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

@media (max-width: 991.98px) {
	#bo_list_wrap {
		border-radius: 8px;
	}

	#bo_search form,
	#sch_res_detail form,
	.custom-search-sec form {
		flex-wrap: wrap;
	}

	#bo_search select,
	#bo_search input[type="text"],
	#sch_res_detail select,
	#sch_res_detail input[type="text"],
	#bo_search button,
	#sch_res_detail button {
		flex: 1 1 160px;
	}
}

@media (max-width: 575.98px) {
	#bo_list_wrap {
		margin-right: -2px;
		margin-left: -2px;
		border-radius: 8px;
	}

	#bo_list_wrap.slotmaru-standard-list {
		display: block;
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	#bo_list_wrap > .custom_top_nav_div,
	#bo_list_wrap .point-zone-wrapper,
	#bo_cate,
	#bo_btn_top {
		padding-right: 12px;
		padding-left: 12px;
	}

	#bo_list_wrap .point-zone-wrapper {
		padding-top: 18px;
	}

	#bo_list .div-head,
	#bo_list .board-list-head,
	#bo_list .list-head {
		display: none;
	}

	#bo_list .list-row,
	#bo_list .div-row,
	#bo_list .na-table .tr {
		display: block;
		padding: 13px 12px;
	}

	#bo_list .board-empty-state {
		padding: 38px 14px;
	}

	#bo_list .board-empty-state__icon {
		width: 48px !important;
		height: 48px !important;
		margin-bottom: 14px !important;
		font-size: 19px !important;
	}

	#bo_search,
	#sch_res_detail,
	.custom-search-sec {
		padding: 10px 12px;
	}

	#bo_search form,
	#sch_res_detail form,
	.custom-search-sec form {
		display: block;
	}

	#bo_search select,
	#bo_search input[type="text"],
	#bo_search button,
	#sch_res_detail select,
	#sch_res_detail input[type="text"],
	#sch_res_detail button {
		width: 100%;
		margin-top: 8px;
	}

	#bo_search select:first-child,
	#sch_res_detail select:first-child {
		margin-top: 0;
	}

	#bo_w .btn_confirm,
	#qa_w .btn_confirm {
		display: block;
	}
