* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


:root {
    --border-color: rgba(255, 255, 255, 0.047);
    --element-background-color: #020617; /*040517*/
}



body {
    background-color: #010716; /*010717*/
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
    letter-spacing: .5px;
    opacity: .9;
}


body.no-scroll {
    overflow: hidden;
}



select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0f1022;
    color: rgb(211, 211, 211);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    outline: none;
    letter-spacing: .3px;
    border: 1px solid var(--border-color);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}


.click {
    cursor: pointer;
}


.hide {
    display: none !important;
}


#connection-status {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    position: fixed;
    bottom: 10px;
    left: 10px;
    border-radius: 8px;
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px);
    z-index: 2000;
}





/* User */

#user {
    position: fixed;
    width: 200px;
    right: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--element-background-color);
    padding: 15px 10px;
    display: none;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}


#user input {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    outline: none;
    padding: 6px 10px;
    background-color: #010716;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    letter-spacing: 1px;
}


#user button {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    outline: none;
    padding: 5px 10px;
    background-color: #010716;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: wheat;
    font-weight: 600;
    letter-spacing: .8px;
    cursor: pointer;
}





/* Repay */

#repay-div {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.667);
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

#repay {
    border-radius: 10px;
    width: 300px;
    background-color: var(--element-background-color);
    border: 1px solid var(--border-color);
    padding: 5px 20px;
    animation: scaleIn .5s forwards;
}


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

    100% {
        transform: scale(1);
    }
}

#repay > h2 {
    font-size: 16px;
    text-align: center;
    margin-block: 20px;
}


#repay > div.in {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-direction: column;
}


#repay > div > label {
    font-size: 14px;
}



#repay > div > input {
    font-size: 13px;
    background-color: rgba(79, 79, 79, 0.404);
    border: none;
    outline: none;
    border-radius: 7px;
    padding: 6px 10px;
    color: white;
    letter-spacing: 1px;
    opacity: .8;
}


#repay p {
    font-size: 12px;
    color: red;
    margin-top: 20px;
}

#repay > div.btns {
    display: flex;
    gap: 15px;
    margin-block: 25px;
    justify-content: center;
}

#repay > div.btns button {
    padding: 5px 12px;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
}

#repay > div.btns button.green {
    background-color: green;
    color: white;
}

#repay > div.btns button.red {
    background-color: red;
    color: white;
}
/* Header */

header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 15px;
    gap: 15px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--element-background-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header svg {
    width: 35px;
    border-right: 1px solid var(--border-color);
    padding-right: 5px;
}

header img {
    margin-left: auto;
}



/* Container */


div.container {
    display: flex;
    justify-content: space-between;
    padding: 13px;
}


/* Aside */

aside {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: -1500px;
    background-color: var(--element-background-color);
    padding: 20px;
    max-width: 300px;
    border-right: 1px solid var(--border-color);
    z-index: 10000;
}


aside.active {
    animation: slideIn .3s forwards;
}


aside.inactive {
    animation: slideOut 1s forwards;
}


@keyframes slideIn {
    from {
        left: -1500px;
    }

    to {
        left: 0;
    }
}



@keyframes slideOut {
    from {
        left: 0;
    }

    to {
        left: -1500px;
    }
}


aside .aside-head {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}



aside .aside-head div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    align-items: flex-start;
}



aside .aside-head div:last-child p:first-child {
    font-size: 15px;
}



aside .aside-head div:last-child p:last-child {
    font-size: 11px;
    color: rgb(202, 202, 202);
}



aside .aside-body {
    margin-top: 30px;
}


aside .aside-body .active {
    background-color: rgb(35, 35, 68);
}


aside .aside-body div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 13px;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}



main {
    width: 100%;
}


.warning {
    background-color: #935313;
    border-radius: 7px;
    padding: 3px 10px;
    font-size: 12px;
}



.for-main-banks-and-autos {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


div.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--element-background-color);
    border-radius: 7px;
    padding: 1px;
    gap: 5px;
}


div.main div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}


.bal-text-line span {
    font-size: 12px;
    color: rgb(227, 227, 227);
}


.balance-line span:first-child {
    font-size: 27px;
    font-weight: 600;
    font-feature-settings: "tnum";
    position: relative;
}


.balance-line span:first-child.hide-balance::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}


.balance-line span:first-child.first-time::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}



.balance-line span:first-child.first-time::after {
    content: "";
    position: absolute;
    background: linear-gradient(to right, rgba(128, 0, 128, 0.109), rgba(255, 255, 255, 0.031));
    border-radius: 5px;
    top: 0;
    bottom: 0;
    left: 0;
    animation: grows 3s infinite;
}


@keyframes grows {

    from {
        right: 200px;
    }

    to {
        right: 0;
    }
    
}


.balance-line span:last-child {
    font-size: 11px;
    color: rgb(154, 154, 154);
    word-spacing: .1px;
}


.pro-line {
    padding-right: 15px !important;
    gap: 20px !important;
}



.pro-line .full {
    flex: 1 1;
    max-width: 400px;
    height: 7px;
    background-color: #2d61e7;
    border-radius: 10px;
}


.pro-line button {
    color: rgb(207, 207, 207);
    background-color: #0f1022;
    border: 1px solid rgb(31, 31, 31);
    outline: none;
    padding: 8px 13px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}


.pro-line button:disabled {
    cursor: not-allowed;
}


.banks {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px;
    background-color: var(--element-background-color);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: rgb(174, 174, 174);
}

.banks div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 6px;
    font-size: 14px;
    color: rgb(230, 228, 228);
}

.banks div:first-child {
    align-items: flex-start;
}

