#set-pin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#set-pin-modal .modal-content {padding-top: 55px;}

#go-back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 13px;
    color: #000 !important;
    background: transparent;
    border: none;
    padding: 5px;
}

#confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: -1;
    pointer-events: none;
}

#confirmation-modal.displayed {
    display: flex;
    z-index: 9999;
    pointer-events: auto;
}

.modal-content {
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-content :is(h2,h3,h4,h5,h6, input) {color: #000;}

.modal-content label {color: var(--e-global-color-primary);}

.modal-content input {background: #fff;}

.modal-content button {
    color: #fff;
    background: var(--e-global-color-primary);
    border: none;
}

.modal-content[data-state="processing"]::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(221, 221, 221, 0.8);
    z-index: 10;
}

.modal-content[data-state="processing"]::after {
    content: '';
    color: #242424;
    font-size: 36px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
    z-index: 12;
}

@keyframes mltShdSpin {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em,
            0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em,
            0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }

    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em,
            -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em,
            -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }

    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
            -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
            -0.749em -0.34em 0 -0.477em;
    }

    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
            -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
            -0.82em -0.09em 0 -0.477em;
    }

    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em,
            0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes round {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}


.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #000;
}

.pin-input {
    margin: 20px 0;
}

#pin-container,
#new-pin-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.pin-box {
    max-width: 40px !important;
    height: 40px;
    aspect-ratio: 1/1;
    padding: 0 !important;
    text-align: center;
    font-size: 18px;
}

.cancel-modal {
    color: #ccc !important;
    background: var(--e-global-color-secondary) !important;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.cancel-modal:hover {
    color: #fff !important;
    background: #242424 !important;
}


/* History Table */
.mlm-funds-transfer-history table .sending-row {
    color: #fff;
    background-color: rgba(247, 58, 58, 0.616);
}

.mlm-funds-transfer-history table .receiving-row {
    color: #fff;
    background-color: rgba(90, 247, 58, 0.616);
}