/* Veridian Cruise — VIN Lookup Frontend — Light Theme */

#vc-vin-lookup * { box-sizing: border-box; }

#vc-vin-lookup {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  border: 1px solid #f0d4d4;
  border-radius: 12px;
  padding: 28px 24px 24px;
  max-width: 680px;
  margin: 0 auto;
  color: #331a1a;
  box-shadow: 0 2px 12px rgba(160,40,30,0.07);
}

/* Header */
#vc-vin-lookup .vc-header {
  text-align: center;
  margin-bottom: 4px;
}

#vc-vin-lookup h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2a0f0f;
}

#vc-vin-lookup .vc-subtitle {
  font-size: 1.0rem;
  color: #946a6a;
  margin: 0 0 20px;
  text-align: center;
}

/* Input */
#vc-vin-lookup .vc-input-row {
  display: flex;
  gap: 8px;
}

#vc-vin-lookup input {
  flex: 1;
  background: #fdf5f5;
  border: 1.5px solid #ddb0b0;
  border-radius: 8px;
  color: #2a0f0f;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  padding: 11px 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

#vc-vin-lookup input::placeholder {
  color: #a93226;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#vc-vin-lookup input:focus {
  border-color: #c0392b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

#vc-vin-lookup .vc-clear-btn {
  background: #fdf5f5;
  border: 1.5px solid #ddb0b0;
  border-radius: 8px;
  color: #aa7a7a;
  font-size: 0.9rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#vc-vin-lookup .vc-clear-btn:hover {
  background: #f9e8e8;
  border-color: #c0392b;
  color: #c0392b;
}

/* Status / spinner */
#vc-vin-lookup .vc-results { margin-top: 16px; }

#vc-vin-lookup .vc-status {
  font-size: 0.78rem;
  color: #946a6a;
  margin-bottom: 8px;
  min-height: 18px;
}

#vc-vin-lookup .vc-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid #e4c8c8;
  border-top-color: #c0392b;
  border-radius: 50%;
  animation: vcSpin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 5px;
}
@keyframes vcSpin { to { transform: rotate(360deg); } }

/* Cards */
#vc-vin-lookup .vc-card {
  background: #fdf8f8;
  border: 1px solid #f0d4d4;
  border-left: 3px solid #c0392b;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 8px;
  animation: vcFadeIn 0.16s ease;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#vc-vin-lookup .vc-card:hover {
  box-shadow: 0 2px 8px rgba(160,40,30,0.09);
  border-color: #ddb0b0;
}
@keyframes vcFadeIn {
  from { opacity:0; transform:translateY(4px); }
  to   { opacity:1; transform:translateY(0); }
}

#vc-vin-lookup .vc-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#vc-vin-lookup .vc-bike {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a0f0f;
  line-height: 1.3;
}

#vc-vin-lookup .vc-years {
  display: block;
  font-size: 0.75rem;
  color: #aa7a7a;
  margin-top: 2px;
}

/* Product link */
#vc-vin-lookup .vc-product {
  flex-shrink: 0;
  text-align: right;
}

#vc-vin-lookup .vc-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c0392b;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 6px;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
#vc-vin-lookup .vc-product-link:hover {
  background: #a93226;
  transform: translateX(1px);
}

#vc-vin-lookup .vc-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

#vc-vin-lookup .vc-product-loading {
  font-size: 0.75rem;
  color: #ba8a8a;
}

#vc-vin-lookup .vc-product-notfound {
  font-size: 0.75rem;
  color: #b0a090;
  font-style: italic;
}

#vc-vin-lookup .vc-product-nosku {
  font-size: 0.75rem;
  color: #b0a090;
  font-style: italic;
}

/* Note */
#vc-vin-lookup .vc-note {
  font-size: 0.74rem;
  color: #8a7060;
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid #ede4e4;
  font-style: italic;
}

/* No results */
#vc-vin-lookup .vc-no-results {
  text-align: center;
  padding: 20px 16px;
  color: #aa8a8a;
  font-size: 0.85rem;
}
#vc-vin-lookup .vc-no-results strong {
  display: block;
  color: #7a4a4a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
#vc-vin-lookup .vc-no-results a { color: #c0392b; }

/* Disclaimer */
#vc-vin-lookup .vc-disclaimer {
  font-size: 0.95rem;
  color: #946a6a;
  margin-top: 16px;
  text-align: center;
  border-top: 1px solid #ede8e8;
  padding-top: 12px;
}
#vc-vin-lookup .vc-disclaimer a { color: #c0392b; text-decoration: none; }
#vc-vin-lookup .vc-disclaimer a:hover { text-decoration: underline; }