@charset "utf-8";

/* Login, search result, and QA board polish.
   Split from slotmaru-polish-ui.css lines 246-703; preserve load order in head.sub.php. */

#mb_login {
	max-width: 380px !important;
	padding: 26px 24px !important;
	border: 1px solid var(--slotmaru-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(7, 24, 39, .035);
}

#mb_login h1 {
	color: var(--slotmaru-navy) !important;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 0;
}

#mb_login .bg-primary {
	width: 48px;
	height: 3px !important;
	margin: 12px auto 20px;
	border-radius: 999px;
	background: var(--slotmaru-gold) !important;
}

#mb_login .input-group-text {
	border-color: #d9e2ec;
	background: #fbfcfd;
	color: var(--slotmaru-muted);
}

.slotmaru-search-head {
	border-color: rgba(246, 183, 60, .32) !important;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 36%),
		#fff !important;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
}

#sch_res_detail legend {
	width: auto;
	padding: 0 8px;
	color: var(--slotmaru-navy);
	font-size: 15px;
	font-weight: 900;
}

#sch_res_detail .switch_field {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

#sch_res_detail .switch_field input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#sch_res_detail .switch_field label {
	margin: 0;
	padding: 8px 13px;
	border: 1px solid rgba(246, 183, 60, .5);
	border-radius: 999px;
	background: #fff;
	color: var(--slotmaru-navy-2);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

#sch_res_detail .switch_field input[type="radio"]:checked + label {
	border-color: var(--slotmaru-teal);
	background: var(--slotmaru-teal);
	color: #fff;
}

#sch_result .empty_list {
	padding: 44px 18px;
	border: 1px dashed #c8d5df;
	border-radius: 10px;
	background: #f7fbfb;
	color: var(--slotmaru-navy-2);
	text-align: center;
}

.slotmaru-qa-head,
.slotmaru-qa-listbar {
	border-color: rgba(246, 183, 60, .32) !important;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 36%),
		#fff !important;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
}

.slotmaru-basic-qa-head {
	margin: 0 0 16px;
	padding: 24px;
	border: 1px solid rgba(246, 183, 60, .32);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 38%),
		#fff;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
}

.slotmaru-basic-qa-eyebrow {
	margin: 0 0 8px;
	color: var(--slotmaru-teal-2);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
}

.slotmaru-basic-qa-head h1 {
	margin: 0;
	color: var(--slotmaru-navy);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.32;
	letter-spacing: 0;
}

.slotmaru-basic-qa-head p:last-child {
	margin: 9px 0 0;
	color: var(--slotmaru-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}

.slotmaru-basic-qa-listbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0 10px;
	padding: 13px 16px;
	border: 1px solid rgba(246, 183, 60, .32);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 36%),
		#fff;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
}

.slotmaru-basic-qa-listbar strong {
	color: var(--slotmaru-navy);
	font-size: 15px;
	font-weight: 900;
}

.slotmaru-basic-qa-listbar span {
	color: var(--slotmaru-muted);
	font-size: 13px;
	font-weight: 700;
}

.slotmaru-basic-qa-table caption {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.slotmaru-qa-head h1,
.slotmaru-qa-listbar strong {
	color: var(--slotmaru-navy) !important;
	letter-spacing: 0;
}

.slotmaru-qa-table thead th {
	border-color: #e1e8ef !important;
	background: #f8fafb !important;
	color: var(--slotmaru-navy-2) !important;
}

.slotmaru-qa-table .bo_tit {
	color: var(--slotmaru-navy) !important;
}

.slotmaru-qa-table .bo_cate_link {
	background: #eefaf8 !important;
	color: var(--slotmaru-teal-2) !important;
}

#bo_list .txt_done,
#bo_v_rel .txt_done {
	background: var(--slotmaru-teal) !important;
}

#bo_list .txt_rdy,
#bo_v_rel .txt_rdy {
	background: #8792a2 !important;
}

.slotmaru-qa-empty-panel {
	border-color: #c8d5df !important;
	background: #f7fbfb !important;
	color: var(--slotmaru-text) !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
	text-align: center;
}

.slotmaru-basic-qa-empty .slotmaru-qa-empty-panel {
	max-width: 560px;
	margin: 18px auto;
	padding: 30px 20px;
	border: 1px dashed #c8d5df;
	border-radius: 12px;
}

.slotmaru-qa-empty-panel strong {
	display: block;
	color: var(--slotmaru-navy);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.45;
}

.slotmaru-qa-empty-panel span {
	display: block;
	margin-top: 8px;
	color: var(--slotmaru-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}

.slotmaru-qa-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 18px;
}

