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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    /* height: 100vh; */
    width: 100%;
    background: rgb(255, 245, 209);
    background: linear-gradient(177deg, rgb(255, 245, 209) 20.5%, rgba(255, 221, 98, 0.804) 20.5%);
}

button{
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    margin-top: 80px;
    background: gainsboro;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header{
    height: 80px;
    /* border: 1px solid #000; */
    box-shadow: 0px 5px 5px rgba(106, 106, 106, 0.107);
    background-color: #ffffff;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 999;
    position: sticky;
}

.lheader{
    padding-top: 0.9rem;
    padding-left: 1px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.hamburger{
    cursor: pointer;
    height: 35px;
    width: 35px;
}

ul{
    text-decoration: none;
    list-style: none;
}
ul div{
    height: 48px;
    width: 100%;
    text-align: left;
    /* border: 1px solid #000; */
    border-radius: 12px;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

li{
    color:#000;
}
a{
    font-weight: 700;
    font-size: 14px;
    line-height: 48px;
    color:#1f2937;
    text-decoration: none;
}

.sticky-menu{
    transform: translateX(-100%);
    padding-top: 104px;
    padding-left: 1rem;
    padding-right: 1rem;
    top: 5rem;
    width: 235px;
    height: 100dvh;
    background-color: #fff;
    box-shadow: 0px 5px 5px rgba(106, 106, 106, 0.107);
    position: fixed;
    left: 0px;
    z-index: 998;
    transition: transform 0.3s ease;
    margin-top: -80px;
    /* padding-top: 250px; */
    /* height: 200px; */
}

.sticky-menu .ico:hover{
    cursor: pointer;
    background-color: #589eff1f;
}

.sticky-menu.active {
    transform: translateX(0);
}

.ico{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0.5rem;
    border-radius: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.menusocial{
    text-align: center;
    border-top: 1px solid #00000015
}

.menusocial:hover{
    background-color: white;
}

.hamburger i {
    font-size: 16px; /* or whatever size you desire */
    color: #000000;
    transform: scale(1.2,1);
}


.logo{
    height: 35px;
    width: 35px;
}


/*rheader*/
.rheader{
    width: 20.5%;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
}

.net{
    height: 45px;
    width: 120px;
    border-radius: 10px;
    border: 1px solid #000;
}

.content{
    height: 45px;
    width: 155px;
    border-radius: 12px;
    background-color: #000;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
}


.sec6{
    margin-top: 8rem;
    background-color: #0e0e0c;
    width: 100%;
    height: 18.3rem;
    color: #fff;
    /* margin-left: -109px; */
    padding-left: 2rem;
    padding-right: 2rem;

}

.sec6content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.sec6-1{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 2rem;
    height: 150px;
    margin-bottom: 3rem;
}
.feature ul li a{
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
}

.feature ul li{
    margin-bottom: 10px;
}

.feature h4{
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
}

.sec6-2{
    text-align: center;
    background-color: #272725;
    border-radius: 1rem;
    height: 55px;
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
}

.social{
    padding-top: 4px;
    line-height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social a {
    height: 37px;
}

.social svg{
    margin-right: 1.5rem;   
}
.social svg:hover{
    cursor: pointer;
    
}
.copyright{
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 55px;
}

.outer{
    padding-left: 0rem;
    transition: 0.3s ease;
}

.heading{
    position: absolute;
    bottom: 530px;
    left: 152px;
    transition: all 0.3s ease;
}

.heading h1{
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    color: #000;
    margin-bottom: 0.8rem;
}

.heading p{
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #444;
}

.swapcard{
    bottom: 0;
    top: 300px;
    left: 90px;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
    transition: all 0.3s ease;

}

.leftcard{
    border-radius: 2rem;
    background-color: #fff;
    width: 31%;
    height: fit-content;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.066);
}

.leftcard-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.leftcard-top-l{
    width: 70%;
}

.leftcard-top-r{
    padding-top: 1rem;
    width: 18%;
    display: flex;
    justify-content: space-between;
}

.leftcard-top-l h2{
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 0.5rem;
}

.leftcard-top-l p{
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0.5rem;
}

.leftcard-mid{
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.blockname img{
    width: 23px;
    height: 23px;
    margin-right: 0.5rem;
}

.blockname{
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-bottom: 0.5rem;
}

.blockname h3{
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
}

.blockbox h3{
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
}
.blockbox p{
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 90px;
}

.blockbox{
    padding: 1rem;
    border-radius: 12px;
    background-color: #efefef;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.randomicon{
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.leftcard button{
    height: 45px;
    width: 100%;
    font-weight: 700;
    font-size:14px;
    background-color: #000;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    margin-top: 1rem;

}

.slippage{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.slippage p{
    font-weight: 400;
    font-size:14px;
    line-height: 21px;
    margin-right: 0.5rem;
}

.dash{
    transition: all 0.3s ease;
}

.slippage h6{
    font-weight: 700;
    font-size:14px;
    line-height: 20px;
}

.ibutton{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.rightcard2 img{
    width: 23px;
    height: 23px;
}

.rightcards{
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 0rem;
    width: 67%;
}

.rightcard1{
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 1.5rem;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.066);
    width: 98%;
}

.voliq{
    margin-right: 350px;
}

.voliq p{
    width: 200%;
    font-weight: 400;
    font-size:14px;
    line-height: 20px;
    color: #444;
    margin-bottom: 0.5rem;
}

.voliq h2{
    font-weight: 700;
    font-size:20px;
    line-height: 28px;
    color: #0e0e0e;
}

.rightcard2{
    padding: 2.3rem;
    background-color: #fff;
    border-radius: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 1.5rem;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.066);
    width: 98%;
}

svg{
    cursor: pointer;
}

.dropdown {
    width: 100%;
    position: relative;
    display: inline-block;
    
}

.dropdown-content {
    background-color: #fff3d9;
    width: 100%;
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    height: 100px;
}

.dropdown-content a {
    color: black;
    padding-left: 0.5rem;
    text-decoration: none;
    display: block;
    background-color: #444;
    border-radius: 10px;
    height: 40px;
    margin-bottom: 1rem;
}

.dropdown-content a:hover {
    background-color: #b83535;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.x {
    position: relative;
    display: inline-block;
}

.x-menu {
    display: none; /* Initially hidden */
    background-color: #f9f9f9;
    width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.052);
    border-radius: 0.5rem;
    margin-left: 4px;
    height: 95px;
}

.x-menu a {
    color: black;
    padding: 0;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 0.5rem;
}
.x-menu a:hover{
    background-color: #589eff39;
}
















/* =====================================================
   LIQUIDITY PAGE
===================================================== */

.liquidity-page{
    min-height:100vh;
}

.liquidity-container{
    width:100%;
    max-width:1400px;
    margin:auto;
}

.top-section{
    display:flex;
    gap:25px;
    margin-bottom:35px;
}

.tvl-card{
    flex:1;
    background:#ffac00;
    border-radius:22px;
    color:#fff;
    padding:35px;
    text-align:center;
}

.tvl-card .title{
    font-size:15px;
    opacity:.9;
}

.tvl-card h2{
    margin-top:18px;
    font-size:34px;
    font-weight:700;
}

.actions-area{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.search-box{
    background:#161616;
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    display:flex;
    align-items:center;
    padding:0 20px;
    height:68px;
}

.search-box svg{
    flex-shrink:0;
}

.search-box input{
    width:100%;
    margin-left:15px;
    background:none;
    border:none;
    outline:none;
    color:#fff;
    font-size:16px;
}

.search-box input::placeholder{
    color:#777;
}

.top-buttons{
    display:flex;
    gap:18px;
}

.action-btn{
    border:none;
    cursor:pointer;
    border-radius:16px;
    background:#20384d;
    color:#fff;
    font-size:15px;
    font-weight:600;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition:.25s;
}

.action-btn:hover{
    transform:translateY(-2px);
}

.add-btn{
    flex:1;
}

.filter-btn{
    width:72px;
}


/* ======================= */

.liquidity-table{

    background:rgba(18,18,18,.88);

    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

}

.table-header{

    display:grid;

    grid-template-columns:
    2.4fr
    1.3fr
    1.3fr
    .8fr
    1.3fr
    .9fr;

    padding:22px 30px;

    font-weight:600;

    color:#bdbdbd;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.table-row{

    display:grid;

    grid-template-columns:
    2.4fr
    1.3fr
    1.3fr
    .8fr
    1.3fr
    .9fr;

    align-items:center;

    padding:24px 30px;

    border-bottom:1px solid rgba(255,255,255,.05);

}

.table-row:last-child{

    border-bottom:none;

}

.pair{

    display:flex;

    align-items:center;

    gap:18px;

}

.token-icons{

    position:relative;

    width:60px;

    height:40px;

}

.token-icons img{

    width:38px;

    height:38px;

    border-radius:50%;

    border:3px solid #111;

    object-fit:cover;

    position:absolute;

}

.token-icons img:first-child{

    left:0;

}

.token-icons img:last-child{

    left:22px;

}

.pair-name{

    color:#fff;

    font-weight:600;

    font-size:15px;

}

.pool-type{

    color:#888;

    font-size:13px;

    margin-top:4px;

}

.amount{

    color:#fff;

    font-size:15px;

}

.apr{

    color:#6de36d;

    font-weight:600;

}

.manage-btn{

    background:#20384d;

    color:#fff;

    border:none;

    border-radius:999px;

    padding:10px 20px;

    cursor:pointer;

    transition:.25s;

}

.manage-btn:hover{

    background:#2b4f6c;

}


/* ======================= */

.table-footer{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:35px;

    padding:22px 30px;

}

.rows{

    display:flex;

    align-items:center;

    gap:12px;

    color:#aaa;

}

.rows select{

    background:#222;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:6px 12px;

}

#pageInfo{

    color:#aaa;

}

.pager{

    display:flex;

    gap:10px;

}

.pager button{

    width:36px;

    height:36px;

    border:none;

    border-radius:8px;

    background:#222;

    color:#fff;

    cursor:pointer;

}

.pager button:hover{

    background:#333;

}

/* ======================= */

@media(max-width:1100px){

.top-section{

flex-direction:column;

}

.liquidity-table{

overflow-x:auto;

}

.table-header,

.table-row{

min-width:1050px;

}

}

@media(max-width:700px){

.liquidity-page{

padding:90px 15px 60px;

}

.top-buttons{

flex-direction:column;

}

.filter-btn{

width:100%;

}

}

.x-toggle {
    display: inline-block;
    width: 82%;
}
.x-link {
    display: inline-block;
    width: 82%;
}