.orderbook-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, #05070c 0%, #0b0f19 50%, #05070c 100%);
    color: #848e9c;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    box-sizing: border-box;
    overflow: hidden;
}

.ob-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background-color: #1e232f;
    border-bottom: 1px solid #2b3139;
    font-weight: 600;
    flex-shrink: 0;
}

.ob-title { color: #eaecef; font-size: 12px; }
.ob-spread { font-size: 10px; color: #848e9c; }

.ob-table-header {
    display: flex;
    padding: 5px 10px;
    font-weight: 600;
    border-bottom: 1px solid #2b3139;
    background-color: #161a25;
    color: #848e9c;
    flex-shrink: 0;
}

.ob-asks, .ob-bids {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.ob-asks {
    flex-direction: column-reverse; /* High price upar rakhne ke liye */
}

.ob-row {
    display: flex;
    padding: 2px 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.ob-row:hover { background-color: #2b3139; }

.ob-row::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    opacity: 0.12;
}
.ob-row.ask-row::before { background-color: #f6465d; }
.ob-row.bid-row::before { background-color: #0ecb81; }

.col-price { flex: 1; text-align: left; font-weight: 600; }
.col-size { flex: 1; text-align: right; color: #eaecef; }
.col-total { flex: 1; text-align: right; color: #848e9c; }

.text-red { color: #f6465d !important; }
.text-green { color: #0ecb81 !important; }

.ob-current-price-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background-color: #1e232f;
    font-size: 14px;
    font-weight: 700;
    border-top: 1px solid #2b3139;
    border-bottom: 1px solid #2b3139;
    flex-shrink: 0;
}

.ob-price-up { color: #0ecb81; }
.ob-price-down { color: #f6465d; }

.loading-text {
    padding: 8px;
    text-align: center;
    color: #848e9c;
    font-size: 11px;
}

/* Scrollbar */
.ob-asks::-webkit-scrollbar, .ob-bids::-webkit-scrollbar { width: 3px; }
.ob-asks::-webkit-scrollbar-thumb, .ob-bids::-webkit-scrollbar-thumb { background: #2b3139; border-radius: 2px; }