<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- Custom button styles -->
    <style name="InGameMenuOption" parent="Widget.Material3.Button.TextButton">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">48dp</item>
        <item name="android:textColor">?attr/colorOnSurface</item>
        <item name="android:textSize">16sp</item>
        <item name="android:fontFamily">sans-serif-condensed</item>
        <item name="android:gravity">center_vertical|start</item>
        <item name="android:textAlignment">viewStart</item>
        <item name="android:paddingLeft">32dp</item>
        <item name="android:paddingRight">32dp</item>
    </style>

    <style name="OverlayInGameMenuOption" parent="InGameMenuOption">
        <item name="android:textColor">@android:color/white</item>
        <item name="android:padding">@dimen/spacing_medlarge</item>
        <item name="android:gravity">center</item>
        <item name="android:layout_gravity">center</item>
    </style>

    <style name="DolphinMaterialDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
        <item name="colorPrimary">@color/dolphin_surface</item>
        <item name="colorSurface">@color/dolphin_surface</item>
        <item name="colorSecondary">@color/dolphin_primary</item>
        <item name="buttonBarPositiveButtonStyle">@style/DolphinButton</item>
        <item name="buttonBarNegativeButtonStyle">@style/DolphinButton</item>
        <item name="buttonBarNeutralButtonStyle">@style/DolphinButton</item>
        <item name="android:windowAnimationStyle">@style/DialogAnimation</item>
    </style>

    <style name="MaterialDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
        <item name="android:windowAnimationStyle">@style/DialogAnimation</item>
    </style>

    <style name="DialogAnimation">
        <item name="android:windowEnterAnimation">@anim/fade_in</item>
        <item name="android:windowExitAnimation">@anim/fade_out</item>
    </style>

    <style name="DolphinTVDialog" parent="Theme.Material3.DayNight.Dialog.Alert">
        <item name="colorSurface">@color/dolphin_inverseOnSurface</item>
        <item name="colorPrimary">@color/dolphin_blue</item>
    </style>

    <style name="DolphinButton" parent="Widget.Material3.Button.TextButton.Dialog">
        <item name="android:textColor">@color/dolphin_primary</item>
        <item name="rippleColor">@color/dolphin_secondaryContainer</item>
    </style>

    <style name="DolphinPopup" parent="ThemeOverlay.Material3">
        <item name="colorPrimary">@color/dolphin_surface</item>
    </style>
    
    <style name="DolphinSlider" parent="Widget.Material3.Slider">
        <item name="tickVisible">false</item>
        <item name="labelBehavior">gone</item>
    </style>

    <style name="DolphinDivider" parent="Widget.Material3.MaterialDivider">
        <item name="dividerColor">?attr/colorSurfaceVariant</item>
    </style>

    <style name="ThemeOverlay.Dolphin.BottomSheetDialog" parent="ThemeOverlay.Material3.BottomSheetDialog">
        <item name="android:navigationBarColor">@android:color/transparent</item>
    </style>

    <style name="Widget.Dolphin.ExtendedFloatingActionButton" parent="Widget.Material3.ExtendedFloatingActionButton.Primary">
        <item name="materialThemeOverlay">@style/ThemeOverlay.Dolphin.ExtendedFloatingActionButton</item>
    </style>

    <style name="ThemeOverlay.Dolphin.ExtendedFloatingActionButton" parent="">
        <item name="colorContainer">@color/dolphin_primary</item>
        <item name="colorOnContainer">@color/dolphin_onPrimary</item>
    </style>
</resources>
