.pitch-leaderboard-root {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
    margin: 0 auto;
}

.pitch-leaderboard-filters {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.pitch-leaderboard-filters .filter-control {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 160px;
}

.pitch-leaderboard-filters label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #d0d6e2;
}

.pitch-leaderboard-filters select {
    background-color: #1a1a1a;
    color: #f0f4ff;
    border: 1px solid #394451;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Column selector styles */
.column-selector {
    min-width: 200px;
}

.column-dropdown-container {
    position: relative;
}

.column-dropdown-btn {
    background: linear-gradient(135deg, #2d2751 0%, #2a2344 100%);
    color: #f5f7ff;
    border: 1px solid #6d5dd8;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-dropdown-btn:hover {
    border-color: #8a7df1;
    background: linear-gradient(135deg, #342d5d 0%, #2f2850 100%);
}

.column-dropdown-btn.active {
    border-color: #b09bff;
    box-shadow: 0 0 0 2px rgba(176, 155, 255, 0.25);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.column-dropdown-btn.active .dropdown-arrow {
    transform: rotate(-180deg);
}

.column-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #394451;
    border-radius: 6px;
    margin-top: 0.25rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: 500px;
    overflow-y: auto;
}

.column-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.category-column {
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff6b35;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.column-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.column-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    font-size: 0.85rem;
}

.column-option:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.column-option.required {
    opacity: 0.7;
    cursor: default;
}

.column-option.required:hover {
    background-color: transparent;
}

.column-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #ff6b35;
}

.column-checkbox:disabled {
    cursor: default;
    opacity: 0.6;
}

.checkbox-label {
    color: #f0f4ff;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.column-option.required .checkbox-label {
    cursor: default;
}

.required-indicator {
    color: #ff6b35;
    font-weight: bold;
    font-size: 0.9em;
}

.column-categories::-webkit-scrollbar {
    width: 6px;
}

.column-categories::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.column-categories::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.pitch-leaderboard-filters select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

/* Pagination controls above table */
.pagination-top-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #d0d6e2;
    margin-bottom: 0.75rem;
    width: 100%;
}

.pagination-top-controls label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #d0d6e2;
    text-transform: none;
}

.pagination-top-controls select {
    background-color: #1a1a1a;
    color: #f0f4ff;
    border: 1px solid #394451;
    border-radius: 4px;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.pagination-top-controls select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.pagination-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
}

.pagination-nav-btn {
    background: #1a1a1a;
    color: #f0f4ff;
    border: 1px solid #394451;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-nav-btn:hover:not(:disabled) {
    background: #ff6b35;
    border-color: #ff6b35;
}

.pagination-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #0d0d0d;
    border-color: #2a2a2a;
}

.page-info {
    font-size: 0.85rem;
    color: #d0d6e2;
    white-space: nowrap;
}

/* Table title as caption (sticky) */
.table-title.sticky-title {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #2a2a2a;
    color: #f0f4ff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #394451;
    caption-side: top;
}

/* Dynamic width table wrapper */
.pitch-leaderboard-table-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dynamic-width-container {
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    width: fit-content;
    min-width: 400px;
    max-width: 85vw;
    transition: max-width 0.3s ease;
}

.pitch-leaderboard-scroll {
    width: max-content;
    max-width: 85vw;
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 8px;
    position: relative;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 53, 0.6) rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.pitch-leaderboard-scroll::-webkit-scrollbar {
    height: 10px;
}

.pitch-leaderboard-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.6);
    border-radius: 5px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.pitch-leaderboard-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.8);
}

.pitch-leaderboard-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* Scrollable content indicators */
.pitch-leaderboard-scroll::before,
.pitch-leaderboard-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 10px; /* Account for scrollbar height */
    width: 20px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.pitch-leaderboard-scroll::before {
    left: 0;
    background: linear-gradient(to right, rgba(42, 42, 42, 1), rgba(42, 42, 42, 0));
}

.pitch-leaderboard-scroll::after {
    right: 0;
    background: linear-gradient(to left, rgba(42, 42, 42, 1), rgba(42, 42, 42, 0));
}

/* Hide fade indicators when not scrollable */
.pitch-leaderboard-scroll:not([data-scrollable="true"])::before,
.pitch-leaderboard-scroll:not([data-scrollable="true"])::after {
    opacity: 0;
}

