Redesign sync page playlist cards: unified glass style across all sources and mirrored playlists

This commit is contained in:
Broque Thomas 2026-03-22 22:10:42 -07:00
parent 1ac16ce0d4
commit 8d3d623f10

View file

@ -7979,77 +7979,86 @@ body {
/* Mirrored playlist cards */ /* Mirrored playlist cards */
.mirrored-playlist-card { .mirrored-playlist-card {
background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%); background: rgba(18, 18, 22, 0.9);
border-radius: 20px; backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.06);
margin: 10px 8px; margin: 10px 6px;
padding: 20px 22px; padding: 18px 22px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 16px; gap: 14px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative; position: relative;
overflow: hidden; overflow: hidden;
box-shadow: box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
0 8px 32px rgba(0, 0, 0, 0.4), }
0 2px 8px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1); .mirrored-playlist-card::before {
content: '';
position: absolute;
top: 0;
left: 20%;
right: 20%;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
transition: all 0.3s;
} }
.mirrored-playlist-card:hover { .mirrored-playlist-card:hover {
background: linear-gradient(135deg, rgba(30, 30, 30, 0.98) 0%, rgba(22, 22, 22, 1.0) 100%); transform: translateY(-2px);
border-color: rgba(var(--accent-rgb), 0.3); border-color: rgba(var(--accent-rgb), 0.15);
border-top-color: rgba(var(--accent-rgb), 0.4); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.06);
transform: translateY(-3px) scale(1.01); }
box-shadow:
0 16px 48px rgba(0, 0, 0, 0.5), .mirrored-playlist-card:hover::before {
0 8px 16px rgba(0, 0, 0, 0.3), left: 10%;
0 0 20px rgba(var(--accent-rgb), 0.12), right: 10%;
inset 0 1px 0 rgba(255, 255, 255, 0.15); background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
} }
.mirrored-playlist-card .source-icon { .mirrored-playlist-card .source-icon {
width: 44px; width: 40px;
height: 44px; height: 40px;
border-radius: 12px; border-radius: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 20px; font-size: 18px;
flex-shrink: 0; flex-shrink: 0;
border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.25s;
} }
.mirrored-playlist-card .source-icon.spotify { .mirrored-playlist-card .source-icon.spotify {
background: linear-gradient(135deg, rgba(29, 185, 84, 0.2) 0%, rgba(29, 185, 84, 0.08) 100%); background: rgba(29, 185, 84, 0.12);
border-color: rgba(29, 185, 84, 0.25); border: 1px solid rgba(29, 185, 84, 0.2);
color: #1db954; color: #1db954;
} }
.mirrored-playlist-card .source-icon.tidal { .mirrored-playlist-card .source-icon.tidal {
background: linear-gradient(135deg, rgba(255, 102, 0, 0.2) 0%, rgba(255, 102, 0, 0.08) 100%); background: rgba(255, 102, 0, 0.12);
border-color: rgba(255, 102, 0, 0.25); border: 1px solid rgba(255, 102, 0, 0.2);
color: #ff6600; color: #ff6600;
} }
.mirrored-playlist-card .source-icon.youtube { .mirrored-playlist-card .source-icon.youtube {
background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.08) 100%); background: rgba(255, 0, 0, 0.12);
border-color: rgba(255, 0, 0, 0.25); border: 1px solid rgba(255, 0, 0, 0.2);
color: #ff4444; color: #ff4444;
} }
.mirrored-playlist-card .source-icon.deezer { .mirrored-playlist-card .source-icon.deezer {
background: linear-gradient(135deg, rgba(162, 56, 255, 0.2) 0%, rgba(162, 56, 255, 0.08) 100%); background: rgba(162, 56, 255, 0.12);
border-color: rgba(162, 56, 255, 0.25); border: 1px solid rgba(162, 56, 255, 0.2);
color: #a238ff; color: #a238ff;
} }
.mirrored-playlist-card .source-icon.beatport { .mirrored-playlist-card .source-icon.beatport {
background: linear-gradient(135deg, rgba(1, 255, 149, 0.2) 0%, rgba(1, 255, 149, 0.08) 100%); background: rgba(1, 255, 149, 0.12);
border-color: rgba(1, 255, 149, 0.25); border: 1px solid rgba(1, 255, 149, 0.2);
color: #01ff95; color: #01ff95;
} }
.mirrored-playlist-card .source-icon.file { .mirrored-playlist-card .source-icon.file {
background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.08) 100%); background: rgba(96, 165, 250, 0.12);
border-color: rgba(96, 165, 250, 0.25); border: 1px solid rgba(96, 165, 250, 0.2);
color: #60a5fa; color: #60a5fa;
} }
@ -8077,20 +8086,20 @@ body {
} }
.mirrored-card-info .card-name { .mirrored-card-info .card-name {
font-size: 16px; font-size: 15px;
font-weight: 600; font-weight: 600;
color: #fff; color: rgba(255, 255, 255, 0.9);
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
letter-spacing: -0.3px; letter-spacing: -0.01em;
line-height: 1.3; line-height: 1.3;
} }
.mirrored-card-info .card-meta { .mirrored-card-info .card-meta {
font-size: 13px; font-size: 12px;
color: #888; color: rgba(255, 255, 255, 0.35);
margin-top: 6px; margin-top: 5px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
@ -9575,63 +9584,40 @@ body {
} }
.beatport-category-card { .beatport-category-card {
/* Premium glassmorphic foundation matching add-to-wishlist modal */ background: rgba(18, 18, 22, 0.9);
background: linear-gradient(135deg, backdrop-filter: blur(12px);
rgba(26, 26, 26, 0.95) 0%, border-radius: 16px;
rgba(18, 18, 18, 0.98) 100%); border: 1px solid rgba(255, 255, 255, 0.06);
padding: 24px;
/* Enhanced borders matching modal */
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-top: 1px solid rgba(255, 255, 255, 0.18);
padding: 28px;
cursor: pointer; cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative; position: relative;
overflow: hidden; overflow: hidden;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
/* Premium shadow effect matching modal */
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.5),
0 8px 32px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
} }
.beatport-category-card::before { .beatport-category-card::before {
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 20%;
right: 0; right: 20%;
bottom: 0; height: 2px;
background: linear-gradient(135deg, background: linear-gradient(90deg, transparent, rgba(1, 255, 149, 0.4), transparent);
rgba(1, 255, 149, 0.1) 0%, transition: all 0.3s;
transparent 50%);
opacity: 0;
transition: opacity 0.3s ease;
} }
.beatport-category-card:hover { .beatport-category-card:hover {
/* Enhanced glassmorphic hover state matching modal patterns */ transform: translateY(-2px);
background: linear-gradient(135deg, border-color: rgba(1, 255, 149, 0.15);
rgba(30, 30, 30, 0.98) 0%, box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(1, 255, 149, 0.06);
rgba(22, 22, 22, 1.0) 100%);
transform: translateY(-6px) scale(1.02);
border-color: rgba(1, 255, 149, 0.4);
border-top-color: rgba(1, 255, 149, 0.6);
/* Premium enhanced shadow matching modal hover */
box-shadow:
0 32px 80px rgba(0, 0, 0, 0.6),
0 16px 48px rgba(0, 0, 0, 0.4),
0 0 40px rgba(1, 255, 149, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
} }
.beatport-category-card:hover::before { .beatport-category-card:hover::before {
opacity: 1; left: 10%;
right: 10%;
background: linear-gradient(90deg, transparent, rgba(1, 255, 149, 0.7), transparent);
box-shadow: 0 0 8px rgba(1, 255, 149, 0.3);
} }
.category-icon { .category-icon {
@ -11218,61 +11204,53 @@ body {
/* Playlist Cards Styling - Premium Glassmorphic Design */ /* Playlist Cards Styling - Premium Glassmorphic Design */
.playlist-card { .playlist-card {
/* Premium glassmorphic foundation matching search results */ background: rgba(18, 18, 22, 0.9);
background: linear-gradient(135deg, backdrop-filter: blur(12px);
rgba(26, 26, 26, 0.95) 0%, border-radius: 16px;
rgba(18, 18, 18, 0.98) 100%); border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 20px; margin: 10px 6px;
border: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 22px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
margin: 12px 8px;
padding: 24px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Premium shadow effect */ .playlist-card::before {
box-shadow: content: '';
0 8px 32px rgba(0, 0, 0, 0.4), position: absolute;
0 2px 8px rgba(0, 0, 0, 0.2), top: 0;
inset 0 1px 0 rgba(255, 255, 255, 0.1); left: 20%;
right: 20%;
/* Smooth transitions */ height: 2px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
transition: all 0.3s;
} }
.playlist-card:hover { .playlist-card:hover {
/* Enhanced glassmorphic hover state */ transform: translateY(-2px);
background: linear-gradient(135deg, border-color: rgba(var(--accent-rgb), 0.15);
rgba(30, 30, 30, 0.98) 0%, box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.06);
rgba(22, 22, 22, 1.0) 100%); }
border-color: rgba(var(--accent-rgb), 0.3);
border-top-color: rgba(var(--accent-rgb), 0.4);
/* More dramatic elevated effect */ .playlist-card:hover::before {
box-shadow: left: 10%;
0 16px 48px rgba(0, 0, 0, 0.5), right: 10%;
0 8px 16px rgba(0, 0, 0, 0.3), background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
0 0 20px rgba(var(--accent-rgb), 0.15), box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
inset 0 1px 0 rgba(255, 255, 255, 0.15);
transform: translateY(-4px) scale(1.02);
} }
.playlist-card.selected { .playlist-card.selected {
/* Selection state with Spotify green accent */ border-color: rgba(var(--accent-rgb), 0.3);
border-color: rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.04);
border-top-color: rgba(var(--accent-rgb), 0.6);
background: linear-gradient(135deg,
rgba(var(--accent-rgb), 0.08) 0%,
rgba(26, 26, 26, 0.98) 50%);
box-shadow:
0 12px 36px rgba(0, 0, 0, 0.4),
0 4px 12px rgba(0, 0, 0, 0.25),
0 0 24px rgba(var(--accent-rgb), 0.25),
inset 0 1px 0 rgba(255, 255, 255, 0.12);
} }
.playlist-card.selected::before {
left: 5%;
right: 5%;
background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.7), transparent);
}
.playlist-card-main { .playlist-card-main {
display: flex; display: flex;
@ -11284,112 +11262,89 @@ body {
.playlist-card-content { .playlist-card-content {
flex: 1; flex: 1;
min-width: 0; min-width: 0;
/* Prevents text overflow issues */
} }
.playlist-card-name { .playlist-card-name {
font-size: 18px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: #ffffff; color: rgba(255, 255, 255, 0.9);
margin-bottom: 8px; margin-bottom: 6px;
line-height: 1.3; line-height: 1.3;
} }
.playlist-card-info { .playlist-card-info {
font-size: 14px; font-size: 13px;
color: #b3b3b3; color: rgba(255, 255, 255, 0.4);
margin-bottom: 8px; margin-bottom: 8px;
} }
.playlist-card-status { .playlist-card-status {
font-weight: 600; font-weight: 600;
padding: 6px 12px; padding: 4px 10px;
border-radius: 8px; border-radius: 6px;
font-size: 11px; font-size: 10px;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.5px; letter-spacing: 0.05em;
border: 1px solid rgba(255, 255, 255, 0.06);
/* Glassmorphic badge styling */ display: inline-block;
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
} }
.status-never-synced { .status-never-synced {
background: linear-gradient(135deg, background: rgba(255, 255, 255, 0.04);
rgba(128, 128, 128, 0.3) 0%, color: rgba(255, 255, 255, 0.4);
rgba(96, 96, 96, 0.4) 100%); border-color: rgba(255, 255, 255, 0.06);
color: #e0e0e0;
border-color: rgba(128, 128, 128, 0.2);
} }
.status-synced { .status-synced {
background: linear-gradient(135deg, background: rgba(var(--accent-rgb), 0.1);
rgba(var(--accent-rgb), 0.3) 0%,
rgba(24, 158, 72, 0.4) 100%);
color: rgb(var(--accent-light-rgb)); color: rgb(var(--accent-light-rgb));
border-color: rgba(var(--accent-rgb), 0.3); border-color: rgba(var(--accent-rgb), 0.2);
box-shadow:
0 2px 8px rgba(var(--accent-rgb), 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
} }
.status-needs-sync { .status-needs-sync {
background: linear-gradient(135deg, background: rgba(255, 149, 0, 0.1);
rgba(255, 149, 0, 0.3) 0%,
rgba(230, 130, 0, 0.4) 100%);
color: #ffb84d; color: #ffb84d;
border-color: rgba(255, 149, 0, 0.3); border-color: rgba(255, 149, 0, 0.15);
box-shadow:
0 2px 8px rgba(255, 149, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
} }
.playlist-card-actions { .playlist-card-actions {
flex-shrink: 0; flex-shrink: 0;
margin-left: 20px; margin-left: 16px;
} }
.playlist-card-actions button { .playlist-card-actions button {
/* Premium glassmorphic button matching search results */ background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
background: linear-gradient(135deg, border: 1px solid rgba(255, 255, 255, 0.1);
rgba(var(--accent-rgb), 0.9) 0%, color: rgba(255, 255, 255, 0.8);
rgba(24, 158, 72, 0.95) 100%); padding: 9px 18px;
backdrop-filter: blur(8px); border-radius: 10px;
border: 1px solid rgba(var(--accent-rgb), 0.3);
border-top: 1px solid rgba(var(--accent-rgb), 0.5);
color: #ffffff;
padding: 10px 20px;
border-radius: 12px;
cursor: pointer; cursor: pointer;
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
/* Premium shadow effect */
box-shadow:
0 4px 16px rgba(var(--accent-rgb), 0.25),
0 2px 4px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.playlist-card-actions button::before {
content: '';
position: absolute;
inset: 0;
border-radius: 10px;
background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2) 0%, rgba(var(--accent-rgb), 0.05) 100%);
opacity: 0;
transition: opacity 0.3s;
}
.playlist-card-actions button:hover::before {
opacity: 1;
} }
.playlist-card-actions button:hover { .playlist-card-actions button:hover {
/* Enhanced hover state */ color: #fff;
background: linear-gradient(135deg, border-color: rgba(var(--accent-rgb), 0.35);
rgba(var(--accent-rgb), 1.0) 0%, transform: translateY(-1px);
rgba(24, 158, 72, 1.0) 100%); box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.15);
border-color: rgba(var(--accent-rgb), 0.6);
border-top-color: rgba(var(--accent-rgb), 0.8);
box-shadow:
0 6px 20px rgba(var(--accent-rgb), 0.35),
0 3px 6px rgba(0, 0, 0, 0.25),
inset 0 1px 0 rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
} }
.sync-progress-indicator { .sync-progress-indicator {
@ -11403,218 +11358,159 @@ body {
YOUTUBE PLAYLIST CARD STYLES YOUTUBE PLAYLIST CARD STYLES
=============================== */ =============================== */
.youtube-playlist-card { /* Source-specific playlist cards — unified glass style with brand color accents */
/* Premium glassmorphic foundation matching existing cards */ .youtube-playlist-card,
background: linear-gradient(135deg, .tidal-playlist-card,
rgba(26, 26, 26, 0.95) 0%, .deezer-playlist-card,
rgba(18, 18, 18, 0.98) 100%); .spotify-public-card {
backdrop-filter: blur(12px) saturate(1.1); background: rgba(18, 18, 22, 0.9);
border-radius: 20px; backdrop-filter: blur(12px);
border: 1px solid rgba(255, 0, 0, 0.15); border-radius: 16px;
/* Red YouTube border */ border: 1px solid rgba(255, 255, 255, 0.06);
border-top: 1px solid rgba(255, 0, 0, 0.25); margin: 10px 6px;
margin: 12px 8px; padding: 18px 22px;
padding: 24px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
height: 80px; overflow: hidden;
height: auto;
min-height: 70px;
display: flex; display: flex;
align-items: center; align-items: center;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
/* Premium shadow effect with YouTube red accent */ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 8px 32px rgba(255, 0, 0, 0.15),
0 2px 8px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} }
.youtube-playlist-card:hover { .youtube-playlist-card::before,
/* Enhanced glassmorphic hover state */ .tidal-playlist-card::before,
background: linear-gradient(135deg, .deezer-playlist-card::before,
rgba(30, 30, 30, 0.98) 0%, .spotify-public-card::before {
rgba(22, 22, 22, 1.0) 100%); content: '';
border-color: rgba(255, 0, 0, 0.25); position: absolute;
border-top-color: rgba(255, 0, 0, 0.4); top: 0;
left: 20%;
box-shadow: right: 20%;
0 12px 40px rgba(255, 0, 0, 0.2), height: 2px;
0 4px 12px rgba(0, 0, 0, 0.3), transition: all 0.3s;
inset 0 1px 0 rgba(255, 255, 255, 0.15);
transform: translateY(-3px);
} }
.youtube-playlist-card .playlist-card-icon { /* Brand accent lines */
width: 48px; .youtube-playlist-card::before { background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.4), transparent); }
height: 48px; .tidal-playlist-card::before { background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.4), transparent); }
border-radius: 8px; .deezer-playlist-card::before { background: linear-gradient(90deg, transparent, rgba(162, 56, 255, 0.4), transparent); }
background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); .spotify-public-card::before { background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.4), transparent); }
border: 2px solid rgba(255, 0, 0, 0.3);
/* Hover — brand glow */
.youtube-playlist-card:hover { border-color: rgba(255, 0, 0, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 0, 0, 0.06); transform: translateY(-2px); }
.tidal-playlist-card:hover { border-color: rgba(255, 102, 0, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 102, 0, 0.06); transform: translateY(-2px); }
.deezer-playlist-card:hover { border-color: rgba(162, 56, 255, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(162, 56, 255, 0.06); transform: translateY(-2px); }
.spotify-public-card:hover { border-color: rgba(29, 185, 84, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(29, 185, 84, 0.06); transform: translateY(-2px); }
.youtube-playlist-card:hover::before { left: 10%; right: 10%; background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.7), transparent); }
.tidal-playlist-card:hover::before { left: 10%; right: 10%; background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.7), transparent); }
.deezer-playlist-card:hover::before { left: 10%; right: 10%; background: linear-gradient(90deg, transparent, rgba(162, 56, 255, 0.7), transparent); }
.spotify-public-card:hover::before { left: 10%; right: 10%; background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.7), transparent); }
/* Source icons */
.youtube-playlist-card .playlist-card-icon,
.tidal-playlist-card .playlist-card-icon,
.deezer-playlist-card .playlist-card-icon,
.spotify-public-card .playlist-card-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 20px;
color: #ffffff;
margin-right: 20px;
flex-shrink: 0;
box-shadow:
0 4px 16px rgba(255, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.youtube-playlist-card .playlist-card-content {
flex: 1;
min-width: 0;
}
.youtube-playlist-card .playlist-card-name {
font-size: 18px; font-size: 18px;
font-weight: 600;
color: #ffffff; color: #ffffff;
margin-bottom: 4px; margin-right: 16px;
line-height: 1.3; flex-shrink: 0;
transition: all 0.25s;
} }
.youtube-playlist-card .playlist-card-info { .youtube-playlist-card .playlist-card-icon { background: rgba(255, 0, 0, 0.12); border: 1px solid rgba(255, 0, 0, 0.2); color: #ff4444; }
font-size: 14px; .tidal-playlist-card .playlist-card-icon { background: rgba(255, 102, 0, 0.12); border: 1px solid rgba(255, 102, 0, 0.2); color: #ff6600; font-size: 16px; }
color: #b3b3b3; .deezer-playlist-card .playlist-card-icon { background: rgba(162, 56, 255, 0.12); border: 1px solid rgba(162, 56, 255, 0.2); color: #a238ff; }
display: flex; .spotify-public-card .playlist-card-icon { background: rgba(29, 185, 84, 0.12); border: 1px solid rgba(29, 185, 84, 0.2); color: #1DB954; }
align-items: center;
gap: 12px;
}
.youtube-playlist-card .playlist-card-track-count { .youtube-playlist-card .playlist-card-content,
color: #ffffff; .tidal-playlist-card .playlist-card-content,
} .deezer-playlist-card .playlist-card-content,
.spotify-public-card .playlist-card-content { flex: 1; min-width: 0; }
.youtube-playlist-card .playlist-card-phase-text { .youtube-playlist-card .playlist-card-name,
font-weight: 500; .tidal-playlist-card .playlist-card-name,
} .deezer-playlist-card .playlist-card-name,
.spotify-public-card .playlist-card-name { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.9); margin-bottom: 4px; }
.youtube-playlist-card .playlist-card-progress { .youtube-playlist-card .playlist-card-info,
font-size: 13px; .tidal-playlist-card .playlist-card-info,
color: #ff6b6b; .deezer-playlist-card .playlist-card-info,
margin-top: 6px; .spotify-public-card .playlist-card-info { font-size: 13px; color: rgba(255, 255, 255, 0.4); display: flex; align-items: center; gap: 10px; }
font-weight: 500;
}
.youtube-playlist-card .playlist-card-action-btn { .youtube-playlist-card .playlist-card-track-count { color: rgba(255, 255, 255, 0.7); }
/* YouTube-themed action button */ .youtube-playlist-card .playlist-card-phase-text { font-weight: 500; }
background: linear-gradient(135deg, .youtube-playlist-card .playlist-card-progress { font-size: 12px; color: #ff6b6b; margin-top: 4px; font-weight: 500; }
rgba(255, 0, 0, 0.9) 0%,
rgba(204, 0, 0, 0.95) 100%); /* Action buttons — glass style with brand hover */
backdrop-filter: blur(8px); .youtube-playlist-card .playlist-card-action-btn,
border: 1px solid rgba(255, 0, 0, 0.3); .tidal-playlist-card .playlist-card-action-btn,
border-top: 1px solid rgba(255, 0, 0, 0.5); .deezer-playlist-card .playlist-card-action-btn,
color: #ffffff; .spotify-public-card .playlist-card-action-btn {
padding: 10px 20px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
padding: 9px 18px;
border-radius: 10px;
cursor: pointer; cursor: pointer;
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
box-shadow:
0 4px 16px rgba(255, 0, 0, 0.25),
0 2px 4px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
margin-left: 20px; margin-left: 16px;
flex-shrink: 0; flex-shrink: 0;
position: relative;
overflow: hidden;
} }
.youtube-playlist-card .playlist-card-action-btn:hover:not(:disabled) { .youtube-playlist-card .playlist-card-action-btn::before,
background: linear-gradient(135deg, .tidal-playlist-card .playlist-card-action-btn::before,
rgba(255, 0, 0, 1.0) 0%, .deezer-playlist-card .playlist-card-action-btn::before,
rgba(204, 0, 0, 1.0) 100%); .spotify-public-card .playlist-card-action-btn::before {
border-color: rgba(255, 0, 0, 0.6); content: '';
border-top-color: rgba(255, 0, 0, 0.8); position: absolute;
inset: 0;
box-shadow: border-radius: 10px;
0 6px 20px rgba(255, 0, 0, 0.35), opacity: 0;
0 3px 6px rgba(0, 0, 0, 0.25), transition: opacity 0.3s;
inset 0 1px 0 rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
} }
.youtube-playlist-card .playlist-card-action-btn:disabled { .youtube-playlist-card .playlist-card-action-btn::before { background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.05)); }
background: rgba(255, 255, 255, 0.1); .tidal-playlist-card .playlist-card-action-btn::before { background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 102, 0, 0.05)); }
border: 1px solid rgba(255, 255, 255, 0.1); .deezer-playlist-card .playlist-card-action-btn::before { background: linear-gradient(135deg, rgba(162, 56, 255, 0.2), rgba(162, 56, 255, 0.05)); }
color: rgba(255, 255, 255, 0.5); .spotify-public-card .playlist-card-action-btn::before { background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(29, 185, 84, 0.05)); }
.youtube-playlist-card .playlist-card-action-btn:hover:not(:disabled)::before,
.tidal-playlist-card .playlist-card-action-btn:hover:not(:disabled)::before,
.deezer-playlist-card .playlist-card-action-btn:hover:not(:disabled)::before,
.spotify-public-card .playlist-card-action-btn:hover:not(:disabled)::before { opacity: 1; }
.youtube-playlist-card .playlist-card-action-btn:hover:not(:disabled) { color: #fff; border-color: rgba(255, 0, 0, 0.35); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255, 0, 0, 0.15); }
.tidal-playlist-card .playlist-card-action-btn:hover:not(:disabled) { color: #fff; border-color: rgba(255, 102, 0, 0.35); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255, 102, 0, 0.15); }
.deezer-playlist-card .playlist-card-action-btn:hover:not(:disabled) { color: #fff; border-color: rgba(162, 56, 255, 0.35); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(162, 56, 255, 0.15); }
.spotify-public-card .playlist-card-action-btn:hover:not(:disabled) { color: #fff; border-color: rgba(29, 185, 84, 0.35); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29, 185, 84, 0.15); }
.youtube-playlist-card .playlist-card-action-btn:disabled,
.tidal-playlist-card .playlist-card-action-btn:disabled,
.deezer-playlist-card .playlist-card-action-btn:disabled,
.spotify-public-card .playlist-card-action-btn:disabled {
background: rgba(255, 255, 255, 0.03);
border-color: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.2);
cursor: not-allowed; cursor: not-allowed;
box-shadow: none; box-shadow: none;
transform: none; transform: none;
} }
/* ===============================
TIDAL PLAYLIST CARD STYLES (extends YouTube card styles)
===============================*/
.tidal-playlist-card .playlist-card-icon {
background: rgba(255, 102, 0, 0.2);
border: 1px solid #ff6600;
color: #ff6600;
font-size: 16px;
}
.tidal-playlist-card:hover .playlist-card-icon {
background: rgba(255, 102, 0, 0.3);
border: 1px solid #ff7700;
}
.tidal-playlist-card .playlist-card-action-btn {
background: linear-gradient(135deg, #ff6600, #ff7700);
border: 1px solid #ff6600;
}
.tidal-playlist-card .playlist-card-action-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #ff7700, #ff8800);
border: 1px solid #ff7700;
box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
/* ===============================
DEEZER PLAYLIST CARD STYLES (extends YouTube card styles)
===============================*/
.deezer-playlist-card .playlist-card-icon {
background: rgba(162, 56, 255, 0.2);
border-color: #a238ff;
color: #a238ff;
}
.deezer-playlist-card .playlist-card-action-btn {
background: linear-gradient(135deg, #a238ff, #b44dff);
}
.deezer-playlist-card .playlist-card-action-btn:hover {
background: linear-gradient(135deg, #b44dff, #c562ff);
box-shadow: 0 0 15px rgba(162, 56, 255, 0.4);
}
/* ===============================
SPOTIFY PUBLIC CARD STYLES (extends YouTube card styles)
===============================*/
.spotify-public-card .playlist-card-icon {
background: rgba(29, 185, 84, 0.2);
border-color: #1DB954;
color: #1DB954;
}
.spotify-public-card .playlist-card-action-btn {
background: linear-gradient(135deg, #1DB954, #1ed760);
}
.spotify-public-card .playlist-card-action-btn:hover {
background: linear-gradient(135deg, #1ed760, #3be477);
box-shadow: 0 0 15px rgba(29, 185, 84, 0.4);
}
/* =============================== /* ===============================
YOUTUBE DISCOVERY MODAL STYLES YOUTUBE DISCOVERY MODAL STYLES
=============================== */ =============================== */