:root {
    --widget-color: #101010;
    --green: #00D000;
    --red: #D00000;
    --blue: #34BBB9;
}
.horizontal{
    display: flex;
    height: 100vh;
}
.horizontal .content{
    overflow-y: scroll;
    width: 100%;
}
.widget{
    padding: 25px;
    margin: 12.5px;
    background: var(--widget-color);
}
.widget h3{
    font-size: 20px;
    font-weight: 500;
}

/* nav */

nav{
    padding: 25px;
    background: var(--widget-color);
    height: calc(100% - 50px);
}
nav a .logo{
    height: 30px;
}
nav a .logosmall{
    display: none;
}
nav .items{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}
nav .items a{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    filter: brightness(50%);
}
nav .items a:hover{
    filter: brightness(100%);
}
nav .items a.active{
    filter: brightness(100%);
}
nav .items a img{
    width: 30px;
}

.secnav{
    display: flex;
}
.secnav .items{
    height: fit-content;
}
.secnav .items div{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}
.secnav .items div a{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    filter: brightness(50%);
}
.secnav .items div a:hover{
    filter: brightness(100%);
}
.secnav .items div a.active{
    filter: brightness(100%);
}
.secnav .items div a img{
    width: 30px;
    height: 30px;
}

@media (max-width: 1000px) {
    nav .items a span{
        display: none;
    }
    nav a .logo{
        display: none;
    }
    nav a .logosmall{
        display: block;
    }
    nav .items a img{
        padding: 5px;
    }
    
    .secnav{
        flex-direction: column;
    }
    .secnav .items div{
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.secnav form label{
    display: flex;
    flex-direction: column;
    padding: 12.5px 0;
    gap: 5px;
    font-size: 20px;
    font-weight: 400;
}
.secnav form .title{
    display: flex;
}
.secnav form .title h3{
    margin-right: auto;
}
.secnav form .title button{
    margin-left: 25px;
    margin: -6px 0;
}

.table{
    overflow-x: scroll;
    margin: 0 -25px;
}
.table .header{
    display: flex;
    margin: 25px 0 10px;
    padding: 0 25px;
}
.table .header h4{
    font-size: 16px;
    font-weight: 300;
    color: #808080;
}
.table a{
    display: flex;
    padding: 10px 25px;
    font-size: 20px;
    font-weight: 400;
    border-bottom: solid 1px #505050;
    min-width: fit-content;
}
.table a:last-of-type{
    border-bottom: none;
}
.table a:hover{
    background: #505050;
}

.table a span.pending{
    color: var(--blue);
}
.table a span.cancelled{
    color: var(--red);
}
.table a span.expired{
    color: var(--red);
}
.table a span.completed{
    color: var(--green);
}
.table a span.exchange{
    color: var(--blue);
}
.table a span.revenue{
    color: var(--green);
}
.table a span.deposit{
    color: var(--green);
}
.table a span.withdrawal{
    color: var(--red);
}
.table .uid{
    min-width: 70px;
    width: 70px;
    margin-right: 30px;
}
.table a span.uid{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table .amount{
    min-width: 250px;
}
.table a span.amount{
    text-transform: uppercase;
}
.table .status{
    min-width: 150px;
}
.table a span.status{
    text-transform: uppercase;
    font-weight: 600;
}
.table .currency{
    min-width: 200px;
}
.table a span.currency{
    text-transform: uppercase;
    font-weight: 600;
}
.table .time{
    min-width: 150px;
}
.table .full{
    width: 100%;
}

/* overview */

/* -statistics- */

.overview .statistics{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}
.overview .statistics div{
    width: calc(1/3 * 100% - 50px);
    min-width: 200px;
}
.overview .statistics div span{
    font-size: 50px;
    font-weight: 500;
    text-transform: uppercase;
}
.overview .statistics div p{
    font-size: 16px;
    font-weight: 500;
}
.overview .statistics div p.positive{
    color: var(--green);
}
.overview .statistics div p.negative{
    color: var(--red);
}

@media (max-width: 1000px) {
    .overview .statistics div span{
        font-size: 30px;
    }
}

/* welcome dialog */

.overview .welcome h1{
    font-size: 50px;
    font-weight: 500;
}
.overview .welcome .links{
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 400px;
}

/* -latest transactions- */

.overview .trno{
    display: flex;
    width: 100%;
}

.overview .trno .latesttransactions{
    width: 100%;
    overflow: hidden;
}

/* -notifications- */

.overview .trno .notifications{
    display: none;
}




/* transactions */

.transactions .filters{
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

/* transaction */

.transaction{
    display: flex;
}
.transaction .general, .transaction .payment{
    width: calc(50% - 75px);
}
.transaction .general div, .transaction .payment div{
    margin: 0 -25px;
    display: flex;
    padding: 10px 25px;
    font-size: 20px;
    font-weight: 400;
    border-bottom: solid 1px #505050;
    flex-wrap: wrap;
    overflow: hidden;
}
.transaction .general div h4, .transaction .payment div h4{
    font-weight: 300;
    margin-right: 25px;
    white-space: nowrap;
}
.transaction .general div span, .transaction .payment div span{
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
}
.transaction .general div:last-of-type, .transaction .payment div:last-of-type{
    border-bottom: none;
}

.transaction .general .buttons{
    display: flex;
    gap: 25px;
    margin-top: 25px;
}
.transaction .general .buttons button{
    
    width: 100%;
}

.transaction .upper{
    text-transform: uppercase;
}


@media (max-width: 1500px) {
    .transaction{
        flex-direction: column;
    }
    .transaction .general, .transaction .payment{
        width: calc(100% - 75px);
    }
}
@media (max-width: 1000px) {
    .transaction .general .buttons{
        flex-direction: column;
    }
}


/* funds */

/* -balance- */

.funds form .balance .total span{
    font-size: 50px;
    font-weight: 500;
    text-transform: uppercase;
}
.funds form .balance .individual{
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.funds form .balance .individual div{
    min-width: -616px;
}
.funds form .balance .individual div main{
    display: flex;
    align-items: center;
}
.funds form .balance .individual div main img{
    height: 40px;
}
.funds form .balance .individual div main h3{
    margin-left: 10px;
    text-transform: uppercase;
}
.funds form .balance .individual div main p{
    margin-left: auto;
}
.funds form .balance .individual div span{
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
}
.funds form .balance .individual div p{
    font-size: 20px;
    font-weight: 500;
    color: #808080;
    text-transform: uppercase;
}

/* -deposit-withdrawal- */
.wdhistory{
    margin-top: 50px;
}
.deposit{
    display: flex;
    width: calc(100% - 75px);
}
.deposit form{
    width: 50%!important;;
}
.deposit iframe{
    width: 50%;
    min-height: 800px;
    border: none;
    padding: 0;
}

/* settings */


.secnav form{
    width: calc(100% - 75px);
    flex-direction: column;
    display: flex;
}
.secnav form input{
    max-width: 350px;
}
.secnav form select{
    max-width: 400px;
}
.secnav form > button{
    max-width: 400px;
    width: 100%;
    margin-top: 25px;
}
.secnav form > a{
    max-width: 300px;
    margin-top: 25px;
}
.secnav form .cryptoselection{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 25px;
}
.secnav form .cryptoselection input{
    display: none;
}
.secnav form .cryptoselection label{
    height: 50px;
    border-radius: 50px;
    border: solid 2px #fff;
    padding: 5px 25px 5px 5px;
    gap: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-direction: row;
}
.secnav form .cryptoselection label div{
    width: 50px;
    display: flex;
    justify-content: center;
}
.secnav form .cryptoselection label div img{
    height: 50px;
    border-radius: 100px;
}
.secnav form .cryptoselection label span{
    color: #808080;
    text-transform: uppercase;
    font-weight: 800;
}
.secnav form .cryptoselection input:checked + label{
    background: white;
    color: black;
}
.secnav form .paypal_account{
    display: flex;
    margin-bottom: 5px;
}
.secnav form .paypal_account > :nth-child(1){
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.secnav form .paypal_account > :nth-child(3){
    border-left: none;
    border-radius: 0;
    padding-left: 15px;
    padding-right: 15px;
}
.secnav form .paypal_account > :nth-child(5){
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding-left: 15px;
    padding-right: 15px;
}
.secnav form .paypal_account > :nth-child(6) {
    border-right: none;
    border-radius: 0;
}
.secnav form .paypal_account > :nth-child(7):not(.add_account) {
    border-right: none;
    border-radius: 0;
}
.secnav form .paypal_account > :nth-child(9){
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    padding-left: 15px;
    padding-right: 15px;
}
.secnav form .paypal_account input[type="checkbox"] {
    display: none;
}
.secnav form .paypal_account input[type="checkbox"]:checked + label {
    background: white;
    color: black;
}
.secnav form .paypal_account label{
    font-weight: 500;
    cursor: pointer;
}
.secnav form .paypal_account select{
    font-weight: 500;
}
.secnav form .paypal_account .add_account{
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    font-weight: 500;
}
.secnav form .paypal_account .add_account:hover{
    background: white;
    color: black;
}

/* rewards */
.rewards h2{
    font-size: 40px;
}
.rewards .tasks > div{
    margin-top: 25px;
    width: 100;
    border: solid 2px white;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 25px;
    position: relative;
    overflow: hidden;
    align-items: center;
}
.rewards .tasks > div .claim{
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: white;
    border: solid 2px white;
    padding: 8px 25px;
    text-align: center;
    border-top-left-radius: 10px;
    color: black;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.rewards .tasks > div > span{
    position: absolute;
    top: -2px;
    right: -2px;
    border: solid 2px white;
    padding: 8px 25px;
    text-align: center;
    border-bottom-left-radius: 10px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.rewards .tasks > div button:hover{
    background: none;
    color: white;
}
.rewards .tasks > div div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 25px;
}
.rewards .tasks > div div:nth-child(1) img{
    height: 70px;
}
.rewards .tasks > div div:nth-child(1) h3{
    font-size: 25px;
    margin-top: 10px;
}
.rewards .tasks > div div:nth-child(2){
    padding-left: 25px;
    border-left: solid 2px white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rewards .tasks > div div:nth-child(2) a{
    width: fit-content;
}
@media (max-width: 1500px) {
    .rewards .tasks > div{
        padding: 50px 25px;
    }
}
@media (max-width: 800px) {
    .rewards .tasks > div{
        flex-direction: column;
        padding: 75px 10px;
    }
    .rewards .tasks > div div:nth-child(2){
        border-left: none;
        padding-left: 0;
        align-items: center;
    }
}