﻿@import url('../sar/style-sar.css');
:root {
    --mf-stc-primary: #502C84;
    --mf-stc-white: #fff;
}

body {
    margin: 0;
}

.mf-stc-logo {
    width: 40px;
}

.mf-stc-m-t {
    margin-top: 4px;
}

.stc-body {
    position: absolute;
    width: 100%;
}

.mf-stc-flex-column {
    display: flex;
    flex-direction: column;
}

.mf-stc-input-btn-container {
    border: 2px solid var(--mf-stc-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--mf-stc-white);
    border-radius: 8px;
    box-sizing: border-box;
}
    .mf-stc-input-btn-container .stc-counter-container {
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 64%;
    }

.mf-stc-without-border-input {
    border: none;
    background-color: var(--mf-stc-white);
    width: 60%;
}
    .mf-stc-without-border-input:focus,
    .mf-stc-without-border-input:active {
        background-color: var(--mf-stc-white) !important;
    }
.mf-stc-send-btn {
    color: var(--mf-stc-white);
    font-size: 14px;
    font-weight: 600;
    background-color: #582490;
    height: 32px;
    width: 45% !important;
    border: 1px solid var(--mf-stc-primary);
    border-radius: 2px;
    cursor: pointer;
}

.mf-stc-text-danger {
    font-size: 12px;
    font-weight: 400;
    color: #CF3341;
    padding-inline-start: 16px;
}

.mf-stc-otp-counter {
    font-size: 14px;
    color: #0D0D0D;
    font-weight: 600;
    margin: 0;
    width: 40px;
    text-align: end;
}

/*.mf-stc-otp-counter span {
        color: #0D0D0D;
        font-weight: 600;
    }*/

.mf-stc-input-btn-container.mobileNumber-container {
    padding-inline-start: 16px;
}

#stcPayButton {
    justify-content: center;
    display: block;
    margin-bottom: 26px !important;
    width: 100%;
    height: 34px;
    cursor: pointer;
    background-color: #582490;
    border: none;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    /*font-family: 'Roboto', sans-serif;*/
    align-items: center;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

/*----------NEW DESIGN UI FIX------*/
.payment-methods-card .mf-stc-new-design {
    padding: 0 0.5rem;
}
.payment-methods-card .stc-body {
    margin: 0 0.5rem;
}

.payment-methods-card .mf-stc-send-btn {
    font-size: 12px; /*only new design*/
}

/*----------NEMBEDED UI FIX------*/

.mf-stc-without-border-input:focus {
    outline: none;
}
.error {
    border-color: red !important;
    border-block-width: 1px !important;
}

.mf-relative {
    position: relative;
}

.ajax-loading-overlay {
    position: absolute;
    right: 41px;
    top: 2px;
    z-index: 2;
}

.ajax-loading-icon {
    color: white;
}

.fa-2x {
    font-size: 1.7em;
}

/*----------Swipe button------*/
/* Base styles for buttons */
.swipe-btn {
    position: absolute; /* To stack buttons at the same position */
    transition: transform 1.8s ease, opacity 1.8s ease;
    opacity: 1;
    transform: translateX(0);
}

/* Hidden state */
.hidden {
    opacity: 0;
    pointer-events: none; /* Prevent clicks */
}

/* Swipe-out animation */
.swipe-out {
    transform: translateX(150%); /* Move out to the right */
    opacity: 0;
}

/* Swipe-out animation */
.swipe-out-ar {
    transform: translateX(-150%); /* Move out to the left */
    opacity: 0;
}

/* Swipe-in animation */
.swipe-in {
    transform: translateX(0); /* Reset to original position */
    opacity: 1;
    z-index: 1; /* Ensure it's above the swiped-out button */
}

.stc-relative-container {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.icon-container {
    position: absolute;
    top: calc(50% - 10px);
    right: calc(21% - 10px);
    z-index: 2;
}

.loader {
    position: relative;
    height: 20px;
    width: 20px;
    display: inline-block;
    animation: around 5.4s infinite;
}

@keyframes around {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loader::after, .loader::before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #fff #fff transparent transparent;
    border-style: solid;
    border-radius: 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    animation: around 0.7s ease-in-out infinite;
}

.loader::after {
    animation: around 0.7s ease-in-out 0.1s infinite;
    background: transparent;
}

.disabled {
    opacity: 0.65;
    cursor: not-allowed !important;
}



.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        opacity: 0.1;
    }
}

@-webkit-keyframes blink-animation {
    to {
        opacity: 0.1;
    }
}

.parent-currency-embedded::before {
    content: " " !important;
}

.mfd-lg-icon::before {
    font-size: 32px;
}

.mfd-lg-icon::after {
    font-size: 18px;
}

.mfd-md-icon::before {
    font-size: 24px;
}

.mfd-sm-icon::before {
    font-size: 16px;
}

#stcMobileSubmitBtn {
    direction: ltr;
}
