content: import 'package:flutter/material.dart';
  import 'package:flutter/services.dart';
  
  import '../core/utils/app_colors.dart';
  import '../core/utils/font_manager.dart';
  import '../core/utils/styles_manager.dart';
  
  void setLightStatusBarIcons() {
    SystemChrome.setSystemUIOverlayStyle(
      const SystemUiOverlayStyle(
        statusBarColor: Colors.transparent,
        statusBarIconBrightness: Brightness.light,
      ),
    );
  }
  
  void setDarkStatusBarIcons() {
    SystemChrome.setSystemUIOverlayStyle(
      const SystemUiOverlayStyle(
        statusBarColor: Colors.transparent,
        statusBarIconBrightness: Brightness.dark,
      ),
    );
  }
  
  ThemeData getAppTheme() {
    setLightStatusBarIcons();
  
    return ThemeData(
      fontFamily: 'Poppins',
      scaffoldBackgroundColor: AppColors.scaffoldBackgroundColorLight,
      primaryColor: AppColors.primaryColor,
      appBarTheme: const AppBarTheme(
        backgroundColor: AppColors.primaryColor,
        systemOverlayStyle: SystemUiOverlayStyle(
          statusBarColor: Colors.transparent,
          statusBarIconBrightness: Brightness.light,
          statusBarBrightness: Brightness.light,
        ),
        elevation: 0.0,
        centerTitle: false,
        iconTheme: IconThemeData(color: AppColors.white),
      ),
      textTheme: TextTheme(
        headlineLarge:
            getBlackTitleStyle(fontSize: FontSize.title, color: AppColors.white),
        headlineMedium:
            getBoldStyle(fontSize: FontSize.subTitle, color: AppColors.white),
        titleLarge: getBoldStyle(color: AppColors.white),
        titleMedium: getRegularStyle(color: AppColors.black),
        bodyLarge: getMediumStyle(color: AppColors.black),
        bodyMedium: getRegularStyle(color: AppColors.black),
        bodySmall: getLightStyle(color: AppColors.blackWithOpacity),
      ),
      elevatedButtonTheme: ElevatedButtonThemeData(
        style: ElevatedButton.styleFrom(
          textStyle: getRegularStyle(color: AppColors.white),
          backgroundColor: AppColors.primaryColor,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(5),
          ),
          elevation: 0.0,
        ),
      ),
      inputDecorationTheme: InputDecorationTheme(
        labelStyle: getRegularStyle(color: AppColors.blackWithOpacity),
        hintStyle: getRegularStyle(color: AppColors.blackWithOpacity),
        errorStyle: getLightStyle(color: AppColors.red),
        fillColor: AppColors.light,
        filled: true,
        errorBorder: const OutlineInputBorder(
          borderSide: BorderSide(color: AppColors.red, width: 1.5),
        ),
        focusedBorder: const OutlineInputBorder(
          borderSide: BorderSide(color: AppColors.black, width: 1.5),
        ),
        focusedErrorBorder: const OutlineInputBorder(
          borderSide: BorderSide(color: AppColors.red, width: 1.5),
        ),
        enabledBorder: InputBorder.none,
      ),
      progressIndicatorTheme:
          const ProgressIndicatorThemeData(color: AppColors.primaryColor),
    );
  }
  