import SwiftUI

struct PremiumUpsellBanner: View {
    let messageKey: LocalizedStringKey
    let actionTitleKey: LocalizedStringKey
    let action: () -> Void

    var body: some View {
        HStack(spacing: 8) {
            Image(systemName: "star.circle")
            Text(messageKey)
            Spacer()
            Button(actionTitleKey, action: action)
                .font(.mealMoodCaption)
                .fontWeight(.semibold)
        }
        .font(.mealMoodCaption)
        .foregroundColor(.mealMoodCoral)
        .padding(12)
        .background(Color.mealMoodSurface)
        .cornerRadius(12)
    }
}
