<resources>
    <!-- Action mode overrides for dark mode -->
    <style name="ActionMode" parent="@style/Widget.AppCompat.ActionMode">
        <item name="background">?attr/colorSurface</item>
        <item name="titleTextStyle">@style/ActionModeTitle</item>
    </style>

    <style name="ActionModeTitle" parent="@style/TextAppearance.AppCompat.Widget.ActionMode.Title">
        <item name="android:textColor">?attr/colorOnSurface</item>
    </style>

    <!-- Full-screen dialog style for dark mode -->
    <style name="Theme.App.FullScreenDialog" parent="AppTheme">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">false</item>
        <item name="android:statusBarColor">?attr/colorSurface</item>
        <item name="android:windowBackground">?attr/colorSurface</item>
        <item name="android:windowLightStatusBar">false</item>
        <item name="android:windowAnimationStyle">@style/Animation.App.FullScreenDialog</item>
    </style>
</resources>
