.htmlcalenderclick {
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

input[type="date"] {
  position: relative;
  cursor: pointer;
}

.hover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 1rem;
}

.hover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.bg-soft-success-card {
  background-color: rgba(25, 135, 84, 0.1);
  width: 80px;
  height: 80px;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* semi-transparent white */
  font-size: 1.25rem;
  font-weight: bold;
  color: #dc3545;
  /* Bootstrap danger red */
  border-radius: 0.5rem;
  text-transform: uppercase;
}

.thumb {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  aspect-ratio: 1/1;
  background: #000;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb .btn-remove {
  position: absolute;
  top: .25rem;
  right: .25rem;
  line-height: 1;
  padding: .15rem .4rem;
}

.solidborder {
  border: 1px solid black;
}

#vehicleImagesModal .carousel-item {
  text-align: center;
  background: #000;
}

#vehicleImagesModal .carousel-item img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Keep the camera area short and centered */
#camera-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
  border-radius: .375rem;
}

/* Only apply height/overflow when video is visible */
#camera-container.active {
  height: 120px;
  overflow: hidden;
}


/* Make the video fill and crop to container height */
#camera-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* center-crop to the small height */
  border: 1px solid #ccc;
  display: none;
  border-radius: .375rem;
}

/* Red scanner box = narrow strip in the middle */
#scan-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  height: 100px;
  /* <<< scanner strip height */
  transform: translate(-50%, -50%);
  border: 2px dashed red;
  pointer-events: none;
  display: none;
  border-radius: .375rem;
}

#result {
  margin-top: 10px;
  font-weight: 600;
  color: #495057;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black !important;
  width: 40px !important;
  height: 40px !important;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.setting-title {
  font-weight: 600;
}

.setting-help {
  font-size: .85rem;
  color: #6c757d;
}

.card-settings .card-body {
  padding-top: 8px;
}

.section-head {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}