.spotify-finder-container.dark-theme {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background-color: #121212;
    color: #fff;
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.spotify-finder-container h2 { color: #1DB954; text-align: center; margin-bottom: 25px; }

#spotify_input {
    width: 100%; padding: 14px; background: #282828; border: 1px solid #404040;
    border-radius: 8px; color: #fff; font-size: 16px; margin-bottom: 15px;
}

#spotify-finder-form button {
    width: 100%; padding: 14px; background: #1DB954; color: #000;
    font-weight: 700; border: none; border-radius: 50px; cursor: pointer; transition: 0.3s;
}

.results-box { margin-top: 30px; background: #181818; padding: 20px; border-radius: 12px; border: 1px solid #282828; }

.meta-header { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.album-art { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; }
.artist-name { color: #b3b3b3; font-size: 1.1em; margin: 5px 0; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.detail-item { font-size: 14px; color: #b3b3b3; }
.detail-item strong { color: #fff; display: block; margin-bottom: 2px; }

.copy-btn { background: #333; color: #fff; border: none; padding: 2px 8px; border-radius: 4px; font-size: 10px; cursor: pointer; margin-left: 5px; }

.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-link { text-decoration: none; padding: 12px; text-align: center; border-radius: 8px; font-weight: 600; font-size: 14px; }
.spot-btn { background: #1DB954; color: #000; }
.store-btn { background: #fff; color: #000; }

/* Container adjustments */
.spotify-finder-container.dark-theme {
    background-color: #121212; /* Softer dark gray */
    color: #ffffff;
    border: 1px solid #282828;
}

/* Fix Title Color */
.meta-header h3 {
    color: #1DB954 !important; /* Spotify Green for high contrast */
    font-size: 24px;
    margin-bottom: 5px;
}

/* Fix Button UI Visibility */
.store-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.store-link {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 50px; /* Pill shape */
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

/* Specific button styles for visibility */
.spot-btn {
    background-color: #1DB954;
    color: #000000 !important;
}

.spot-btn:hover {
    background-color: #1ed760;
    transform: scale(1.02);
}

.store-btn {
    background-color: #ffffff; /* White button for the Odesli link */
    color: #000000 !important;
}

.store-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

/* Metadata Labels */
.detail-item strong {
    color: #b3b3b3; /* Lighter gray for labels */
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ... [Previous CSS] ... */

.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-link { padding: 12px; border-radius: 50px; font-weight: bold; text-align: center; text-decoration: none; font-size: 13px; }

.spot-btn { background: #1DB954; color: #000; }
.jio-btn { background: #24d4ac; color: #fff; } /* JioSaavn Teal */
.insta-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; }
.odesli-btn { background-color: #ffffff; color: #000 !important; }
