/**
 * resize-divider.css
 * Styles for the resizable chart/trades divider
 */

.chart-trades-divider {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: row-resize;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s;
}

.chart-trades-divider:hover {
  background: rgba(255, 255, 255, 0.10);
}

.divider-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.15s;
  color: #f0b429;
}

.chart-trades-divider:hover .divider-handle {
  opacity: 1;
}

.divider-collapse-btn {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 4px;
  color: #f0b429;
  padding: 2px 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 10;
}

.divider-collapse-btn:hover {
  background: rgba(240, 180, 41, 0.2);
  color: #f5c842;
  border-color: rgba(240, 180, 41, 0.4);
}

.divider-collapse-btn:active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(0.95);
}

/* Hide divider on mobile - mobile uses tab-based navigation */
@media (max-width: 768px) {
  .chart-trades-divider {
    display: none !important;
  }
}
