/**
 * Soge Lookup — form prefill widget styling.
 *
 * Shares the visual language of the lookup cards (public/soge-lookup.css).
 *
 * @package SogeLookup
 */

.soge-prefill {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soge-prefill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.soge-prefill-row input[type="text"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  font-size: 15px;
}

.soge-prefill-row input[type="text"]:focus {
  outline: 2px solid #1a7f5a;
  outline-offset: 1px;
  border-color: #1a7f5a;
}

.soge-prefill .soge-lookup-button {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #1a7f5a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.soge-prefill .soge-lookup-button:hover {
  background: #14694a;
}

.soge-prefill .soge-lookup-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.soge-prefill-status {
  min-height: 1.2em;
  font-size: 0.92em;
  line-height: 1.4;
}

.soge-prefill-status--error {
  color: #b32d2e;
}

.soge-prefill-status--success {
  color: #1a7f5a;
}

.soge-prefill-status--info {
  color: #5b6b63;
}

/* WooCommerce product "fits your car?" box. */
.soge-fitment {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #e2ebe6;
  border-radius: 12px;
  background: #f3f8f5;
}

.soge-fitment .soge-fitment-result {
  margin-top: 8px;
  font-weight: 600;
}
