/* Drag and Drop Scenario Styles */
.drag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.drag-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  cursor: grab;
  user-select: none;
  font-size: 1rem;
}

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

.drag-list--horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.drag-list--horizontal .drag-item {
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 96px;
  padding: 1rem 0.75rem;
  margin-bottom: 0;
}

.goal-order--horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-left: 1.25rem;
}

/* Drag & Drop new variations styles */
.drag-list--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.drag-list--grid .drag-item {
  margin-bottom: 0;
  min-height: 100px;
  justify-content: center;
  text-align: center;
}

.drag-handle {
  margin-right: 0.75rem;
  cursor: grab;
  color: #9ca3af;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}

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

.drag-item--with-handle {
  cursor: default;
}

.transfer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.transfer-column {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
}

.transfer-column h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.drag-list--transfer {
  min-height: 220px;
  background: #ffffff;
  border: 2px dashed #d1d5db;
  padding: 0.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drag-list--transfer .drag-item {
  margin-bottom: 0;
}

/* Numbered goal grid styles */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 600px;
}

.goal-grid-item {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.goal-index {
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.goal-name {
  font-weight: 500;
  color: #374151;
}
