:root {
    --primary: #ed7d31;
    --secondary: #fec107;
    --dark: #0f0c29;
    --darker: #0a081c;
    --light: #f8f9fa;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}
/* Album Page Styles */
.album-container {
    padding-top: 1rem;
    padding-bottom: 100px; /* Space for player */
    color: white;
    min-height: 100vh;
}

.album-sidebar {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.album-main {
    padding: 1rem;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.album-cover {
    text-align: center;
    margin-bottom: 1.5rem;
}

.album-cover img {
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.album-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.album-artists {
    margin-bottom: 1rem;
}

.artist-link {
    color: var(--light);
    text-decoration: none;
}

.artist-link:hover {
    color: white;
    text-decoration: underline;
}

.album-stats {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.album-stats span {
    margin-right: 1rem;
}

.album-actions {
    display: flex;
    flex-direction: column;
}

.tracks-list {
    margin-top: 2rem;
}

.track-item {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.track-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.track-number {
    width: 30px;
    text-align: center;
    color: var(--gray);
}

.track-title {
    font-weight: 500;
}
.track-artists {
    max-width: 95%;
    overflow: hidden;
}

.track-artists a,
.track-artists .separator {
    white-space: nowrap;
    flex-shrink: 0;
        flex-wrap: nowrap;

    text-overflow: ellipsis;
    white-space: nowrap;
}



.track-artists a:hover {
    color: white;
    text-decoration: underline;
}

.track-duration {
    color: var(--secondary);
}

.track-actions .btn-link {
    color: var(--secondary);
    padding: 0.25rem;
}

.track-actions .btn-link:hover {
    color: white;
}

.album-cover-mobile {
    text-align: center;
    margin-bottom: 1.5rem;
}

.album-cover-mobile img {
    max-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.album-info-mobile {
    text-align: center;
    margin-bottom: 1.5rem;
}

.album-actions-mobile .btn {
    flex: 1;
}

.album-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.album-lyrics {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.lyrics-content {
    white-space: pre-line;
    line-height: 1.8;
}

.similar-albums {
    margin-top: 2rem;
}

.album-card {
    display: block;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.album-card:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.album-cover-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.album-cover-wrapper img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-info {
    padding: 0.25rem 0;
}

.album-info .album-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-info .album-artist {
    font-size: 0.8rem;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background-color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    display: none;
    width: 200px;
}

.context-menu.visible {
    display: block;
}

.context-menu .list-group-item {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.context-menu .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .album-sidebar {
        height: auto;
        overflow-y: visible;
    }
    
    .album-main {
        height: auto;
        overflow-y: visible;
    }
}

@media (max-width: 576px) {
    .album-cover-mobile img {
        max-width: 150px;
    }
    
    .track-item {
        padding: 0.5rem;
    }
    
    .track-number {
        width: 20px;
    }
    
    .track-actions {
        display: none;
    }
}