/* Container styling */
#car-lookup-container {
  text-align: center;
  padding: 30px;
}

#car-lookup-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

/* Grid layout for results */
.car-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Bold labels in results */
.car-summary-grid .value-label {
  font-weight: bold;
  color: #333;
}

/* Wrapper for input and button */
.lookup-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Logo + input container */
.input-with-logo {
  position: relative;
  display: flex;
  align-items: center;
}

/* Button container */
.lookup-button-wrapper {
  display: flex;
  align-items: center;
}

#lookup-btn {
  padding: 0 20px;
  font-size: 16px;
  height: 50px;
  background-color: #cc0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Copy icon */
#copy-icon {
  cursor: pointer;
  font-size: 0.9em;
  margin-left: 6px;
}

/* Spinner placeholder */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #cc0000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive layout */
@media (max-width: 600px) {
  .car-summary-grid {
    grid-template-columns: 1fr;
  }
}

#regnr {
  text-transform: uppercase;     /* Force all caps */
  text-align: center;            /* Center the text */
}
