@charset "UTF-8";

#orderbook {
	background: #20232b;
	border: 1px solid #444;
	border-radius: 10px;
	padding: 15px;
	font-family: 'Courier New', monospace;
	color: #EAECEF;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	width: auto;

}

#orderbook ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	max-height: none;
	overflow-y: hidden;
	scrollbar-width: thin; /* ✅ Firefox */
}

#orderbook ul::-webkit-scrollbar {
	display: none; /* ✅ Chrome, Edge */
}

#orderbook li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0px;
	margin-bottom: 4px;
	font-size: 0.9rem;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.03);
	transition: background 0.2s ease;
	width: 100%;
}

#orderbook li span {
	flex: 1;
/*
	max-height: none;
	overflow-y: visible;
}

#orderbook ul::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

#orderbook li {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 6px 0px;
        margin-bottom: 4px;
        font-size: 0.9rem;
        border-bottom: 1px solid #333;
        background-color: rgba(255, 255, 255, 0.03);
        transition: background 0.2s ease;
        width: 100%;
}
#orderbook li:last-child {
        margin-bottom: 0;
        border-bottom: none;
}

#orderbook li span {
	display: block;
*/
}

#mid-price {
  display: flex;
  justify-content: space-between; /* ✅ 좌우 정렬 */
  align-items: center;
  padding: 0 10px;
}

#orderbook li span:first-child {
	text-align: left;
}

#orderbook li span:last-child {
	text-align: right;
}

#asks li {
	color: #ff4d4f; /* ✅  빨강 */
}

#bids li {
	color: #00b386; /* ✅  초록 */
}

#orderbook li:hover {
	background-color: rgba(255, 255, 255, 0.08);
}

#btc-price {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	margin: 10px 0;
	padding: 10px;
	background-color: #2B3139;
	color: #EAECEF;
	border: 1px solid #444;
	border-radius: 8px;
}

.order-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
}

#mid-price, #trade-volume {
	color: #EAECEF;
	margin: 0.5rem 0;
	font-weight: bold;
}

.price-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 1rem 0;
}