<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">?theme_Primary</item>
        <item name="colorPrimaryDark">?theme_PrimaryDark</item>
        <item name="colorAccent">?theme_Accent</item>
        <item name="colorControlNormal">?theme_TextBlackColor</item>
        <item name="colorControlActivated">?theme_TextBlackColor</item>
        <item name="colorControlHighlight">@color/white</item>
        <item name="android:windowDisablePreview">true</item>
    </style>

    <style name="regularStyle">
        <item name="android:fontFamily">@font/roboto_regular</item>
        <item name="android:textSize">@dimen/margin_12</item>
        <item name="android:textColor">@color/greyColor1</item>
    </style>

    <style name="semiBoldStyle">
        <item name="android:fontFamily">@font/roboto_bold</item>
        <item name="android:textSize">@dimen/margin_14</item>
        <item name="android:textColor">@color/red</item>
    </style>

    <style name="BoldStyle">
        <item name="android:fontFamily">@font/roboto_bold</item>
        <item name="android:textSize">@dimen/margin_16</item>
        <item name="android:textColor">@color/black</item>
    </style>

    <style name="EditTextTheme" parent="Widget.AppCompat.EditText">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/black</item>
        <item name="android:textCursorDrawable">?theme_TextBlackColor</item>
        <item name="colorControlNormal">?theme_TextBlackColor</item>
        <item name="colorControlActivated">?theme_TextBlackColor</item>
        <item name="colorControlHighlight">?theme_TextBlackColor</item>
    </style>

    <style name="ErrorTextAppearance" parent="TextAppearance.AppCompat">
        <item name="android:textColor">@android:color/holo_orange_dark</item>
        <item name="android:textSize">@dimen/text_size_16</item>
        <item name="android:textStyle">bold|italic</item>
    </style>

    <style name="HelperTextAppearance" parent="TextAppearance.AppCompat">
        <item name="android:textColor">@android:color/holo_green_dark</item>
        <item name="android:textSize">@dimen/text_size_16</item>
        <item name="android:textStyle">bold|italic</item>
    </style>

    <style name="HintTextAppearance" parent="TextAppearance.AppCompat">
        <item name="android:textColor">@android:color/holo_green_dark</item>
        <item name="android:textSize">@dimen/text_size_14</item>
    </style>

    <style name="EditTextThemeOverlay" parent="ThemeOverlay.AppCompat">
        <item name="colorAccent">@android:color/holo_blue_light</item>
    </style>

    <style name="CustomCardViewStyle" parent="@style/Widget.MaterialComponents.CardView">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_custom_corners</item>
    </style>

    <style name="CustomCardViewTopStyle" parent="@style/Widget.MaterialComponents.CardView">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_top_custom_corners</item>
    </style>

    <style name="CustomCardViewBottomStyle" parent="@style/Widget.MaterialComponents.CardView">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_bottom_custom_corners</item>
    </style>


    <style name="ShapeAppearanceOverlay_card_custom_corners" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">@dimen/margin_10</item>
        <item name="cornerSizeTopLeft">@dimen/margin_10</item>
        <item name="cornerSizeBottomRight">@dimen/margin_10</item>
        <item name="cornerSizeBottomLeft">@dimen/margin_10</item>
    </style>

    <style name="ShapeAppearanceOverlay_card_top_custom_corners" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">@dimen/margin_10</item>
        <item name="cornerSizeTopLeft">@dimen/margin_10</item>
        <item name="cornerSizeBottomRight">0dp</item>
        <item name="cornerSizeBottomLeft">0dp</item>
        <item name="backgroundColor">@color/greyColor4</item>
    </style>

    <style name="ShapeAppearanceOverlay_card_bottom_custom_corners" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSizeTopRight">0dp</item>
        <item name="cornerSizeTopLeft">0dp</item>
        <item name="cornerSizeBottomRight">@dimen/margin_10</item>
        <item name="cornerSizeBottomLeft">@dimen/margin_10</item>
    </style>

    <style name="DialogBottomAnimation">
        <item name="android:windowEnterAnimation">@anim/slide_up</item>
        <item name="android:windowExitAnimation">@anim/slide_down</item>
    </style>

    <declare-styleable name="DotsIndicator">
        <attr name="dotsColor" />
        <attr name="selectedDotColor" />
        <attr name="dotsSize" />
        <attr name="dotsWidthFactor" />
        <attr name="dotsSpacing" />
        <attr name="dotsCornerRadius" />
        <attr name="progressMode" />
        <attr name="dotsClickable" />
        <attr name="dotsElevation" format="dimension" />
    </declare-styleable>

    <attr name="dotsColor" format="color" />
    <attr name="selectedDotColor" format="color" />
    <attr name="dotsStrokeColor" format="color" />
    <attr name="dotsSize" format="dimension" />
    <attr name="dotsWidthFactor" format="float" />
    <attr name="dotsSpacing" format="dimension" />
    <attr name="dotsCornerRadius" format="dimension" />
    <attr name="dotsStrokeWidth" format="dimension" />
    <attr name="stiffness" format="float" />
    <attr name="dampingRatio" format="float" />
    <attr name="progressMode" format="boolean" />
    <attr name="dotsClickable" format="boolean" />

    <declare-styleable name="SpringDotsIndicator">
        <attr name="dotsColor" />
        <attr name="dotsSize" />
        <attr name="dotsSpacing" />
        <attr name="dotsCornerRadius" />
        <attr name="dotsStrokeWidth" />
        <attr name="dotsStrokeColor" />
        <attr name="stiffness" />
        <attr name="dampingRatio" />
        <attr name="dotsClickable" />
    </declare-styleable>

    <declare-styleable name="WormDotsIndicator">
        <attr name="dotsColor" />
        <attr name="dotsSize" />
        <attr name="dotsSpacing" />
        <attr name="dotsCornerRadius" />
        <attr name="dotsStrokeWidth" />
        <attr name="dotsStrokeColor" />
        <attr name="dotsClickable" />
    </declare-styleable>

    <style name="Theme.lightRed" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="colorPrimary">@color/buttonRed</item>
        <item name="elevation">@dimen/margin_8</item>
        <item name="android:solidColor">@color/white</item>
    </style>

    <style name="MyButtonStyle" parent="Widget.MaterialComponents.Button">
        <item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.MyApp.Button.Rounded</item>
    </style>

    <style name="ShapeAppearanceOverlay.MyApp.Button.Rounded" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">16dp</item>
        <item name="boxStrokeColor">@color/red</item>
        <item name="strokeColor">@color/red</item>
    </style>
</resources>