@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Salsa&display=swap');

:root{
    --white-color: #fff;
    --black-color: #101010;
    --bg-light: #F2F4FA;
    --bg-gray: #dddddd;
    --pink-color: #FF006B;
    --bg-dark: #000;
    --light-hover-color: #f93184;
    --shadow: 0 5px 15px rgba(0,0,0,0.15);
    --base-dark: #3e4451;
}

*,html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Inter', sans-serif;
    color: var(--white-color);
    background: #fff;
    font-size: 0.9rem;
    line-height: normal;
    overflow-x: hidden;
    font-weight: 300;
}
a{
    text-decoration: none;
    color: inherit;
}
small{
    display: block;
    font-weight: 500;
}
section{
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.heading{
    font-family: var(--heading-font);
}
.text-theme{
    color: var(--pink-color);
}
.bg2{
    background: var(--bg-light);
}
.title{
    /* font-weight: 700; */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
}
.btnSubmit {
    background: linear-gradient(90deg, rgb(0, 141, 210) 0%, rgb(0, 153, 51) 100%);
    color: var(--white-color);
    border: 0;
    padding: 12px 15px;
    outline: none;
    border-radius: 0.25rem;
    width: 100%;
    display: inline-block;
    transition: 0.2s;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.btnSubmit:hover {
    background: linear-gradient(90deg, rgb(0, 153, 51) 0%, rgb(0, 141, 210) 100%);
    color: var(--white-color);
}

.sticky {
    background: var(--white-color);
    box-shadow: var(--shadow);
    position: fixed !important;
    width: 100%;
    top: 0;
    z-index: 999;
    padding: 0.5rem 0;
}
.sticky .navbar-brand img {
    width: 50px;
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-size: 1rem;
    background: #d9e2ed;
}


/* Login Main */
/* ================================= */
.loginMain{
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
}
.signMain{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.signMain input[type=password] {
    background: transparent;
    color: var(--black-color);
    outline: none;
    min-height: 50px;
    border: 1px solid #888;
    padding: 0 1rem;
    width: 100%;
    outline: none;
}

.signMain input[type=text], .signMain input[type=number], .signMain input[type=email], .signMain select{
    background: transparent;
    color: var(--black-color);
    min-height: 50px;
    border: 1px solid #888;
    width: 100%;
    padding: 0 1rem;
    outline: none;
}
.signMain input:focus{
    border-color: #f93184;
}
.signMain input[type=text]::placeholder,
.signMain input[type=text]::-moz-placeholder,
.signMain input[type=number]::placeholder,
.signMain input[type=number]::-moz-placeholder,
.signMain input[type=email]::placeholder,
.signMain input[type=email]::-moz-placeholder{
    color: #101010 !important;
    opacity:1
}

.signMain .form-control, .signMain .form-select{
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
}

.bg-primary-gradient {
    background-image: linear-gradient(45deg, #1f5068, #153358) !important;
}
.bg-danger-gradient {
    background-image: linear-gradient(45deg, #f93a5a, #f7778c) !important;
}
.bg-success-gradient {
    background-image: linear-gradient(to left, #48d6a8 0%, #029666 100%) !important;
}
.bg-warning-gradient {
    background-image: linear-gradient(to left, #efa65f, #f76a2d) !important;
}

.bg-pattern{
    background: url(../images/bg-pattern.svg) right no-repeat !important;
    background-size: cover !important;
}

.stakingBg{
    position: absolute;
    bottom: 0;
    right: 5px;
}
.stakingBg img{
    width:220px;
}

.card{
    background: #f4f8ff;
}

/* dashboard */
/* ========================== */
main{
    width: 100%;
    margin-top: 60px;
    height:calc(100vh - 125px);
    /* background: #8b7a9c; */
    overflow: auto;
}
.bg-gradient{
    background: linear-gradient(90deg, #2049a9 0%, #7e05a5 100%) !important;
}
.form-control{
    background: #ddd;
    border: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--black-color);
    min-height: 40px;
}
.form-control::placeholder{
    color: var(--black-color);
}
.form-select{
    border: 1px solid #3e4451;
    text-align: center;
    font-size: 0.75rem;
    color: var(--black-color);
    min-height: 40px;
}
.form-control:focus{
    background: #e0e0e0;
    box-shadow: none;
    color: var(--black-color);
}
.form-select:focus{
    box-shadow: none;
}
.or {
    -webkit-box-align: center !important;
    display: flex !important;
    align-items: center !important;
    margin: 16px 0px !important;
}

.or::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(90deg, #ef74a6 0%, #a197ef 100%) !important;
    margin-right: 16px !important;
}

.or::after {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(90deg, #ef74a6 0%, #a197ef 100%) !important;
    margin-left: 16px !important;
}

.avatorPanel{
    display: flex;
    align-items: center;
    text-align: center;
    height: 150px;
    overflow: hidden;
    justify-content: center;
    border-radius: 0.5rem 0 0 0.5rem;
}
/*.avatorPanel img{*/
/*    width: auto;*/
/*    height: 100%;*/
/*}*/

/* footer */
/* ================= */

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 15px rgb(0 0 0 / 10%);
    z-index: 99;
}
footer ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px 0;
}
footer ul li {
    display: block;
    flex: 1;
}
footer ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 1px;
    color: #071a2c;
    opacity: 0.5;
}
footer ul li a.active{
    opacity: 1;
}
footer ul li a i{
    font-size: 1rem;
}


.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.modal-backdrop {
    display: none;
}

.menumain .modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 250px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.menumain .modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.menumain .modal.right .modal-body {
    padding: 50px 25px 25px;
    background-color: rgb(25 29 44 / 95%);
    /* display: flex;
    align-items: center; */
}

.menumain .modal.right .modal-body .closeBtn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    color: #fff;
}

.menumain .modal.right.fade .modal-dialog {
    right: -250px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.menumain .modal.right.fade.show .modal-dialog {
    right: 0;
}

.menumain .navbar-nav li {
    display: block;
}

.menumain .navbar-nav li a {
    color: #fff;
    position: relative;
    font-size: 1rem;
    display: block;
    font-weight: 400;
    padding: 0.5rem 0;
}
.menumain .navbar-nav li a i{
    font-size: 1rem;
    margin-right: 0.5rem;
}
.menumain .navbar-nav li a::before {
    content: "";
    display: block;
    opacity: 0;
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ffb300;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.menumain .navbar-nav li a:hover::before {
    opacity: 1;
    width: 100%;
}

/*======================*/
/*Category Menu*/
/*====================================*/
.categoryMenu {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.categoryMenu a {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: calc(20% - 1rem);
    position: relative;
    overflow: hidden;
    margin: 0 0.6rem;
}
.categoryMenu a:first-child{
    margin-left: 0;
}
.categoryMenu a:last-child{
    margin-right: 0;
}
.categoryMenu a img {
    height: 80px;
    box-shadow: 0 5px 15px rgba(255,255,255,0.15); 
    padding:1rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}
.categoryMenu a span {
    display: block;
    margin: 10px 0 0;
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 500;
}

/*=======================*/
/*Trading View*/
/*====================================*/
.tradingMain{
    padding: 0.25rem 0.5rem;
    margin: 0.5rem 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.tradingMain:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: #E0E0E0;
}
.tradingMain:last-child:before{
    display: none;
}
.tradingMain:hover{
    background: #e9ecf5;
    cursor: pointer;
    border-radius: 0.5rem;
    color: #101010;
}
.tradingMain .leftPnl{
    display: flex;
    align-items: center;
    color: #fff;
}
.tradingMain .leftPnl .ico{
    width: 44px;
    height: 44px;
    border-radius: 100%;
    border: 1px solid #9fc6d5;
    line-height: 42px;
    text-align: center;
}
.tradingMain .leftPnl .ico svg{
    width: 24px;
}
.tradingMain .leftPnl h5{
    margin-bottom: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--black-color);
    display: flex;
    flex-direction: column;
}
.tradingMain .leftPnl h5 span{
    background: rgba(255,255,255,0.1);
    /*padding: 0.25rem 0;*/
    color: var(--black-color);
    font-size: 0.6rem;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
    font-weight: 300;
}
.tradingMain .rightPnl{
    display: flex;
    align-items: center;
    color: #fff;
    text-align: right;
}
.tradingMain .rightPnl h5{
    margin: 0;
    font-size: 1rem;
    color: var(--black-color);
}
.tradingMain .rightPnl h6{
    font-size: 0.9rem;
    margin: 0;
}
.topMenu{
    display: flex;
}
.topMenu a{
    background: #525252;
    padding: 0.5rem 1rem;
    color: #fff;
    position: relative;
    flex: 1;
    margin: 0.15rem;
    border-radius: 0.25rem;
    text-align: center;
}
.topMenu a:hover, .topMenu a.active{
    background: #0d7ebd;
}


.tranMain{
    padding: 10px;
    margin:  0;
    position: relative;
    display: flex;
    justify-content: space-between;
    /* background: #ecedf0; */
}
/* .tranMain:nth-child(odd){
    background: var(--bg-light);
} */
.tranMain:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--bg-gray);
}
.tranMain:last-child:before{
    display: none;
}
.tranMain:hover{
    background: var(--bg-light);
    cursor: pointer;
}
.tranMain .leftPnl{
    display: flex;
    flex-direction: column;
    color: var(--black-color);
}
.tranMain .leftPnl .ico{
    width: 44px;
    height: 44px;
    border-radius: 100%;
    border: 1px solid var(--bg-gray);
    line-height: 42px;
    text-align: center;
}
.tranMain .leftPnl .ico svg{
    width: 24px;
}
.tranMain .leftPnl h5{
    margin-bottom: 0;
    font-size: 0.85rem;
    /*display: flex;*/
    /*align-items: end;*/
}
.tranMain .leftPnl h5 span{
    border:1px dashed rgba(0,0,0,0.5);
    padding: 0.15rem 0.5rem;
    color: var(--black-color);
    font-size: 1rem;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
    font-weight: 600;
    text-transform: capitalize;
}
.tranMain .rightPnl{
    display: flex;
    flex-direction: column;
    color: var(--black-color);
    text-align: right;
}
.tranMain .rightPnl h5{
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: end;
}
.tranMain .rightPnl del{
    font-size: 0.8rem;
    margin: 0;
}
.tranMain .rightPnl small{
    font-size: 0.7rem;
    margin: 0;
}


/*====================================*/
/*RESPONSIVE MEDIA QUERY*/
/*==================================================================*/
@media(max-width:800px){
    .stakingBg img{
        width:150px;
    }
    .categoryMenu a {
        white-space: nowrap;
        width: calc(20% - 0.5rem);
        margin: 0.25rem;
        /*padding: 0.5rem 0.25rem;*/
    }
    .categoryMenu a img {
        height: 60px;
    }
    .categoryMenu a:hover img{
        border-color: #008dd2;
    }
    .categoryMenu a span {
        display: block;
        margin: 5px 0 0;
        color: var(--black-color);
        font-size: 0.65rem;
        font-weight: 500;
    }
}