<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="ApplicationTheme" parent="Theme.Material3.DayNight.NoActionBar">
        <item name="colorPrimary">@color/reui_primary</item>
        <item name="colorOnPrimary">@color/reui_on_primary</item>
        <item name="colorSecondary">@color/reui_muted</item>
        <item name="colorOnSecondary">@color/reui_foreground</item>
        <item name="colorSurface">@color/reui_background</item>
        <item name="colorOnSurface">@color/reui_foreground</item>
        <item name="colorError">@color/reui_destructive</item>
        <item name="colorOnError">@color/reui_on_primary</item>
        <item name="android:colorBackground">@color/reui_background</item>
        <item name="colorOnBackground">@color/reui_foreground</item>
        <item name="colorOutline">@color/reui_border</item>
        <item name="android:statusBarColor">@color/reui_background</item>
        <item name="android:navigationBarColor">@color/reui_background</item>
        <item name="android:windowBackground">@color/reui_background</item>
        <item name="colorAccent">@color/reui_primary</item>
        <item name="colorPrimaryDark">@color/reui_foreground</item>
        <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
        <item name="android:windowLightStatusBar">@bool/window_light_status_bar</item>
    </style>

    <style name="ApplicationTheme.ActionBar" parent="Theme.Material3.DayNight">
        <item name="colorPrimary">@color/reui_primary</item>
        <item name="colorOnPrimary">@color/reui_on_primary</item>
        <item name="android:statusBarColor">@color/reui_background</item>
        <item name="android:navigationBarColor">@color/reui_background</item>
        <item name="android:windowBackground">@color/reui_background</item>
        <item name="android:windowLightStatusBar">@bool/window_light_status_bar</item>
        <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
    </style>

    <style name="AlertDialogTheme" parent="ThemeOverlay.Material3.MaterialAlertDialog">
        <item name="colorAccent">@color/reui_primary</item>
    </style>

    <style name="TransparentActivity" parent="Theme.Material3.DayNight.NoActionBar">
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowNoTitle">true</item>
    </style>

    <style name="ReuiFrame">
        <item name="android:background">@drawable/bg_reui_frame</item>
        <item name="android:padding">16dp</item>
        <item name="android:orientation">vertical</item>
    </style>

    <style name="ReuiFrame.Error">
        <item name="android:background">@drawable/bg_reui_frame_error</item>
    </style>

    <style name="ReuiFrameTitle">
        <item name="android:textColor">@color/reui_foreground</item>
        <item name="android:textSize">16sp</item>
        <item name="android:textStyle">bold</item>
    </style>

    <style name="ReuiMuted">
        <item name="android:textColor">@color/reui_muted</item>
        <item name="android:textSize">12sp</item>
    </style>

    <style name="ReuiValue">
        <item name="android:textColor">@color/reui_foreground</item>
        <item name="android:textSize">18sp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:ellipsize">end</item>
        <item name="android:maxLines">1</item>
    </style>

    <style name="ReuiIconTile">
        <item name="android:layout_width">42dp</item>
        <item name="android:layout_height">42dp</item>
        <item name="android:background">@drawable/bg_reui_icon_tile_elevated</item>
        <item name="android:padding">11dp</item>
        <item name="android:scaleType">centerInside</item>
    </style>

    <style name="ReuiBadge">
        <item name="android:paddingStart">8dp</item>
        <item name="android:paddingEnd">8dp</item>
        <item name="android:paddingTop">2dp</item>
        <item name="android:paddingBottom">2dp</item>
        <item name="android:textSize">11sp</item>
        <item name="android:textStyle">bold</item>
        <item name="android:maxLines">1</item>
        <item name="android:ellipsize">end</item>
    </style>

    <style name="ReuiBadge.Outline">
        <item name="android:background">@drawable/bg_reui_badge_outline</item>
        <item name="android:textColor">@color/reui_muted</item>
    </style>

    <style name="ReuiBadge.Success">
        <item name="android:background">@drawable/bg_reui_badge_success</item>
        <item name="android:textColor">@color/reui_success</item>
    </style>

    <style name="ReuiBadge.Warning">
        <item name="android:background">@drawable/bg_reui_badge_warning</item>
        <item name="android:textColor">@color/reui_warning</item>
    </style>

    <style name="ReuiBadge.Destructive">
        <item name="android:background">@drawable/bg_reui_badge_destructive</item>
        <item name="android:textColor">@color/reui_destructive</item>
    </style>

    <style name="ReuiBadge.Muted">
        <item name="android:background">@drawable/bg_reui_badge_muted</item>
        <item name="android:textColor">@color/reui_muted</item>
    </style>

</resources>
