/* ============================================
   FORMULAIRES & SUGGESTIONS
   ============================================ */

.search-form .field {
  margin-bottom: 16px;
}

.search-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.suggest-container {
  position: relative;
}

.search-form input,
.search-form select,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: white;
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition);
  color: var(--text-primary);
}

.search-form input:focus,
.search-form select:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 53, 128, 0.1);
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  border: 1px solid #e5e7eb;
  font-family: Arial, sans-serif;
}

.suggestions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.suggestions li:hover {
  background: #f9fafb;
}

.suggestion-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.suggestion-texts {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  display: flex;
  justify-content: space-between;
}

.suggestion-code {
  color: #6b7280;
  font-weight: normal;
  margin-left: auto;
}

.suggestion-subtitle {
  font-size: 13px;
  color: #6b7280;
}

/* Two columns layout */
.row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Passengers counter */
.passengers {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.passenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.passenger small {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-hover);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.counter span {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

/* Actions */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.warning {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 8px;
  background: rgba(255, 90, 95, 0.1);
  border-radius: var(--radius-sm);
}

/* ===== ERREURS DE CHAMPS ===== */
.field-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field-error:focus {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.25) !important;
}

.field-error.corrected {
  border-color: #2ecc71 !important;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2) !important;
}