/**
 * table_filter_sort.css
 * 모든 장비 리스트 표 컬럼 정렬, 우상단 돋보기 검색창, 하단 토스트 팝업 스타일
 */

/* 1. 컬럼 헤더 정렬 UI */
.sortable-th {
    cursor: pointer !important;
    user-select: none;
    position: relative;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sortable-th:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #6ea8fe !important;
}

.sortable-th .sort-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.35;
    transition: opacity 0.2s ease, color 0.2s ease;
    vertical-align: middle;
}

.sortable-th:hover .sort-icon {
    opacity: 0.75;
}

.sortable-th.sort-asc .sort-icon {
    opacity: 1 !important;
    color: #0d6efd !important;
}

.sortable-th.sort-desc .sort-icon {
    opacity: 1 !important;
    color: #0d6efd !important;
}

/* 2. 우상단 돋보기 검색 인풋 그룹 */
.table-search-group {
    max-width: 240px;
    width: 100%;
}

.table-search-group .input-group-text {
    background-color: #1a1e29 !important;
    border-color: #383f50 !important;
    color: #8c98a4 !important;
    font-size: 0.85rem;
    padding-left: 10px;
    padding-right: 8px;
}

.table-search-group input.form-control {
    background-color: #12151e !important;
    border-color: #383f50 !important;
    color: #f8f9fa !important;
    font-size: 0.82rem;
    padding: 5px 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.table-search-group input.form-control::placeholder {
    color: #6c757d !important;
    font-size: 0.8rem;
}

.table-search-group input.form-control:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

/* 3. 하단 모던 글래스모피즘 스낵바 토스트 */
.table-sort-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    z-index: 10500;
    background: rgba(18, 24, 38, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 110, 253, 0.6);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(13, 110, 253, 0.25);
    color: #ffffff;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.table-sort-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.table-sort-toast .toast-icon {
    color: #0dcaf0;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

.table-sort-toast .toast-msg {
    letter-spacing: -0.2px;
}

/* 검색 결과 없음 안내 행 */
.no-matching-row td {
    text-align: center;
    padding: 24px !important;
    color: #8c98a4 !important;
    font-size: 0.88rem;
}
