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

body {
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.container {
    width: 80%;
    max-width: none;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #e94560;
    font-size: 2em;
    font-weight: 600;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

#search-input {
    width: 500px;
    max-width: 70%;
    padding: 12px 18px;
    border: 2px solid #16213e;
    border-radius: 8px;
    background-color: #16213e;
    color: #e0e0e0;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

#search-input:focus {
    border-color: #e94560;
}

#search-input::placeholder {
    color: #666;
}

#search-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background-color: #e94560;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#search-btn:hover {
    background-color: #c73652;
}

#search-btn:active {
    background-color: #a82d45;
}

.status {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
    min-height: 20px;
}

.status.error {
    color: #e94560;
}

.results-container {
    overflow-x: auto;
    display: none;
}

#results-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #16213e;
    border-radius: 8px;
    overflow: hidden;
}

#results-table thead {
    background-color: #0f3460;
}

#results-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #e94560;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    position: relative;
}

#results-table th:hover {
    background-color: #143a6e;
}

#results-table th .sort-arrow {
    margin-left: 6px;
    font-size: 11px;
    color: #888;
}

#results-table th.sort-asc .sort-arrow,
#results-table th.sort-desc .sort-arrow {
    color: #e94560;
}

#results-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #1a1a2e;
    font-size: 14px;
    vertical-align: top;
}

#results-table tbody tr:hover {
    background-color: #1a2744;
}

#results-table td a {
    color: #53a8f5;
    text-decoration: none;
    font-weight: 600;
}

#results-table td a:hover {
    color: #e94560;
    text-decoration: underline;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #0f3460;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e94560;
}

/* Filter bar */
.filter-bar {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-bar label {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar select {
    padding: 6px 10px;
    border: 2px solid #16213e;
    border-radius: 6px;
    background-color: #16213e;
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
    max-width: 280px;
}

.filter-bar select:focus {
    border-color: #e94560;
}

/* Full path separator */
.path-sep {
    color: #e94560;
    font-weight: 700;
}
