<?xml version='1.0' encoding='utf-8'?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <style name="Theme.App.SplashScreen" parent="Theme.SplashScreen.IconBackground">
        <item name="windowSplashScreenBackground">@color/cdv_splashscreen_background</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_cdv_splashscreen</item>
        <item name="windowSplashScreenAnimationDuration">200</item>
        <item name="postSplashScreenTheme">@style/Theme.App.Main</item>
        <!-- Enable edge-to-edge on Android 15+ -->
        <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">false</item>
    </style>
    
    <!-- Custom main theme with edge-to-edge support -->
    <style name="Theme.App.Main" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowBackground">@color/cdv_splashscreen_background</item>
        <item name="android:colorBackground">@color/cdv_splashscreen_background</item>
        <!-- Allow coloring system bars -->
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <!-- Transparent status bar for edge-to-edge -->
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:windowLightStatusBar">true</item>
        <!-- Navigation bar color #F8FAFC -->
        <item name="android:navigationBarColor">#F8FAFC</item>
        <item name="android:windowLightNavigationBar">true</item>
        <!-- Let plugin handle system windows -->
        <item name="android:windowSoftInputMode">adjustResize</item>
    </style>
</resources>
