<resources xmlns:tools="http://schemas.android.com/tools">
  <!-- Dark mode overrides for main app theme -->
  <style name="AppTheme" parent="Theme.EdgeToEdge">
    <item name="android:statusBarColor">@color/av_background</item>
    <item name="android:navigationBarColor">@color/av_background</item>
    <!-- Force opaque navigation bar (override EdgeToEdge transparency) -->
    <item name="android:enforceNavigationBarContrast">false</item>
    <item name="android:windowTranslucentNavigation">false</item>
    <!-- Dark mode: use light icons/text on dark background -->
    <item name="android:windowLightStatusBar">false</item>
    <item name="android:windowLightNavigationBar">false</item>
  </style>
  <!-- Dark mode splash screen theme -->
  <style name="Theme.App.SplashScreen" parent="Theme.SplashScreen">
    <item name="windowSplashScreenBackground">@color/splashscreen_background</item>
    <item name="windowSplashScreenAnimatedIcon">@drawable/splashscreen_logo</item>
    <item name="windowSplashScreenAnimationDuration">0</item>
    <item name="android:windowSplashScreenIconBackgroundColor">@android:color/transparent</item>
    <item name="postSplashScreenTheme">@style/AppTheme</item>
  </style>
  <!-- Dark mode overrides for Theme.App.Overlay. -->
  <style name="Theme.App.Overlay" parent="Theme.Material3.DayNight.NoActionBar">
    <item name="colorPrimary">@color/av_primary</item>
    <item name="colorOnPrimary">#FFFFFF</item>
    <item name="android:colorBackground">@color/av_background</item>
    <item name="android:textColorPrimary">@color/av_text</item>
    <item name="android:textColorSecondary">@color/av_text_muted</item>
    <item name="android:statusBarColor">@color/av_background</item>
    <item name="android:navigationBarColor">@color/av_background</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    <item name="android:windowLightStatusBar">false</item>
    <item name="android:windowLightNavigationBar">false</item>
    <item name="android:windowIsTranslucent">true</item>
  </style>
</resources>
