import 'package:flutter/material.dart';
import '../core/theme/app_colors.dart';
import '../core/theme/app_text_styles.dart';
import '../core/theme/app_spacing.dart';
import '../core/theme/app_radius.dart';

class PlaceholderScreen extends StatelessWidget {
  final String icon;
  final String title;
  final String subtitle;

  const PlaceholderScreen({
    super.key,
    required this.icon,
    required this.title,
    required this.subtitle,
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Padding(
          padding: AppSpacing.screenAll,
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Text(icon, style: const TextStyle(fontSize: 64)),
              AppSpacing.vMd,
              Text(title, style: AppTextStyles.headlineMedium),
              AppSpacing.vSm,
              Container(
                padding:
                    const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
                decoration: BoxDecoration(
                  color: AppColors.accentGlow,
                  border:
                      Border.all(color: AppColors.accent.withOpacity(0.2)),
                  borderRadius: AppRadius.smAll,
                ),
                child: Text(
                  subtitle,
                  style: AppTextStyles.labelMedium
                      .copyWith(color: AppColors.accentLight),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}