html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.app-logo {
    height: 45px;
    margin-left: 10px;
}

/* Admin menu header styling */
.e-menu-wrapper .e-menu .e-menu-item.e-disabled {
    opacity: 1 !important;
    font-weight: bold;
    cursor: default;
}

/* AlbumPlayer - New 5-row layout structure */
.album-image-title-row {
    display: flex;
    flex-direction: column;
}

.action-buttons-row {
    display: flex;
    align-items: center;
}

.status-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.album-art-container {
    position: relative;
}

/* Add to Cart Button Layout */
.card-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    margin-top: 8px;    
    border-radius: 500px;   
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-cart-button:hover {        
    transform: scale(1.02);
}

.card-cart-button.animating {
    animation: cartPulse 0.3s ease-out;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* MusicLibrary Layout Styles */
.music-library-container {
    padding: 24px;
    min-height: calc(100vh - 80px);
}

.loading-state,
.error-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.music-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Featured Music Header - flexbox layout for title and link */
.featured-music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.featured-music-header h2 {
    margin: 0;
}

.music-library-link {
    color: #1db954;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.music-library-link:hover {
    color: #1ed760;
    text-decoration: underline;
}

/* Featured Music Carousel - horizontal scrolling container */
.featured-music-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar on touch devices (mobile), show on hover-enabled devices (desktop) */
@media (hover: none) {
    .featured-music-carousel {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .featured-music-carousel::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
}

/* Style the scrollbar for desktop devices */
@media (hover: hover) {
    .featured-music-carousel {
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
    }
    
    .featured-music-carousel::-webkit-scrollbar {
        height: 8px;
    }
    
    .featured-music-carousel::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .featured-music-carousel::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }
    
    .featured-music-carousel::-webkit-scrollbar-thumb:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }
}

