/* Column Manager Styles */
.column-manager-panel {
  position: absolute;
  right: 0;
  top: 0;

  width: 300px;
  background: white;
  z-index: 1050;
  border: 1px solid #e5e7eb;
  display: none;
}

.column-manager-panel.open {
  display: block;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .column-manager-panel {
    background: #9fabbc;
    border-color: #8894a7;
  }

  .column-item:hover {
    background-color: #3a435256 !important;
  }
}

/* Column item styles */
.column-item {
  transition: background-color 0.2s ease;
  user-select: none;
}

.column-item.dragging {
  opacity: 0.5;
}

.drag-handle {
  cursor: grab;
}

.drag-handle:active {
  cursor: grabbing;
}

/* Checkbox styles */
.column-item input[type="checkbox"] {
  cursor: pointer;
}

/* Overlay for mobile */
@media (max-width: 768px) {
  .column-manager-panel {
    width: 100%;
    max-width: 320px;
  }

  .column-manager-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    display: none;
  }

  .column-manager-overlay.open {
    display: block;
  }
}

.ag-cell-wrapper {
  height: 100%;
}

.ag-cell-value {
  height: 100%;
}

.cell-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}