.crypto-dashboard {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #f8f8f8;

	.resize-handle-h {
		height: 5px;
		background: #eee;
		cursor: row-resize;
		flex-shrink: 0;
		transition: background 0.15s;
		position: relative;

		&::after {
			content: '';
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			width: 30px;
			height: 3px;
			border-top: 1px solid #ccc;
			border-bottom: 1px solid #ccc;
		}

		&:hover {
			background: #d0d0d0;
		}
	}

	.dashboard-bottom {
		display: flex;
		flex: 1;
		min-height: 0;
		border-top: 1px solid #eee;

		.dashboard-orderbook {
			overflow: hidden;
			min-width: 0;
		}

		.dashboard-trades {
			overflow: hidden;
			min-width: 0;
		}

		.resize-handle-v {
			width: 5px;
			background: #eee;
			cursor: col-resize;
			flex-shrink: 0;
			transition: background 0.15s;
			position: relative;

			&::after {
				content: '';
				position: absolute;
				left: 50%;
				top: 50%;
				transform: translate(-50%, -50%);
				width: 3px;
				height: 30px;
				border-left: 1px solid #ccc;
				border-right: 1px solid #ccc;
			}

			&:hover {
				background: #d0d0d0;
			}
		}
	}
}

@media (max-width: 768px) {
	.crypto-dashboard {
		.dashboard-bottom {
			flex-direction: column;

			.dashboard-orderbook {
				width: 100% !important;
				max-height: 350px;
			}

			.dashboard-trades {
				width: 100% !important;
				max-height: 300px;
			}

			.resize-handle-v {
				display: none;
			}
		}
	}
}