.banks div:first-child span:first-child {
    margin-bottom: 12px;
    color: rgb(219, 219, 219);
    font-size: 13px;
}



.acct-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}



.autos {
    background-color: var(--element-background-color);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    padding: 10px;
}

.autos>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.autos div:last-child {
    margin-top: 15px;
}

.autos>div>span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}


.autos>div>span:first-child>span:first-child {
    font-size: 14px;
    color: rgb(255, 255, 255);
}


.autos>div>span:first-child>span:last-child {
    font-size: 12px;
    color: rgb(207, 207, 207);
}

.autos>div>span:last-child {
    cursor: pointer;
}


.autos>div>span:last-child.disabled {
    cursor: not-allowed;
    opacity: .6;
}






.others {
    margin-block: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
    border-radius: 7px;
}

.others>div {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    background-color: var(--element-background-color);
    border-radius: 7px;
    padding: 10px;
    font-size: 15px;
    color: rgb(222, 220, 220);
}



.others>div>div:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
    gap: 5px;
}


.others>div>div:first-child p {
    font-size: 13px;
    color: rgb(225, 223, 223);
}


.amount-opened-eye {
    margin-left: auto;
}

.amount-closed-eye {
    margin-left: auto;
}



.pp {
    font-feature-settings: "tnum";
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    position: relative;
}


.pp.totalAmountTransferred.hide-amount::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}



.pay-close-buttons-div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-block: 20px;
}


.pay-close-buttons-div button {
    border: none;
    outline: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}


.pay-close-buttons-div button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.pay-close-buttons-div button:first-child {
    color: black;
    background-color: rgb(36, 36, 255);
}

.pay-close-buttons-div button:last-child {
    color: white;
    background-color: rgb(141, 41, 41);
}




.orders {
    width: 100%;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.no-order {
    border: 1px solid var(--border-color);
    background-color: var(--element-background-color);
    width: 100%;
    min-height: 30rem;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.no-order p:first-child {
    font-size: 16px;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.no-order p:nth-child(2) {
    font-size: 14px;
    color: rgb(197, 197, 197);
    margin-block: 15px 30px;
}


.no-order p:last-child {
    background-color: rgba(45, 44, 44, 0.204);
    padding: 10px 15px;
    border-radius: 7px;
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.order {
    flex: 3 1 500px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 7px;
    border: 1px solid var(--border-color);
    background-color: var(--element-background-color);
}


.order>div {
    padding: 10px;
}

.order .order-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.order .order-head div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}


.order .order-head div:first-child p:first-child {
    font-size: 13px;
}

.order .order-head div:first-child p:last-child {
    font-size: 11px;
    color: rgb(197, 197, 197);
}


.status-pending {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 5px;
    color: #aa7935;
    background-color: #331a13;
}


.status-failed {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 5px;
    color: red;
    background-color: rgb(57, 4, 4);
}

.status-success {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 5px;
    color: green;
    background-color: rgb(1, 29, 1);
}


.order-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.order-body .order-amount {
    color: rgb(63, 150, 63);
    text-align: right;
    font-size: 16px;
}

.order-body .order-num-d {
    display: flex;
    justify-content: space-between;
}

.order-body .order-acct-num-d {
    display: flex;
    justify-content: space-between;
}


.order-body .order-bank-name-d {
    display: flex;
    justify-content: space-between;
}

.order-body .order-bank-branch-d {
    display: flex;
    justify-content: space-between;
}

.order-body .order-buttons {
    text-align: right;
}


.order-body .order-buttons button {
    padding: 5px 10px;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}



.order-body .order-buttons button:disabled {
    cursor: not-allowed;
    opacity: .6;
}


.order-body .order-buttons button:first-child {
    color: black;
    background-color: rgb(66, 137, 66);
}



.order-body .order-buttons button.repay {
    margin-inline: 5px;
    background-color: rgba(255, 255, 0, 0.604);
    color: rgb(226, 226, 226);
    text-shadow: 1px 1px 2px grey;
}



.order-body .order-buttons button:last-child {
    color: red;
    background-color: var(--element-background-color);
}


.error-div {
    display: flex;
    gap: 10px;
}



/* Footer */

footer {
    background-color: var(--element-background-color);
    width: 100%;
    min-height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    margin-top: 5px;
    color: rgb(179, 179, 179);
}



@media (min-width: 700px) {


    div.container {
        padding: 0 30px;
    }


    .warning {
        margin-top: 10px;
        font-size: 13px;
    }



    .for-main-banks-and-autos {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }


    .for-main-banks-and-autos div {
        flex-grow: 1;
    }


    .others {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .others>div {
        flex-grow: 1;
    }


    .orders {
        gap: 15px;
    }


    .order {
        max-width: 320px;
    }


    footer {
        margin-top: 20px;
    }

}






@media (min-width: 900px) {



    div.container {
        padding: 0 20px;
        gap: 20px;
    }


    aside {
        left: 0;
        width: 300;
    }


    main {
        margin-left: 300px;
    }

    .warning {
        margin-top: 20px;
        font-size: 14px;
    }


    .for-main-banks-and-autos {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .for-main-banks-and-autos>div {
        flex: 1 1 300px;
    }


    .others {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .others>div {
        flex-grow: 1;
    }



    .order {
        max-width: 260px;
    }

}






@media (min-width: 1000px) {


    .order {
        max-width: 320px;
    }

}



@media (min-width: 1100px) {


    .order {
        max-width: 340px;
    }

}




@media (min-width: 1200px) {


    #connection-status {
        z-index: 20000;
    }


    header {
        padding: 13px 20px;
        font-size: 15px;
    }

    header svg {
        width: 50px;
        padding-right: 5px;
    }


    .order {
        max-width: 350px;
    }

}