.pitch-leaderboard-table-wrapper .pitch-metrics-container {
    padding: 1rem 1.5rem !important;
    margin: 0;
    width: 100%;
    background-color: transparent;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.pitch-leaderboard-table-wrapper table.data-table {
    width: max-content;
    border-collapse: collapse;
    /* Ensure table doesn't break container layout */
    table-layout: auto;
}

.pitch-leaderboard-table-wrapper th.numeric-cell,
.pitch-leaderboard-table-wrapper td.numeric-cell {
    text-align: right;
}

.pitch-leaderboard-table-wrapper th,
.pitch-leaderboard-table-wrapper td {
    white-space: nowrap;
}

.pitch-leaderboard-table-wrapper th.sortable-header {
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.pitch-leaderboard-table-wrapper th.sortable-header:hover {
    color: #ff8c42;
}

.pitch-leaderboard-table-wrapper th.sortable-header.sort-asc::after,
.pitch-leaderboard-table-wrapper th.sortable-header.sort-desc::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.pitch-leaderboard-table-wrapper th.sortable-header.sort-asc::after {
    border-bottom: 7px solid #ff6b35;
}

.pitch-leaderboard-table-wrapper th.sortable-header.sort-desc::after {
    border-top: 7px solid #ff6b35;
}

.pitch-leaderboard-status {
    width: 100%;
    text-align: right;
    font-size: 0.85rem;
    color: #b8c2d1;
}

.pitch-leaderboard-empty {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    color: #d0d6e2;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.pitch-leaderboard-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #2a2a2a;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-btn {
    background: #1a1a1a;
    color: #f0f4ff;
    border: 1px solid #394451;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pagination-btn:hover:not(:disabled) {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #0d0d0d;
    border-color: #2a2a2a;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1rem;
    font-size: 0.9rem;
    color: #d0d6e2;
}

.pagination-page-select {
    background: #1a1a1a;
    color: #f0f4ff;
    border: 1px solid #394451;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pagination-page-select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

@media (max-width: 1200px) {
    .pitch-leaderboard-root {
        width: 95%;
    }

    .pitch-leaderboard-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .pitch-leaderboard-root {
        width: 100%;
    }

    .pitch-leaderboard-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .pitch-leaderboard-filters .filter-control {
        width: 100%;
    }

    .column-selector {
        min-width: unset;
    }

    .column-dropdown-menu {
        max-height: 350px;
        left: -50%;
        right: -50%;
    }

    .column-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .category-title {
        font-size: 0.75rem;
    }

    .column-option {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    .column-checkbox {
        width: 12px;
        height: 12px;
    }

    /* Pagination responsive */
    .pagination-top-controls {
        justify-content: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .pagination-nav-controls {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    /* Sticky header responsive */
    .sticky-header-container {
        padding: 0.75rem 0;
        margin-bottom: 0.75rem;
    }

    .sticky-title {
        font-size: 1.25rem;
    }

    /* Dynamic width container responsive */
    .dynamic-width-container {
        min-width: 300px;
        max-width: 95vw;
    }

    .pitch-leaderboard-table-wrapper .pitch-metrics-container {
        padding: 0.75rem 1rem !important;
    }

    .pitch-leaderboard-scroll {
        max-width: 95vw;
    }

    /* Mobile header adjustments */
    .pitch-leaderboard-table-wrapper th.sortable-header {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .pitch-leaderboard-table-wrapper th.filterable-header .header-button {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .column-dropdown {
        min-width: 200px;
        width: min(240px, 85vw);
        max-width: 85vw;
    }

    .pitch-leaderboard-table-wrapper th.filterable-header.numeric-cell .column-dropdown {
        left: auto;
        right: 0;
    }

    .column-dropdown .dropdown-footer {
        flex-direction: column;
    }

    .sort-toggle,
    .reset-column {
        width: 100%;
    }

    .search-dropdown-content {
        min-width: 220px;
        padding: 0.75rem;
    }

    .sort-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }

    .pagination-controls {
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 0.5rem;
        justify-content: center;
    }

    .pagination-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .pagination-info {
        margin: 0 0.5rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Column header dropdown widget */
.pitch-leaderboard-table-wrapper th.filterable-header {
    position: relative;
    padding: 0;
    background: transparent;
    user-select: none;
    transition: background-color 0.2s ease;
}

.pitch-leaderboard-table-wrapper th.filterable-header.numeric-cell {
    text-align: right;
}

.filterable-header .header-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: transparent;
    border: none;
    color: #f0f4ff;
    font: inherit;
    font-weight: 600;
    padding: 0.75rem 0.75rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.filterable-header .header-button:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

.filterable-header .header-label {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.filterable-header .header-sort {
    min-width: 0.75rem;
    text-align: right;
    font-size: 0.75rem;
    color: #ff6b35;
    transition: color 0.2s ease;
}

.filterable-header .header-button:hover,
.filterable-header.dropdown-open .header-button {
    background: rgba(255, 107, 53, 0.08);
}

.filterable-header.has-filter .header-button {
    background: rgba(255, 107, 53, 0.15);
    color: #ffe3d2;
}

.filterable-header.is-sorted .header-button {
    color: #ffe3d2;
}

.filterable-header.dropdown-open {
    z-index: 1001;
}

.column-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    width: max-content;
    max-width: 280px;
    background: #1a1a1a;
    border: 1px solid #394451;
    border-radius: 8px;
    padding: 0.85rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    color: #f0f4ff;
    text-align: left;
    z-index: 1000;
}

.pitch-leaderboard-table-wrapper th.filterable-header.numeric-cell .column-dropdown {
    right: 0;
    left: auto;
}

.column-dropdown.open {
    display: block;
}

.column-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d0d6e2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 0 0.75rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.column-menu-count {
    color: #ffb997;
    font-weight: 500;
}

.column-dropdown label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d0d6e2;
    margin-bottom: 0.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.column-dropdown input {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 4px;
    border: 1px solid #394451;
    background: #2a2a2a;
    color: #f0f4ff;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
}

.column-dropdown input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.column-dropdown .dropdown-section + .dropdown-section {
    margin-top: 0.75rem;
}

.column-dropdown .dropdown-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.sort-toggle,
.reset-column {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #394451;
    background: #2a2a2a;
    color: #f0f4ff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sort-toggle:hover,
.reset-column:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.reset-column {
    background: #1a1a1a;
}

.reset-column:hover {
    background: rgba(255, 107, 53, 0.08);
}

.sort-toggle.is-active {
    border-color: #ff6b35;
    color: #ff6b35;
}

.sort-toggle .sort-arrow {
    font-size: 0.85rem;
    color: #9ca3af;
}

.sort-toggle.is-active .sort-arrow {
    color: inherit;
}

/* Enhanced header styles with unified sort/filter */
.pitch-leaderboard-table-wrapper th.sortable-header {
    position: relative;
    user-select: none;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pitch-leaderboard-table-wrapper th.searchable-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Header content layout */
.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Column label */
.column-label {
    display: flex;
    align-items: center;
}

/* Sort arrows */
.pitch-leaderboard-table-wrapper th.sortable-header.sort-asc::after,
.pitch-leaderboard-table-wrapper th.sortable-header.sort-desc::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.pitch-leaderboard-table-wrapper th.sortable-header.sort-asc::after {
    border-bottom: 6px solid #ff6b35;
}

.pitch-leaderboard-table-wrapper th.sortable-header.sort-desc::after {
    border-top: 6px solid #ff6b35;
}

/* Filter indicator */
.filter-indicator {
    margin-left: 0.25rem;
    font-size: 0.6rem;
    color: #ff6b35;
}

.has-filter {
    background: rgba(255, 107, 53, 0.1) !important;
}

/* Search dropdown styles */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #394451;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 200px;
}

.search-dropdown-content {
    padding: 1rem;
    min-width: 250px;
}

.search-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f0f4ff;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid #394451;
    padding-bottom: 0.5rem;
}

/* Dropdown sections */
.dropdown-section {
    margin-bottom: 1rem;
}

.dropdown-section:last-of-type {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f0f4ff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sort options */
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sort-btn {
    background: #2a2a2a;
    border: 1px solid #394451;
    border-radius: 4px;
    padding: 0.6rem 0.75rem;
    color: #f0f4ff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.sort-btn.active {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    color: #ff6b35;
    font-weight: 500;
}

.sort-arrow {
    font-size: 0.9rem;
    font-weight: bold;
}

.search-help {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.search-inputs {
    margin-bottom: 0.75rem;
}

.search-inputs input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #2a2a2a;
    border: 1px solid #394451;
    border-radius: 4px;
    color: #f0f4ff;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

.search-inputs input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.search-inputs input:last-child {
    margin-bottom: 0;
}

.search-actions {
    display: flex;
    gap: 0.5rem;
}

.search-actions button {
    flex: 1;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-apply {
    background: #ff6b35;
    color: white;
}

.search-apply:hover {
    background: #e55a2b;
}

.search-clear {
    background: #394451;
    color: #f0f4ff;
}

.search-clear:hover {
    background: #4a5661;
}
