@charset "utf-8";

/* b_keywords.php 전용 — 탭·안내·DataTables */
:root {
	--kw-blue: #4facfe;
	--kw-text2: #a0a0b8;
}
.search-container{
	margin-top: 0px;
}
.place-input-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	width: 100%;
	flex: 1 1 auto;
	min-width: 0;
	flex-shrink: 0;
	background: rgba(79,172,254,0.08);
	border: 1px solid rgba(79,172,254,0.2);
	border-radius: 8px;
	padding: 14px 18px;
	box-sizing: border-box;
}
.place-input-notice p { margin: 0; color: var(--kw-text2); font-size: 0.9rem; line-height: 1.6; }
.place-input-notice i { color: var(--kw-blue); margin-right: 8px; }

.keyword-view-tabs {
	display: flex;
	gap: 0;
	margin-top: 30px;
	border-bottom: none;
	background: #141414;
}
.keyword-view-tabs button {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--kw-text2);
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
	font-weight: 500;
	text-align: center;
	line-height: 1.35;
	transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.keyword-view-tabs button:hover { color: #ccc; background: rgba(255,255,255,.04); }
.keyword-view-tabs button.active {
	color: #fff;
	background: rgba(255,255,255,.06);
	box-shadow: inset 0 3px 0 #de2573;
	font-weight: 600;
}
.keyword-view-pane { padding-bottom: 8px; }
.keyword-input-hint { margin: 6px 0 0; font-size: 12px; color: #aaa; }

#keywordSingle {
	width: 100%;
	border: 1px solid #555;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 14px;
	resize: none;
	box-sizing: border-box;
	background: #1a1a1a;
	color: #fff;
}
#keywordSingle:focus { outline: none; border-color: #aaa; }
#keywordSingle::placeholder { color: #888; }

.resultContainer .dataTables_filter input,
.resultContainer .dataTables_filter input[type="search"] {
	margin: 8px !important;
}
.resultContainer,
.resultContainer .dataTables_wrapper,
.resultContainer .dataTables_wrapper * {
	color: #fff;
}

.result-data-table.dataTable thead .sorting:before,
.result-data-table.dataTable thead .sorting:after,
.result-data-table.dataTable thead .sorting_asc:before,
.result-data-table.dataTable thead .sorting_asc:after,
.result-data-table.dataTable thead .sorting_desc:before,
.result-data-table.dataTable thead .sorting_desc:after {
	display: none !important;
}
.result-data-table.dataTable thead th.sorting,
.result-data-table.dataTable thead th.sorting_asc,
.result-data-table.dataTable thead th.sorting_desc {
	cursor: pointer;
	user-select: none;
}

/* DataTables 정렬 아이콘 */
.dt-sort-icon {
	display: inline-block;
	margin-left: 5px;
	font-style: normal;
	color: #fff;
	font-size: 11px;
}
.dt-sort-icon::after { content: '⇅'; }
th.sorting_asc  .dt-sort-icon::after { content: '↑'; }
th.sorting_desc .dt-sort-icon::after { content: '↓'; }

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button:link,
.dataTables_wrapper .dataTables_paginate .paginate_button:visited {
	color: #fff !important;
	border: 1px solid #555 !important;
	border-radius: 4px;
	background: transparent !important;
	margin: 0 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	color: #fff !important;
	border-color: #aaa !important;
	background: rgba(255,255,255,0.1) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	color: #fff !important;
	border: 1px solid #aaa !important;
	background: rgba(255,255,255,0.18) !important;
	background-image: none !important;
	box-shadow: none !important;
	font-weight: bold;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
	color: #555 !important;
	border-color: #444 !important;
	background: transparent !important;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
	background: #222;
	color: #fff;
	border: 1px solid #555;
	border-radius: 4px;
	padding: 2px 6px;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
	color: #aaa;
}
