:root {
    --bg-body: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1f242c;
    --border-color: #30363d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --success-color: #238636;
    --warning-color: #d29922;
    --danger-color: #f85149;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 15px;
    min-height: 100vh;
}

/* Layout */
.wrapper {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(12, 1fr);
}

/* Header */
header {
    grid-column: span 12;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

h1 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Tab Navigation */
.tabs {
    display: flex;
    gap: 5px;
    background: #0d1117;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--accent-color);
    color: #ffffff;
}

.view-section {
    display: none;
    grid-column: span 12;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.view-section.active {
    display: grid;
}

#view-listings.view-section.active {
    display: flex;
    /* Override grid for these views */
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s;
}

.card:hover {
    border-color: #444c56;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Typography & Metrics */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 5px;
}

.metric-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.status-pill.online {
    background: var(--success-color);
    color: #fff;
    border: none;
}

.status-pill.offline {
    background: var(--danger-color);
    color: #fff;
    border: none;
}

.status-pill.warning {
    background: var(--warning-color);
    color: #fff;
    border: none;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 400px;
    /* Limit height for long lists */
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: var(--bg-card);
}

th,
td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.monospace {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* Grid Spans */
.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-6 {
    grid-column: span 6;
}

.col-8 {
    grid-column: span 8;
}

.col-12 {
    grid-column: span 12;
}

@media (max-width: 1200px) {
    .col-3 {
        grid-column: span 6;
    }

    .col-8 {
        grid-column: span 12;
    }

    .col-4 {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {

    .col-3,
    .col-6 {
        grid-column: span 12;
    }

    header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .header-controls {
        justify-content: space-between;
    }

    h1 {
        justify-content: center;
    }
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 12px;
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--accent-color);
}

.btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.btn:hover {
    filter: brightness(1.1);
}

.btn-danger {
    background: var(--danger-color);
}

.btn-secondary {
    background: #30363d;
    color: var(--text-primary);
}

/* Progress Bar */
.progress-container {
    height: 6px;
    background: #21262d;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

/* Admin Panel Specifics */
.admin-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Detail Popup */
.detail-table {
    width: 100%;
}

.detail-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.detail-table tr:last-child td {
    border-bottom: none;
}

/* Tags (Aliases for status-pill) */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.tag.active {
    background: var(--success-color);
    color: #fff;
    border: none;
}

.tag.busy {
    background: var(--warning-color);
    color: #fff;
    border: none;
}

.tag.offline {
    background: var(--danger-color);
    color: #fff;
    border: none;
}

.tag.inactive {
    background: #484f58;
    color: #fff;
    border: none;
}

/* Enhanced Detail Modal Layout */
.modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

/* Carousel Styles */
.detail-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #fff;
    z-index: 10;
}

/* Score Details Placement */
.dt-score-card {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
}

.dt-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dt-score-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
}

.dt-score-value {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.dt-score-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.dt-score-label {
    color: var(--text-secondary);
}

.dt-score-val {
    color: #fff;
}

.dt-score-penalty {
    color: var(--danger-color);
}

.dt-score-bonus {
    color: var(--success-color);
}

.detail-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.detail-prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-prop-item {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.detail-prop-label {
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 2px;
}

.detail-prop-value {
    color: #fff;
    font-weight: 500;
}

.detail-content-area {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.detail-desc-box {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar & Listings Layout */
.listings-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 10px;
    height: calc(100vh - 120px);
}

.sidebar-filter {
    width: 320px;
    min-width: 320px;
    background: #0b111b;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: 0;
}

.sidebar-filter.collapsed {
    width: 0;
    min-width: 0;
    overflow: hidden;
    border-right: none;
}

.sidebar-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.filter-category {
    margin-bottom: 30px;
}

.cat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 800;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-row .filter-group {
    flex: 1;
    margin-bottom: 0;
}

.filter-row .filter-group label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-row.ternary .filter-group {
    min-width: 0;
    /* Allow shrinking */
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-row.ternary {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Pill Selectors */
.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.pill.active {
    background: rgba(0, 122, 255, 0.15);
    border-color: #007aff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
}

.listings-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lh-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.count-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pag-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.pag-btn:hover:not(:disabled) {
    opacity: 1;
    color: var(--accent-color);
    transform: scale(1.1);
}

.pag-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

#pageInfo {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Listings List & Items */
.listing-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.listing-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.listing-item:hover {
    border-color: #444c56;
    transform: translateY(-2px);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.li-img {
    width: 160px;
    height: 110px;
    background: #000;
    position: relative;
    flex-shrink: 0;
}

.li-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.li-details {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.li-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
}

.li-metrics {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.m-item {
    display: flex;
    flex-direction: column;
}

.m-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
}

.m-val {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}

.m-val.price {
    color: var(--accent-color);
    font-size: 16px;
}

.li-right {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    /* Başa hizala, buton sona gidecek */
    gap: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.li-score-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.li-score-mini .m-label {
    font-size: 9px;
    opacity: 0.7;
    margin-bottom: 0px;
}

.li-score-box {
    text-align: right;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    gap: 15px;
    color: var(--text-secondary);
}

.data-table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 15px 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

#scoreDetailPopup {
    background: var(--bg-card);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.sb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.sb-grid span {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    padding-right: 15px;
}

.sb-grid strong {
    font-size: 11px;
    text-align: right;
}

.red {
    color: var(--danger-color);
}

.green {
    color: var(--success-color);
}

@media (max-width: 1200px) {
    .sidebar-filter {
        width: 280px;
        min-width: 280px;
    }
}

/* Sidebar Detail (Right Side) */
.sidebar-detail {
    width: 0;
    min-width: 0;
    background: #0b111b;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-detail.active {
    width: 450px;
    min-width: 450px;
}

.sd-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sd-header h3 {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.sd-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sd-scroll::-webkit-scrollbar {
    width: 4px;
}

.sd-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sd-main-info {
    margin: 15px 0;
}

.sd-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.sd-location {
    font-size: 12px;
    color: var(--text-secondary);
}

.sd-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.sd-scores-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.sd-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    padding: 40px;
}

.sd-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.2;
}

.sd-tab-content {
    display: none;
}

.sd-tab-content.active {
    display: block;
}

/* Table View Styles */
.listing-table-container {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.listing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.listing-table th {
    position: sticky;
    top: 0;
    background: #161b22;
    z-index: 10;
    text-align: left;
    padding: 10px 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.listing-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

.listing-table tr {
    cursor: pointer;
    transition: background 0.2s;
}

.listing-table tr:hover {
    background: rgba(88, 166, 255, 0.05);
}

.listing-table tr.selected {
    background: rgba(88, 166, 255, 0.1);
}

.lt-id {
    color: var(--text-secondary);
    font-family: monospace;
}

.lt-score {
    font-weight: 700;
}

.lt-diff {
    font-weight: 600;
}

.lt-title {
    font-weight: 500;
    color: #fff;
}

.lt-price {
    font-weight: 700;
    color: var(--accent-color);
}

/* View Toggle Active State */
.view-toggles .icon-btn.active {
    background: var(--accent-color);
    color: #fff;
}

/* Results Loading Overlay */
.results-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--radius-md);
}

.results-loading-overlay .spinner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--accent-color);
}

.results-loading-overlay .spinner-box i {
    font-size: 32px;
}

.results-loading-overlay .spinner-box span {
    font-size: 14px;
    font-weight: 500;
}

/* Sidebar Toggle Animation */
.sidebar-filter {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sidebar-filter.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.icon-btn#btnToggleSideFilter.active {
    background: var(--accent-color);
    color: #fff;
}

@media (max-width: 1400px) {
    .sidebar-detail.active {
        width: 380px;
        min-width: 380px;
    }
}