.slotmaru-qa-empty-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid rgba(246, 183, 60, .62);
	border-radius: 999px;
	background: #fff;
	border-color: rgba(246, 183, 60, .62) !important;
	color: var(--slotmaru-navy-2) !important;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.slotmaru-qa-empty-actions a:hover,
.slotmaru-qa-empty-actions a:focus {
	background: #eef7f6 !important;
	color: #07333a !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) {
	border-top: 0 !important;
	background: transparent !important;
}

#bo_list:has(input[name="bo_table"][value="qa"])::before {
	display: block;
	margin: 0 0 0;
	padding: 22px 24px 6px;
	border: 1px solid rgba(246, 183, 60, .32);
	border-bottom: 0;
	border-radius: 10px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 36%),
		#fff;
	color: var(--slotmaru-navy);
	font-size: 24px;
	font-weight: 900;
	line-height: 1.35;
	content: "슬롯마루 Q&A";
}

#bo_list:has(input[name="bo_table"][value="qa"]) > form::before {
	display: block;
	margin: 0 0 16px;
	padding: 0 24px 22px;
	border: 1px solid rgba(246, 183, 60, .32);
	border-top: 0;
	border-radius: 10px;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	background: #fff;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
	color: var(--slotmaru-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
	content: "슬롯 정보, 게시글 확인, 이용 전 체크가 필요한 내용을 남기는 문의 공간입니다.";
}

#bo_list:has(.slotmaru-basic-qa-head)::before,
#bo_list:has(.slotmaru-basic-qa-head) > form::before,
#bo_list:has(.slotmaru-basic-qa-listbar) .tbl_head01::before {
	display: none !important;
	content: none !important;
}

#bo_list:has(.slotmaru-basic-qa-head) .empty_table::before,
#bo_list:has(.slotmaru-basic-qa-head) .empty_table::after {
	display: none !important;
	content: none !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .tbl_head01::before {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0 10px;
	padding: 13px 16px;
	border: 1px solid rgba(246, 183, 60, .32);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(15, 140, 124, .08), transparent 36%),
		#fff;
	box-shadow: 0 12px 26px rgba(7, 24, 39, .05);
	color: var(--slotmaru-navy);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.5;
	white-space: pre-line;
	content: "문의 목록\a등록된 문의는 최신순으로 정리됩니다.";
}

#bo_list:has(input[name="bo_table"][value="qa"]) #bo_list_total span {
	font-size: 0;
}

#bo_list:has(input[name="bo_table"][value="qa"]) #bo_list_total span::before {
	font-size: 13px;
	content: "문의";
}

#bo_list:has(input[name="bo_table"][value="qa"]) .tbl_head01 table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #fff !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .tbl_head01 thead th {
	padding: 12px 10px !important;
	border-top: 1px solid #e1e8ef !important;
	border-bottom: 1px solid #e1e8ef !important;
	background: #f8fafb !important;
	color: var(--slotmaru-navy-2) !important;
	font-weight: 900 !important;
	white-space: nowrap !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .tbl_head01 thead th a {
	color: var(--slotmaru-navy-2) !important;
	white-space: nowrap !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .tbl_head01 tbody td {
	padding: 13px 10px !important;
	border-bottom: 1px solid #edf1f5 !important;
	color: #334155 !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .empty_table {
	padding: 0 !important;
	background: transparent !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .empty_table::before,
#bo_list:has(input[name="bo_table"][value="qa"]) .empty_table::after {
	display: block;
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	white-space: pre-line;
}

#bo_list:has(input[name="bo_table"][value="qa"]) .empty_table::before {
	margin-top: 18px;
	padding: 30px 20px 12px;
	border: 1px dashed #c8d5df;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #f7fbfb;
	color: var(--slotmaru-navy);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.55;
	content: "아직 등록된 문의가 없습니다.\a문의가 등록되면 최신순으로 이곳에 표시됩니다.";
}

#bo_list:has(input[name="bo_table"][value="qa"]) .empty_table::after {
	margin-bottom: 18px;
	padding: 4px 20px 30px;
	border: 1px dashed #c8d5df;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #f7fbfb;
	color: var(--slotmaru-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
	content: "홈 또는 공지사항에서 운영 안내를 먼저 확인할 수 있습니다.";
}

#sch_res_detail.slotmaru-search-detail {
	border: 1px solid rgba(246, 183, 60, .32);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 16px rgba(7, 24, 39, .03);
}

#sch_res_detail .slotmaru-search-box {
	display: flex;
}

#sch_res_detail .slotmaru-search-box .frm_input {
	min-width: 0;
}

#sch_res_detail .switch_field {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#sch_res_detail .switch_field label {
	float: none !important;
	width: auto !important;
	min-width: 0;
	white-space: nowrap;
	word-break: keep-all;
	box-shadow: none !important;
}
