import SwiftUI

struct EmptyTasksView: View {
    var body: some View {
        VStack(spacing: OrganicSpacing.cozy) {
            ZStack {
                Circle()
                    .fill(Color.appPrimary.opacity(0.08))
                    .frame(width: 80, height: 80)

                Image(systemName: "checkmark.circle")
                    .font(.system(size: 36, weight: .medium))
                    .foregroundColor(Color.appPrimary.opacity(0.5))
            }

            Text("No tasks yet")
                .font(.system(size: 15, weight: .medium))
                .foregroundColor(Color.appTextSecondary)
        }
        .frame(maxWidth: .infinity)
        .padding(OrganicSpacing.spacious)
        .background(Color.appBackgroundSecondary)
        .clipShape(RoundedRectangle(cornerRadius: 16, style: .continuous))
        .naturalShadow(.subtle)
    }
}

#Preview {
    EmptyTasksView()
        .padding()
}
