/* Vehicle Compatibility */
.tecdocs-compatibility {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.tecdocs-compatibility h3 {
    margin-top: 0;
    color: #333;
}

.tecdocs-compatibility ul {
    columns: 2;
    column-gap: 30px;
    padding-left: 20px;
}

/* VIN Lookup */
.tecdocs-vin-form {
    display: flex;
    flex-direction: column; /* stack children vertically */
    gap: 15px;
    margin: 20px 0;
}

.tecdocs-vin-form > .input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tecdocs-vin-input {
    flex: 1;
    min-width: 250px; /* Keeps it from shrinking too small */
    width: 250px;
    padding: 8px;
    margin-right: 10px;
}

.tecdocs-vin-results {
    display: none; /* ← hidden by default, shown via JS */
    margin-top: 15px;
    padding: 0; /* ← remove default padding to avoid empty space */
    width: 100%; /* ← fill container */
    background-color: #fff; /* ← solid white background */
}


/* Dynamically added result item links */
.tecdocs-result-item {
    margin: 8px 0;
}

.tecdocs-result-item a {
    color: #005baa;
    font-weight: bold;
    text-decoration: none;
}

.tecdocs-result-item a:hover {
    text-decoration: underline;
}

.tecdocs-loading {
    color: #666;
    font-style: italic;
}

.tecdocs-success {
    /*color: #2a7d2a;*/
    padding-left: 10px;
}

.tecdocs-error {
    color: #d63638;
    padding-left: 10px;
}

#tecdocs-vehicle-selector {
    margin: 20px 0;
    padding: 15px;
    /*border: 1px solid #ddd;
    background: #f9f9f9;*/
}

#tecdocs-vehicle-selector select {
    min-width: 200px;
    margin-right: 10px;
    padding: 8px;
}

.tecdocs-vin-submit {
  /*width: 100%;*/
  padding: 0.75rem;
  background-color: #cc0000;
  border: 2px solid white; /* ← THIS is what you want */
  min-width: 200px;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tecdocs-vin-submit:hover:enabled {
  background-color: #005baa;
}

.tecdocs-vin-submit:hover:disabled {
  cursor: not-allowed;
  background-color: #e54646;
}

/*.tecdocs-vin-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}*/

/* Loading state */
/*#tecdocs-vehicle-selector select[disabled] {
    opacity: 0.7;
    background: #eee;
}*/

.tecdocs-widget-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding: 3rem 1rem;*/
}

.vehicle-selector-box {
  background: white;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.selector-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.selector-subtitle {
  font-style: italic;
  color: #333;
  margin-bottom: 1.5rem;
}

.dropdown-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vehicle-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.vehicle-search-button {
  width: 100%;
  padding: 0.75rem;
  background-color: #cc0000;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.vehicle-search-button:hover:enabled {
  background-color: #a60000;
}

.vehicle-search-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
