/* ==========================================================================
   WISHLIST — songs people want that aren't in the library yet
   ========================================================================== */

#create-wish-container {
    background: #1e1e1e;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid #2a2a2a;
    box-sizing: border-box;
}
#create-wish-container h3 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 18px;
}
#create-wish-form button[type="submit"] {
    width: 100%;
}
#wish-status-message {
    margin-top: 14px;
    font-weight: 600;
    text-align: center;
}
#wish-status-message:empty {
    display: none;
}

.wishlist-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.wishlist-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.wishlist-cover {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #2e2e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.wishlist-info {
    flex: 1;
    min-width: 0;
}
.wishlist-title {
    font-weight: 600;
    font-size: 0.98rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wishlist-artist {
    font-size: 0.82rem;
    color: #b3b3b3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wishlist-meta {
    font-size: 0.76rem;
    color: #808080;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wishlist-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.wishlist-upload-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}

.wishlist-row.fulfilled {
    opacity: 0.75;
}
.wishlist-row.fulfilled .wishlist-title {
    color: #ffffff;
}
.wishlist-fulfilled-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

/* Banner shown on the Upload tab when arriving from "Upload this" */
.wishlist-fulfill-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 24px;
    font-size: 0.88rem;
}
.wishlist-fulfill-banner .icon {
    color: var(--accent);
    flex-shrink: 0;
}
.wishlist-fulfill-banner span:nth-child(2) {
    flex: 1;
}

@media (max-width: 768px) {
    #create-wish-container {
        padding: 18px;
    }
    .wishlist-row {
        padding: 10px 12px;
    }
}
