.tool-wrap { position: relative; display: flex; justify-content: space-between; padding-bottom: 20px; align-items: flex-end; }
.tool-wrap .total-count { display: flex; align-items: center; gap: 10px; width: 100%; position: relative; }
.tool-wrap .total-count .txt { font-size: 1.5rem; }
.tool-wrap .total-count .txt b { font-weight: 900; }
.tool-wrap .total-count .selectbox { min-width: 80px; }
.tool-wrap .total-count .selectbox:after { top: 9px; right: 10px; width: 5px; height: 5px; opacity: .7; }
.tool-wrap .total-count .selectbox select { padding: 5px 10px; font-size: 1.3rem; }
.tool-wrap .total-count .right-btn { position: absolute; bottom: 0; right: 0; }
.tool-wrap .total-count .toggle-wrap { display: inline-flex; align-items: center; cursor: pointer; gap: 4px; }
.tool-wrap .total-count .toggle-wrap .label { font-size: 1.4rem; font-weight: 500; }
.tool-wrap .total-count .toggle-wrap input { display: none; }
.tool-wrap .total-count .toggle-wrap .slider { position: relative; width: 30px; height: 15px; background-color: #ccc; border-radius: 20px; transition: background-color .3s; }
.tool-wrap .total-count .toggle-wrap .slider::before { content: ""; position: absolute; left: 4px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .3s; }
.tool-wrap .total-count .toggle-wrap input:checked + .slider { background-color: #000; }
.tool-wrap .total-count .toggle-wrap input:checked + .slider::before { transform: translateX(12px); }
.tool-wrap .search-input { position: relative; width: 650px; max-width: 100%; display: flex; }
.tool-wrap .search-input .selectbox { width: 25%; border-right: 0; border-radius: 7px 0 0 7px; }
.tool-wrap .search-input .selectbox select { line-height: normal; border: 0; }
.tool-wrap .search-input .input { width: 100%; border: 1px solid var(--line); background-color: #fff; }
.tool-wrap .search-input .input input { font-size: 1.6rem; padding: 10px 60px 10px 15px; width: 100%; display: block; background: #fff; }
.tool-wrap .search-input .button { position: absolute; right: 0; top: 0; width: 50px; height: 100%; background: var(--dark); display: flex; justify-content: center; align-items: center; border-radius: 0 7px 7px 0; }
.tool-wrap .search-input .button button { display: block; width: 100%; height: 100%; }
.tool-wrap .search-input .button button > img { width: 24px; height: 24px; }
.tool-wrap .selectbox { position: relative; border: 1px solid var(--line); background: #fff; }
.tool-wrap .selectbox:after { content: ''; width: 6px; height: 6px; right: 12px; top: 17px; border-left: 1px solid #666; border-bottom: 1px solid #666; position: absolute; transform: rotate(-45deg); cursor: pointer; }
.tool-wrap .selectbox select { background: transparent; font-size: 1.5rem; padding: 13px 20px 12px 15px; width: 100%; cursor: pointer; }
.tool-wrap .bord-filter-wrap { display: flex; gap: 5px; }
.tool-wrap .bord-filter-wrap .filter-btn { display: inline-block; padding: 5px 10px; min-width: 70px; text-align: center; border: 1px solid #d4d7dd; border-radius: 5px; background-color: #fff; font-size: 1.5rem; user-select: none; font-weight: 500; color: #666; }
.tool-wrap .bord-filter-wrap .filter-btn:hover { border-color: var(--theme); color: var(--theme); }
.tool-wrap .bord-filter-wrap .filter-btn.active { border-color: var(--theme); background-color: var(--theme); color: #fff; font-weight: 600; }

.multi-tool .multi-search { width: 100%; }
.multi-tool .multi-search .search-input { width: 100%; min-width: 630px; gap: 5px; max-width: 100%; }
.multi-tool .multi-search .search-input .selectbox:after { right: 10px; width: 5px; height: 5px; top: 16px; }
.multi-tool .multi-search .search-input .selectbox select { padding-left: 10px; padding-right: 13px; }
.multi-tool .multi-search .search-input.layout-2 .selectbox { width: 25%; }
.multi-tool .multi-search .search-input.layout-3 .selectbox { width: 30%; }
.multi-tool .multi-search .search-input.layout-5 .selectbox { width: auto; flex: 1 1 25%; }
.multi-tool .multi-search .search-input .selectbox { border-right: 1px solid var(--line); }

@media (max-width: 900px) {
	.tool-wrap { flex-direction: column-reverse; align-items: flex-start; padding-bottom: 10px; }
	.tool-wrap .total-count { padding-top: 10px; justify-content: space-between; flex-wrap: wrap; }
	.tool-wrap .total-count.has-right-btn { padding-right: 70px; }
	.tool-wrap .total-count.has-right-btn .right-btn { bottom: -2px; }
	.tool-wrap .total-count.has-right-btn .right-btn .a-btn { padding: 6px 18px; }
	.tool-wrap .total-count .txt { font-size: 1.3rem; }
	.tool-wrap .search-input { width: 100%; }
	.tool-wrap .bord-filter-wrap { margin: 15px 0 5px; }
	.tool-wrap .bord-filter-wrap .filter-btn { font-size: 1.4rem; }
	.multi-tool .multi-search .search-input { flex-wrap: wrap; padding-right: 57px; min-width: auto; }
	.multi-tool .multi-search .search-input.layout-2 .selectbox { width: calc(50% - 5px); }
	.multi-tool .multi-search .search-input.layout-3 .selectbox { width: calc(33% - 3px); }
}
@media (max-width: 475px) {
	.tool-wrap { padding-bottom: 5px; }
	.tool-wrap .search-input .selectbox { width: 35%; }
	.tool-wrap .search-input .selectbox:after { right: 10px; }
	.tool-wrap .search-input .selectbox select { font-size: 1.4rem; padding-top: 9px; padding-bottom: 9px; }
	.tool-wrap .search-input .input input { padding-top: 9px; padding-bottom: 9px; }
	.tool-wrap .search-input .button button > img { width: 20px; height: 20px; }
	.tool-wrap .total-count { padding-top: 15px; justify-content: flex-start; }
	.multi-tool .tool-wrap { gap: 0; }
	.multi-tool .multi-search { padding: 0; background-color: transparent; }
	.multi-tool .multi-search .search-input { padding-right: 0; }
	.multi-tool .multi-search .search-input .button { height: 42px; top: unset; bottom: 0; }
	.multi-tool .multi-search .search-input .button button { padding: 10px 0; }
}
