
.orders-history-screen {
    background: #f8fbfd;
    min-height: 100vh;
    width: 100vw;
    font-family: 'Avenir Next', Arial, sans-serif;
}

.orders-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1694a6;
    padding: 5px 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(10, 62, 108, 0.08);
}

.orders-history-title {
    font-size: 1.39rem;
    font-weight: 700;
    letter-spacing: -0.008em;
}

.orders-history-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fbfd;
    margin-top: 9px;
    border-radius: 10px 10px 0 0;
    padding: 10px 0;

    position: relative;
    border-bottom: 2.3px solid #e2eaf1;
    z-index: 2;
}

.orders-tab-btn {
    background: none;
    border: none;
    outline: none;
    color: #8fa6b8;
    font-size: 14px;
    font-weight: 700;
    margin: 0 50px;
    padding-bottom: 11px;
    cursor: pointer;
    border-radius: 0;
    position: relative;
    white-space: nowrap;
}

.orders-tab-btn.active {
    color: #16be7c;
    font-weight: 700;
}

.orders-tab-btn.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 210%;
    height: 3.5px;
    background: #17bf81;
    border-radius: 5px;
    transform: translateX(-50%);
}

.orders-history-list,
.orders-active-list {
    height: calc(100vh - 220px);
    overflow-y: scroll;
    padding: 20px 0 30px 0;
    background: #f8fbfd;
    min-height: 65vh;
}

.order-history-card,
.order-active-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 12px 0 rgba(20, 70, 100, 0.05);
    margin: 0 13px 13px 13px;
    padding: 17px 15px 12px 15px;
    font-family: 'Avenir Next', Arial, sans-serif;
}

.order-history-card-top,
.order-active-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-history-assets,
.order-active-assets {
    display: flex;
    align-items: center;
    gap: 7px;
}

.order-history-asset-icon,
.order-active-asset-icon {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #f3f7fa;
    box-shadow: 0 1.5px 8px rgba(26, 73, 100, 0.09);
    margin-right: -15px;
}

.order-history-type,
.order-active-type {
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 2.5px 5px;
    margin-left: 14px;
    letter-spacing: 0.03em;
    display: inline-block;
}

.order-type-buy {
    background: #e7f6fc;
    color: #14b2e1;
}

.order-type-sell,
.order-type-sell {
    background: #e7f6fc;
    color: rgba(235, 39, 115, 0.75);
}

.order-history-date,
.order-active-date {
    color: #88959f;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.order-history-pair,
.order-active-pair {
    margin: 12px 0 2px 0;
    font-size: 18px;
    font-weight: 500;
    color: #253c54;
}

.order-history-domains,
.order-active-domains {
    color: #97acc0;
    font-size: 12px;
    margin-bottom: 7px;
}

.order-history-values,
.order-active-values {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
}

.order-history-price-row,
.order-active-price-row {
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size: 14px;
    font-weight: 500;
    color: rgba(113, 125, 133, 0.58);
    flex: 0.4;
}

.order-history-price-label,
.order-active-price-label {
    margin-right: 4px;
}

.order-history-amounts,
.order-active-amounts {
    display: flex;
    flex-direction: column;
    justify-content: end;
    font-size: 1.11rem;
    flex: 0.6;
}

.order-history-amount-first,
.order-active-amount-first {
    color: #253c54;
    font-weight: 500;
    text-align: right;
    font-size: 18px;
}

.order-history-amount-second,
.order-active-amount-second {
    color: #79818a;
    font-weight: 500;
    text-align: right;
    font-size: 14px;

}
