/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Remove arrow from input[type="number"] */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* General Layout */
#calendar {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Column Styles */
.column {
  flex: 0 0 200px;
  position: relative;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.column h3 {
  text-align: center;
  background: #3498db;
  color: #fff;
  padding: 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

/* Time Slot Lines */
.time-slot {
  height: 15px; /* Represents a 15-minute interval */
  border-bottom: 1px solid #eee;
  position: relative;
}

/* Slot Styles */
.slot {
  position: absolute;
  left: 10px;
  right: 10px;
  background: #2ecc71;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  padding: 5px;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.slot:hover {
  background-color: #27ae60;
}

.slot:active {
  cursor: grabbing;
  opacity: 0.9;
}

/* Resize Handle */
.resize-handle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  cursor: ns-resize;
}

/* Dragging Feedback */
.slot.dragging {
  opacity: 0.8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slot.resizing .resize-handle {
  background: rgba(0, 0, 0, 0.2);
}

.scene-modal .modal-content {
  min-width: min(1040px, 100%);
}

