/* Browse Packs Pagination and Grid Layout Fixes */
.browse-packs-flex-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    gap: 2.5rem;
    box-sizing: border-box;
}
.browse-packs-arrow {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    margin: 0 0.5rem;
    padding: 0;
    font-size: 1.5rem;
    box-shadow: none;
    align-self: center;
}
.browse-packs-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
}
.browse-packs-grid-fixed {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 1.2rem 1.2rem;
    width: 100%;
    max-width: 950px;
    min-width: 0;
    min-height: 260px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: auto;
}
.browse-packs-empty-slot {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    pointer-events: none;
    min-height: 120px;
}
/* Responsive tweaks for smaller screens */
@media (max-width: 1100px) {
    .browse-packs-grid-fixed {
        max-width: 100vw;
        gap: 1rem 0.7rem;
    }
    .browse-packs-flex-row {
        max-width: 100vw;
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .browse-packs-grid-fixed {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        max-width: 98vw;
    }
}

@media (max-width: 600px) {
    .browse-packs-grid-fixed {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 0.7rem 0.5rem;
        max-width: 99vw;
    }
    .browse-packs-arrow {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 1.5rem;
    }
}
/* Audio Library Styles */

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-50%) translateX(-2px);
}

.back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #00d4ff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(68%) sepia(89%) saturate(2598%) hue-rotate(163deg) brightness(102%) contrast(101%);
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Pack Filter Indicator */
.pack-filter-indicator {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pack-filter-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pack-filter-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.pack-filter-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pack-filter-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-filter-name {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 600;
}

.clear-pack-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.clear-pack-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.clear-pack-btn svg {
    width: 18px;
    height: 18px;
}

/* Controls */
.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.audio-controls-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.filter-btn.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #0a0a0f;
    font-weight: 600;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-controls label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-controls select {
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    padding-right: 2rem;
    background: rgba(255, 255, 255, 0.05) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300d4ff" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.2em;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.sort-controls select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

.sort-controls select:focus {
    outline: none;
    border-color: #00d4ff;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

/* Style dropdown options */
.sort-controls select option {
    background: #0a0a0f;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    font-weight: 500;
}

.sort-controls select option:checked {
    background: linear-gradient(#00d4ff, #00d4ff);
    background-color: #00d4ff;
    color: #0a0a0f;
    font-weight: 600;
}

/* Featured Packs Mode Toggle Buttons */
.featured-packs-mode-buttons {
    display: flex;
    gap: 0.5rem;
}

.featured-packs-mode-btn {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 110px;
    height: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.featured-packs-mode-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.featured-packs-mode-btn.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #0a0a0f;
}

/* Library Stats */
.library-stats {
    text-align: center;
    margin: 1.5rem 0 1rem;
    padding: 1rem;
}

.library-count {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    letter-spacing: 0.3px;
}

/* Featured Packs */
.featured-packs {
    margin: 1.25rem 0 2rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.featured-packs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-packs-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.refresh-packs-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.refresh-packs-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: rotate(90deg);
}

.refresh-packs-btn svg {
    width: 18px;
    height: 18px;
}

.library-count {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.featured-packs-header h2 {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}

.featured-packs-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.featured-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}

.featured-pack-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.featured-pack-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.1);
}

.featured-pack-thumb-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.featured-pack-thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.featured-pack-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: rgba(255, 51, 128, 0.9);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.featured-pack-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 1rem;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00d4ff;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: rgba(255, 255, 255, 0.6);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Audio Library Table */
.audio-library {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Table Header */
.audio-table-header {
    display: grid;
    grid-template-columns: 36px 60px 2fr 2fr 100px 80px 80px 80px;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
}

/* Audio Row */
.audio-row {
    display: grid;
    grid-template-columns: 36px 60px 2fr 2fr 100px 80px 80px 80px;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
}

.audio-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.audio-row.playing {
    background: rgba(0, 212, 255, 0.05);
}

/* Pack Thumbnail */
.pack-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

/* File Select */
.file-select {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-select-checkbox {
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    accent-color: #00d4ff;
    cursor: pointer;
    background-color: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 4px;
    display: grid;
    place-items: center;
}

.file-select-checkbox::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #00d4ff;
    transform: scale(0);
    transition: transform 0.12s ease;
}

.file-select-checkbox:checked::after {
    transform: scale(1);
}

.file-select-checkbox:focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.6);
    outline-offset: 2px;
}

/* File Info */
.file-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    width: 100%;
}

.file-name {
    font-weight: 500;
    color: white;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.file-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 80%, transparent 100%);
}

.file-tag {
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Waveform */
.waveform-container {
    position: relative;
    cursor: pointer;
    height: 50px;
    display: flex;
    align-items: center;
    user-select: none;
}

.waveform {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform::before {
    content: 'Loading...';
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    z-index: 1;
    pointer-events: none;
}

.waveform canvas {
    position: relative;
    z-index: 2;
}

.waveform canvas {
    width: 100%;
    height: 100%;
}

.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 51, 128, 0.25);
    pointer-events: none;
    transition: width 0.1s linear;
    z-index: 3;
}

/* File Info with Play Button */
.file-info-with-play {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    width: 100%;
}

.play-btn-small {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.play-btn-small:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.play-btn-small svg {
    width: 16px;
    height: 16px;
    fill: #00d4ff;
}

/* Time Display */
.time-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
}

/* Key & BPM */
.key-display, .bpm-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.key-display {
    color: #ffa07a;
}

.bpm-display {
    color: #4ecdc4;
}

/* Download Button */
.download-btn {
    padding: 0.5rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    justify-self: end;
    margin-left: auto;
}

.download-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-1px);
}

.download-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 150px;
    text-align: center;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    margin: 0 0.3rem;
    padding: 0;
    font-size: 1.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
}

/* Zip Download Bar */
.zip-download-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1.25rem;
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform 0.25s ease;
    z-index: 50;
}

.zip-download-bar.visible {
    transform: translateY(0);
}

.zip-download-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.zip-download-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.zip-download-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
}

.zip-download-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.zip-download-btn {
    padding: 0.7rem 1.4rem;
    background: #00d4ff;
    border: 1px solid #00d4ff;
    color: #0a0a0f;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zip-download-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.zip-download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.zip-clear-btn {
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zip-clear-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.container {
    padding-bottom: 110px;
}
@media (max-width: 1024px) {
    .audio-table-header,
    .audio-row {
        grid-template-columns: 32px 50px 1.5fr 1.5fr 80px 70px 70px;
    }
    
    .time-display {
        display: none;
    }
}

@media (max-width: 768px) {
    .audio-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .audio-table-header {
        display: none;
    }
    
    .audio-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .pack-thumb {
        display: none;
    }

    .file-select {
        justify-content: flex-start;
        order: -3;
    }
    
    .waveform-container {
        order: -1;
    }
    
    .file-info {
        order: -2;
    }
    
    .key-display, .bpm-display {
        display: inline-block;
        margin-right: 1rem;
    }

    .featured-packs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .featured-packs-actions {
        align-self: flex-start;
    }

    .zip-download-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .zip-download-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
