```css
/* Global Styles */
html, body {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    min-height: 100vh !important;
    height: 100% !important;
    color: #e5e7eb !important; /* Equivalent to text-gray-100 */
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border: 5px solid red; /* Temporary test to confirm CSS loading */
}

main.flex-1 {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    flex: 1 !important;
    min-height: 100% !important;
}

/* Ensure headers are light */
h1, h2, h3, h4 {
    color: #e5e7eb !important; /* Equivalent to text-gray-100 */
}

/* Header Title */
.header-title {
    position: relative;
    display: inline-block;
    padding-left: 2.5rem;
}

.header-title a {
    position: relative;
    z-index: 2;
}

.header-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background-image: url('/images/microphone-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Component Styles */
.album-art {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.artist-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.heart-btn {
    cursor: pointer;
}

.heart-liked {
    color: #ef4444;
}

.play-btn {
    background-color: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.play-btn:hover {
    background-color: #6366f1;
}

.featured-section {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.dynamic-bg {
    background: linear-gradient(to bottom, #1e1a4a 0%, #2d2d3d 100%);
    position: relative;
}

.dynamic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
}

.social-icon {
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Flip Card */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 200px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background-color: #2d3748;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: #4b5563;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flip-card-back h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flip-card-back p {
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

/* Dashboard-Specific Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.modal-content {
    background: #1f2937;
    padding: 1rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 28rem;
}

.avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.table-album-art {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4f46e5 #1f2937;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #1f2937;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #4f46e5;
    border-radius: 4px;
}

/* Table Text Colors for Your Songs and Playlists */
.table-container table {
    color: #e5e7eb !important; /* Light text for tables */
}

.table-container th {
    color: #e5e7eb !important; /* Light text for table headers */
}

.table-container td {
    color: #e5e7eb !important; /* Light text for table cells */
}

.table-container a {
    color: #60a5fa !important; /* Light blue for links, equivalent to text-blue-400 */
}

.table-container a:hover {
    color: #93c5fd !important; /* Lighter blue on hover, equivalent to text-blue-300 */
}

.playlist-table table {
    color: #e5e7eb !important; /* Ensure playlist tables have light text */
}

.playlist-table th {
    color: #e5e7eb !important;
}

.playlist-table td {
    color: #e5e7eb !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .album-art {
        height: 100px;
    }

    .song-card {
        padding: 1rem;
    }

    .song-card h3 {
        font-size: 1rem;
    }

    .song-card p {
        font-size: 0.875rem;
    }

    .flip-card {
        height: 150px;
    }

    .flip-card-back h4 {
        font-size: 0.875rem;
    }

    .flip-card-back p {
        font-size: 0.75rem;
    }

    table {
        font-size: 0.75rem;
    }

    th, td {
        padding: 0.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 0.75rem;
    }

    .modal-content input,
    .modal-content textarea,
    .modal-content select {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .ai-label {
        font-size: 0.875rem;
    }

    .modal-content button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .upload-form input,
    .upload-form select,
    .upload-form button {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .upload-form label {
        font-size: 0.875rem;
    }

    .avatar-img {
        width: 80px;
        height: 80px;
    }

    .table-album-art {
        width: 30px;
        height: 30px;
    }
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}
.avatar-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.table-album-art {
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.table-container {
    overflow-x: auto;
}
        .artist-avatar {
            width: 85px !important;
            height: 85px !important;
            border: 2px solid red; /* Debug: Ensure avatar is visible */
        }
        @media (max-width: 768px) {
            .artist-avatar {
                width: 61px !important;
                height: 61px !important;
            }
        }
        /* Prevent flip when hovering over link */
        .flip-card:not(:has(a:hover)) .flip-card-inner:hover {
            transform: rotateY(180deg);
        }