/*
 * Custom application styles
 *
 * All component styles have been migrated to Tailwind CSS.
 * See app/assets/tailwind/application.css for the Tailwind configuration.
 *
 * Add any additional custom CSS that cannot be expressed with Tailwind here.
 */

/* Center all dialogs */
dialog {
  margin: auto;
}

/* Step autocomplete dropdown */
.autocomplete-dropdown {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f5f5f5;
}

.autocomplete-name {
  font-weight: 500;
  color: #333;
}

.autocomplete-notes {
  font-size: 0.85em;
  color: #666;
  margin-top: 2px;
}

.form-group {
  position: relative;
}
