/* mail-to-btn */

.mail-to-btn {
    /* width: 1.5em;
  height: 1.5em; */
    width: 35px;
    height: 35px;
    border: none;
    padding: 0;
    background: var(--tg-white);
    position: fixed;
    bottom: 40px;
    /* left: 20px; */
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-secondary-color);
    line-height: 35px;
    font-size: var(--tg-body-font-size);
    border-radius: 6px;
    z-index: 99;
    color: var(--tg-white);
    text-align: center;
    cursor: pointer;
    background: var(--tg-primary-color);
    transition: 1s ease;

}

.mail-to-btn:hover {
    color: white;
}


#element {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hidden {
    display: none;
}

/* mail-to-btn */


/* for preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit !important;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner>div {
    background-color: #581845;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
    -webkit-animation-delay: calc(-1.2s * var(--delay));
    animation-delay: calc(-1.2s * var(--delay));
    -webkit-animation-duration: calc((0.6s + 0.6s * var(--duration)) * 2);
    animation-duration: calc((0.6s + 0.6s * var(--duration)) * 2);
}

.rect1 {
    --delay: 1;
    --duration: 0.5;
}

.rect2 {
    --delay: 3;
    --duration: 0.8;
}

.rect3 {
    --delay: 2;
    --duration: 0.6;
}

.rect4 {
    --delay: 4;
    --duration: 0.7;
}

.rect5 {
    --delay: 0;
    --duration: 0.4;
}

@-webkit-keyframes stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}


/* for preloader */


.clickable-element {
    padding: 10px;
    /* background-color: #581845; */
    /* color: white; */
    /* border-radius: 5px; */
    cursor: pointer;
    transition: transform 0.3s ease;
    /* Transition for smooth effect */
}

.clickable-element:hover {
    transform: scale(1.1);
    /* Scale up the element on hover */
}

.clickable-element.clicked {
    animation: clickEffect 0.5s ease;
    /* Animation for click effect */
}

@keyframes clickEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    /* Scale up to 130% */
    100% {
        transform: scale(1);
    }
}

.logo-wrapper-2fa {
    background: white;
    padding: 15px 5px 5px 5px;
    border-radius: 10px;
}


/* for transactions list modals */
.modal-content {
    overflow-x: scroll;
}

/* for transactions list modals */