.featured-music-carousel .music-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.music-card {
    border-radius: 8px;
    padding: 16px;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-album-art {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.card-album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.card-album-art-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.card-actions {
    display: flex;
    justify-content: space-between !important;    
    align-items: center;
    margin-top: auto;
}

/* New layout for card actions with like/dislike buttons */
.card-actions-with-likes {
    display: flex;
    justify-content: space-between !important;
    gap: 6px;
    align-items: center;
    margin-top: auto;
}

.action-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.action-button {
    /* Ensure consistent button sizing with like/dislike buttons */
    min-width: 40px;
    min-height: 40px;
}

.action-button .e-btn-icon {
    /* Ensure icon inside button is consistent size */
    font-size: 20px;
}

/* Vertical layout support for like/dislike buttons */
.like-dislike-container.vertical-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.like-dislike-actions.vertical {
    flex-direction: row;
    gap: 0.5rem;
}

.like-dislike-display.vertical {
    flex-direction: row;
    gap: 0.5rem;
}

.like-dislike-counts-vertical {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: inherit;
}

.card-play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.card-play-button:hover {
    transform: scale(1.05);
}

.card-play-button:active {
    transform: scale(0.95);
}

.card-view-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease, transform 0.1s ease;
}

.card-view-button:hover {
    transform: scale(1.05);
}

.card-mini-player {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.card-now-playing {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-mini-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-mini-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-mini-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease;
}

.card-mini-button:hover {
    transform: scale(1.05);
}

.card-volume-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.card-volume-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s ease;
}

.card-volume-bar-container {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.card-volume-bar-container:hover {
    height: 6px;
}

.card-volume-bar {
    height: 100%;
    border-radius: 2px;
    position: relative;
    pointer-events: none;
}

.card-volume-thumb {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card-volume-bar-container:hover .card-volume-thumb {
    opacity: 1;
}

.card-progress-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-progress-bar-container {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.card-progress-bar-container:hover {
    height: 6px;
}

.card-progress-bar {
    height: 100%;
    border-radius: 2px;
    position: relative;
    pointer-events: none;
}

.card-progress-thumb {
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card-progress-bar-container:hover .card-progress-thumb {
    opacity: 1;
}

.card-progress-bar-container.restricted {
    position: relative;
}

.card-progress-limit-marker {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 3px;
    border-radius: 2px;
    z-index: 2;
}

.card-audio-hidden {
    display: none;
}

.music-filter-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease;
}

.filter-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.owned-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-button-wrapper {
    position: relative;
    display: inline-block;
}

.music-note-float {
    position: absolute;
    top: 0;
    left: 50%;
    pointer-events: none;
    animation: musicNoteFloat 0.8s ease-out forwards;
    z-index: 10;
}

@keyframes musicNoteFloat {
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { opacity: 1; transform: translate(10px, -20px) rotate(15deg) scale(1.3); }
    100% { opacity: 0; transform: translate(20px, -50px) rotate(30deg) scale(0.5); }
}

.album-card {
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.album-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Song Title */
.card-song-title {    
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Track Count */
.card-track-count {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.8;
}
/* Playlists Page Layout */
.playlists-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlists-page-grid {
    display: grid;
}

.playlists-page-actions {
    position: absolute;
    top: 8px;
    right: 8px;
}

.playlists-page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlists-page-card-header h5 {
    margin: 0;
}

.playlists-page-info p {
    margin: 5px 0;
}

.playlists-page-card-actions {
    display: flex;
}

.playlists-page-songs-section {
    border-radius: 4px;
}

.playlists-page-songs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlists-page-songs-header > div {
    display: flex;
}

.playlists-page-songs-list {
    display: flex;
    flex-direction: column;
}

.playlists-page-song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.playlists-page-song-info {
    display: flex;
    flex-direction: column;
}

.playlists-page-song-title {
    font-weight: 500;
}

.playlists-page-add-song-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.playlists-page-add-song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.playlists-page-dialog-content {
    text-align: center;
}

/* Recommended Playlist Section - Layout */
.recommended-section,
.recommended-playlist-section {
    margin-bottom: 2rem;
}

.recommended-section h3 {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.recommended-playlist-card {
    border-left: 4px solid #1db954; /* Spotify-style green accent */
}

.playlist-description {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Like/Dislike Component - Layout and Structure */
.like-dislike-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-dislike-actions,
.like-dislike-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-display,
.dislike-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
}

.like-button,
.dislike-button {
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
}

.like-button:hover,
.dislike-button:hover {
    transform: scale(1.05);
}

.like-button:disabled,
.dislike-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-icon,
.display-icon {
    width: 20px;
    height: 20px;
}

.count-text {
    font-size: 0.875rem;
    font-weight: 500;
}


/* Facebook Share Button Styles */
.fb-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.fb-share-btn:hover {
    background-color: #166fe5;
    color: white;
    text-decoration: none;
}

.fb-share-btn:active {
    background-color: #1564d6;
}

.fb-share-btn .fb-icon {
    fill: currentColor;
    flex-shrink: 0;
}

.fb-share-btn .share-text {
    white-space: nowrap;
}

/* Default size - used in player controls */
.fb-share-btn {
    padding: 8px 16px;
    gap: 8px;
}

.fb-share-btn .fb-icon {
    width: 20px;
    height: 20px;
}

/* Small size for cards */
.fb-share-btn.share-button-card {
    padding: 6px 12px;
    gap: 6px;
    font-size: 13px;
}

.fb-share-btn.share-button-card .fb-icon {
    width: 16px;
    height: 16px;
}

/* Action controls variant */
.fb-share-btn.share-button-action {
    padding: 8px 16px;
    gap: 8px;
}

/* Card bottom row - contains cart button and share button */
.card-bottom-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
}

.card-bottom-row .cart-button-wrapper {
    flex: 1;
    display: flex;
}

.card-bottom-row .cart-button-wrapper .card-cart-button {
    width: 100%;
    height: 36px;
    margin-top: 0;
    padding: 0 12px;
    box-sizing: border-box;
}

.card-bottom-row .fb-share-btn {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Home Page - Hero Section Layout */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.hero-subtitle {
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* CTA Buttons */
.cta-primary,
.cta-secondary {
    border-radius: 500px;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: scale(1.04);
}

/* Section Layout */
.section-title {
    font-weight: 700;
    margin: 0;
}

.section-subtitle {
    line-height: 1.6;
}

/* Features Section Layout */
.features-section {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card h3 {
    font-weight: 600;
    margin: 0;
}

.feature-card p {
    line-height: 1.6;
}

/* User Playlists Section */
.user-playlists-section {
    display: flex;
    flex-direction: column;
}

.loading-text {
    text-align: center;
}

/* Subscription CTA Section Layout */
.subscription-cta-section {
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.subscription-cta-content {
    position: relative;
    z-index: 1;
}

.subscription-cta-content h2 {
    font-weight: 700;
    margin: 0;
}

.subscription-price-highlight {
    font-weight: 500;
}

.subscription-price-highlight .price {
    font-weight: 900;
}

.subscription-benefits {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.subscription-benefits li {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.subscription-benefits li svg {
    flex-shrink: 0;
}

/* Liked Songs Playlist Card */
.liked-songs-playlist-card {
    border-left: 4px solid #e91e63;
}

/* Terms of Use Page Styles */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.terms-content h1 {
    margin-bottom: 1.5rem;
}

.terms-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.terms-content p {
    margin-bottom: 1rem;
}

.terms-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-content section {
    margin-bottom: 2rem;
}

/* Privacy Policy and Terms content styling (same as terms-content) */
.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content section {
    margin-bottom: 2rem;
}

/* Legal dialog styling for Register page */
.legal-dialog .e-dlg-content {
    padding: 0;
}

.legal-dialog-content {
    max-height: calc(80vh - 120px);
    overflow-y: auto;
    padding: 20px;
}

/* Legal agreement checkboxes on Register page */
.legal-agreements {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
}

.legal-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.legal-link {
    color: var(--bs-link-color);
    text-decoration: underline;
    cursor: pointer;
}

.legal-link:hover {
    color: var(--bs-link-hover-color);
}

/* Legal iframe for displaying Terms and Privacy Policy in dialogs */
.legal-iframe {
    width: 100%;
    height: calc(80vh - 120px);
    border: none;
}
