/* OTP Field */
.otp-field {
  display: flex;
}

.otp-field input {
  width: 24px;
  font-size: 32px;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  margin: 2px;
  border: 2px solid #fd5631;
  background: #fff;
  font-weight: bold;
  color: #fff;
  outline: none;
  transition: all 0.1s;
  height: 50px;
}

.otp-field input:focus {
  border: 2px solid #ff5227;
  box-shadow: 0 0 2px 2px #fdaf7c6a;
}

.disabled {
  opacity: 0.5;
}

.space {
  margin-right: 1rem !important;
}

/* Captcha */
#captcha,
#captchasignup {
  border-radius: 5px;
  background-color: #ffffff;
  color: #636363;
  font-size: larger;
  font-style: italic;
}

#refreshButton,
#refreshButtonsignup {
  color: #fd5631;
  border: 0;
  background-color: white;
}

.incorrectCaptcha {
  color: #ff0000;
}

.correctCaptcha {
  color: #7fff00;
}

/* Main Menu */
#mainMenu {
  font-size: 28px;
  color: black;
}

/* Entity Images */
.Entity-images {
  position: relative;
  width: 100%;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

/* .Entity-image {
  max-width: 100%;
  display: none;
} */

.Entity-image.active {
  display: block;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

button.prev {
  left: 0;
}

button.next {
  right: 0;
}

.Entity-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.Entity-images-all {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 50%;
}

.Entity-video {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.file-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

/* .Entity-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 1.618 / 1;
  object-fit: cover;
  border-radius: 8px;
} */

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.Entity-image.active {
  display: block;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

button.prev {
  left: 0;
}

button.next {
  right: 0;
}

/* Truck Slider */
.truck-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.truck-slider img,
.truck-slider video {
  width: 100%;
  display: block;
}

.truck-slider .prev,
.truck-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.truck-slider .prev {
  left: 10px;
}

.truck-slider .next {
  right: 10px;
}

/* Slide Container */
.slide-container {
  position: relative;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  z-index: 10;
  /* Ensure it stays on top */
}

.next {
  right: 0;
}

.prev {
  left: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#Entity-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1.618 / 1;
  /* Golden ratio aspect ratio */
  object-fit: cover;
  /* Ensures the image covers the container */
  border-radius: 8px;
  /* Optional: for rounded corners */
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Ensures the buttons are positioned relative to this container */
}