p {
    margin: 0;
}

#pact>.content {
    display: flex;
    min-height: 100vh;
    padding: 12px;
    background-color: #333;
    color: white;

    flex-direction: column;
}



.pact-title {
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}

.flex {
    display: flex;
}

.justify-between {

    justify-content: space-between;

}

.tems-center {
    align-items: center;
}

.flex-col {
    flex-direction: column;
}

.coinName {
    padding: 0px;
    padding: 0px;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.icon {
    width: 10px;
    margin-left: 4px;
}

.feeDesc{
    display: none;
    text-align: right;
    color: #FFF;
    margin-top: 10px;
    font-size: 12px;
}
.feeDesc span{
   color:#fdf050;
}
img {
    width: 100%;
}

.themeRed {
    color: #F6465D;
    font-size: 12px;
}

.themeGreen {
    color: rgb(14, 203, 129) !important;
    font-size: 12px;
}

.coinChange1 p {
    margin-top: 1rem;
    color: white;
}

.coinChange1>span>span:nth-child(1) {
    padding-right: 12px;
    color: white;

}

.coinChange2 .item {
    display: flex;
    gap: 30px;
    font-size: 12px;
}

.coinChange2 .item p {
    color: white;
    margin-bottom: .1rem;
}

.tabs,
.tabsTitel {
    height: auto;
    display: flex;
    gap: 30px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;

}

.tabs-active {
    color: #fdf050;
}

.timeTabs {
    padding: 12px 0;
    display: flex;
    gap: 12px;
    cursor: pointer;
}

.timeTabs .icon {
    width: 16px;
}

.timeTabs .active {
    color: #fdf050;
}


.segmented {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.segmented>div {
    display: flex;
    height: 30px;
    width: 300px;
    padding: 3px;
    margin-bottom: 10px;
    box-sizing: border-box;
    margin: 0;
    padding: 2px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    line-height: 1.5714285714285714;
    list-style: none;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    background: #cccccc;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);

}

.segmented>div>div {
    min-height: 28px;
    line-height: 28px;
    padding: 0 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    z-index: 2;
    color: rgba(0, 0, 0, 0.88);
    flex: 1;
    text-align: center;
}

.segmented .block {
    content: "";
    position: absolute;
    z-index: 1;
    width: calc(100% / 2 - 6px);
    height: calc(100% - 6px);
    top: 2px;
    left: 3px;
    transition: all .3s linear;
    transform: translateX(0);
    border-radius: inherit;
    pointer-events: none;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.segmented .block2 {
    content: "";
    position: absolute;
    z-index: 1;
    width: calc(100% / 4 - 6px);
    height: calc(100% - 6px);
    top: 2px;
    left: 3px;
    transition: all .3s linear;
    transform: translateX(0);
    border-radius: inherit;
    pointer-events: none;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}


.table1 {
    width: 100%;
}

.table-header {
    display: flex;
    width: 100%;

}

.table-header th {
    flex: 1;
    text-align: center;
    word-break: break-all;
}


.table-header th:first-child {
    text-align: left;
}

.table-header th:last-child {
    text-align: right;
}

.btns {
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 14px;
    position: fixed;
    z-index: 888;
    bottom: 60px;
    left: 0;
}

.btns button {
    border: none;
    width: 148px;
    height: 36px;
    color: white;
    border-radius: 8px;
}

.Graph {
    display: block;
}

.transaction {
    display: none;

}

.table-body {
    display: flex;
    width: 100%;

}

.table-body td {
    flex: 1;
    text-align: center;
    color: #F6465D;
    font-size: 14px;

}

.tableActive {
    color: #0ECB81;

}


.table-body td:first-child {
    text-align: left;
}

.table-body td:last-child {
    text-align: right;
}



.popup,
.popup2 {
    position: relative;
    color: white;
}

.mask,
.mask2,.baseModalMask {
    display: none;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 9998;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup .selectCoin,
.popup2 .buySell {
    padding: 16px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80vh;
    left: 0;
    background-color: #333;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform: translateY(100%);
    z-index: 9999;
    transition: all .3s linear;
}

.popup2 .buySell {
    min-height: 50vh;
    height: auto;
}

.popup .selectCoin .popupContentBody,
.popup2 .buySell .popupContentBody {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.popup2 .buySell .popupContentBody .bettingList {
    display: grid;
    column-gap: 1vw;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4px;
    padding: 0;
    margin: 0;


}

.popup2 .buySell .popupContentBody .bettingList .betItem {
    text-align: center;
    padding: 16px;
    border: 1px solid #e9e9e9;
    color: #e9e9e9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: bold;
    font-size: 12px;
}

.popup2 .buySell .popupContentBody .bettingList .betItem>span:nth-child(2) {
    font-weight: bold;
    font-size: 18px;
}

.popup2 .buySell .popupContentBody .bettingList .betItem>span {
    word-break: break-all;
}



.popup2 .buySell .popupContentBody .bettingList .active {
    color: #fdf050;
    border-color: #fdf050;
}

.closeIcon {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.searchInput {
    width: 100%;
    height: 36px;
    margin-top: 26px;
    border-radius: 4px;
    padding: 0 8px;
    border: 1px black solid;
    flex-shrink: 0;
}

.searchInput::placeholder {
    font-size: 14px;
}

.coinList {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    padding-top: 15px;
}

.coinList .coinListitem {
    display: grid;
    margin-bottom: 12px;
    padding: 0;
    padding-right: 10px;

    grid-template-columns: repeat(3, minmax(0, 1fr));

}

.coinList .coinListitem>div:nth-child(1) {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
}

.coinList .coinListitem>div:nth-child(1)>div:nth-child(1) {
    width: 16px;
    display: block;
}

.coinList .coinListitem>div:nth-child(2) {
    text-align: center;
}

.coinList .coinListitem>div:nth-child(3) {
    text-align: right;
    font-size: 14px;
}


.popup2 .header {
    margin-top: 30px;
    margin-bottom: 12px;
    background-color: #d8d8d8;
    height: 36px;
    border-radius: 8px;
    position: relative;
}

.buy,
.sell {
    position: absolute;
    height: 100%;
    width: 56%;
    overflow: hidden;
    cursor: pointer;
}

.buy>img,
.sell>img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;

}

.buy>span,
.sell>span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.buy {
    left: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;

}

.sell {
    right: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.buySell .times {
    margin: 20px 0;
}

.buySell .times>span {
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.buySell .accountInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
}

.buySell .accountInfo p {
    color: white;

}

.buySell .accountInfo p>span:last-child {
    color: #fdf050;

}

.buySell .inputAmount {
    display: flex;
    align-items: center;

}

.buySell .inputAmount>div {
    border: 1px white solid;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 36px;
    flex: 1;
    padding: 0 12px;
}

.buySell .inputAmount>div input {
    border: none;
    background-color: transparent;
    flex: 1;
    caret-color: white;
    color: white;
}

.buySell .inputAmount>div input::placeholder {
    font-size: 12px;
    color: white;

}

.buySell .inputAmount>span {
    padding-left: 12px;
    cursor: pointer;
}


.submitBtn {
    margin-top: 20px;
    background-color: #fdf050;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
}




.lever .title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 12px;
    display: block;
}

.lever .leverprice .priceInput {
    display: flex;
    align-items: center;

}

.lever .leverprice .priceInput .ipt,
.lever .inputContainer {
    flex: 1;
    border: 1px white solid;
    border-radius: 4px;
}

.lever .leverprice .priceInput .priceInputBtns {
    display: flex;
    width: auto;
    position: relative;
    padding-left: 12px;
    gap: 6px;
}

.lever .leverprice .priceInput .priceInputBtns .priceBtn {
    padding: 0 12px;
    border-radius: 4px;
    color: white;
    background-color: #d8d8d8;
    min-height: 32px;
    cursor: pointer;
    line-height: 1;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lever .leverprice .priceInput .priceInputBtns .btnActive {
    background: #fdf050;
    color: black;
}

.lever input {
    border: none;
    background-color: transparent;
    flex: 1;
    caret-color: white;
    color: white;
    padding: 0 6px;
    height: 30px;
}

.lever input:focus {
    border: none;
    box-shadow: none;
}

.constract .leverInfo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.constract .leverInfo .leverItem {
    border: 1px white solid;
    width: 20%;
    border-radius: 4px;
    padding: 2px 16px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

.constract .leverInfo .leverItem.leverActive {
    background: #fdf050;
    color: black;
    border-color: #fdf050;
}

.lever .stopLossContainer,
.lever .stopProfitContainer {
    margin-top: 8px;
}

.lever .inputContainer {
    margin-top: 8px;
}

.lever .rateContainer {
    margin-top: 8px;
}

.leverSubmitBtn {
    margin-top: 20px;
    background-color: #fdf050;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
}

.lever .leverNumer {
    margin-top: 8px;
}

.lever .leverNumer .leverNumerContainer {
    display: flex;
    align-items: center;
}

.lever .leverNumer .leverNumerContainer .leverNumerTips {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    padding-left: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

}

.lever .feeTips {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.garyColor {
    color: white !important;
}

.cell-btn {
    cursor: pointer;
    font-size: 12px !important;
    color: #fdf050 !important;

}

.baseModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.baseModal .baseModalMask {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.baseModal .modalContent {
    min-width: 65vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    z-index: 5;
}

.baseModal .modalContent .modalContentBody {
    width: 100%;
    padding: 12px 24px;
}

.baseModal .modalContent .modalContentBody .closeIcon {
    position: absolute;
    right: 12px;
    top: 12px;
}

.baseModal .modalContent .modalContentBody .modalContentBodytitle {
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    text-align: center;
}

.baseModal .modalContent .modalContentBody .modalContentBodytitle span {
    font-size: 16px !important;
}

.baseModal .modalContent .modalContentBody .stopProfitContainer {
    font-size: 14px;
    color: #666;
}

.baseModal .modalContent .modalContentBody .modalContentBodyfooter {
    display: flex;
    justify-content: center;
}

.baseModal .modalContent .modalContentBody .inputContainer {
    flex: 1;
    border: 1px #ddd solid;
    width: 100%;
    border-radius: 4px;

}

.baseModal .modalContent .modalContentBody .modalContentBodyfooter {
    display: flex;
    justify-content: center;
}

.baseModal .modalContent .modalContentBody .inputContainer input {
    border: none;
    background-color: transparent;
    height: 32px;
    flex: 1;
    padding: 0 10px;
    font-size: 12px;
}

.baseModal .modalContent .modalContentBody span {
    font-size: 12px;
}

.cell-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.leverListItem{
    border: 1px #ddd solid;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.leverListItem .leverItem_title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.leverListItem .leverItem_title .leverItem_title_left{
    display: flex;
    align-items: center;
    gap: 6px;
}

.leverListItem .leverItem_title_left_name{
    font-size: 16px;
    font-weight: 600;
}

.leverListItem .leverItem_title_left_lever{
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 6px;
    background-color: #999;
}
.leverListItem .leverItem_title_left_direction{
    font-size: 12px;
}

.leverListItem .leverItem_title_right{
    font-size: 14px;
    cursor: pointer;
    color: #000;
    background-color: #fdf050;
    padding: 2px 6px;
    border-radius: 3px;
  
}

.leverListItem .leverItem_content{
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.leverListItem .leverItem_content>span:nth-last-child(2){
    color: #ddd;
}

.leverListItem .leverItem_stop_btn{
    background-color: #fdf050;
    min-height: 36px;
    width: 100%;
    border-radius: 8px;
    color: #000;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    margin-top: 16px;
  
}