/* Dallas Music Manager Styles */
.dallas-music-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px 0;
}

/* Filters */
.dallas-music-filters {
    background: #f3f4f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
}

.dallas-music-filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dallas-search-box {
    flex: 1;
}

.dallas-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.dallas-search-input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.dallas-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dallas-filter-select {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.dallas-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dallas-filter-button {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dallas-filter-button:hover {
    background: #005a87;
}

.dallas-clear-button {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.dallas-clear-button:hover {
    color: #333;
    text-decoration: underline;
}

/* Results Info */
.dallas-results-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* Table */
.dallas-music-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dallas-music-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.dallas-music-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.dallas-music-table th .dallas-sort-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dallas-music-table th .dallas-sort-link:hover {
    color: #0073aa;
}

.dallas-music-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.dallas-music-table tbody tr:hover {
    background-color: #f8f9fa;
}

.dallas-music-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.dallas-music-table tbody tr:nth-child(even):hover {
    background-color: #f1f3f4;
}

/* Specific column styles */
.dallas-cell-title {
    font-weight: 500;
    color: #333;
}

.dallas-cell-artist {
    color: #555;
}

.dallas-cell-featuring {
    color: #777;
    font-style: italic;
}

.dallas-cell-isrc {
    font-family: monospace;
    font-size: 13px;
    color: #666;
}

.dallas-category-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.dallas-cell-min,
.dallas-cell-sec,
.dallas-cell-year {
    text-align: center;
    font-weight: 500;
}

.dallas-cell-duration {
    text-align: center;
    font-weight: 600;
    color: #333;
}

.dallas-no-results {
    text-align: center;
    padding: 40px !important;
    color: #666;
    font-style: italic;
}

/* Pagination */
.dallas-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dallas-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
    transition: all 0.3s;
}

.dallas-pagination .page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.dallas-pagination .page-numbers:hover:not(.current) {
    background: #f8f9fa;
    border-color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .dallas-filter-row {
        flex-direction: column;
    }
    
    .dallas-filter-select {
        min-width: 100%;
    }
    
    .dallas-music-table {
        font-size: 14px;
    }
    
    .dallas-music-table th,
    .dallas-music-table td {
        padding: 8px 10px;
    }
}