body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  background-color: #222;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://cdn-assets-eu.frontify.com/s3/frontify-enterprise-files-eu/eyJwYXRoIjoibWVyY2VkZXMtYmVuei1hZ1wvZmlsZVwvUU5Oem1kVFNWM1NORlJGSHdQamsuanBlZyJ9:mercedes-benz-ag:uh3B9MjwujJ8yEOZetj0RUFU3hHdWFuk1edLi3GBNTw?width=2400");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

header {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  position: relative;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-container {
  width: 70px;
  flex-shrink: 0;
}

.logo {
  max-width: 100%;
  height: auto;
}

.car-image-container {
  width: 100px;
  flex-shrink: 0;
}

.car-image {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: clamp(1.5em, 4vw, 2.0em);
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  flex: 1;
  min-width: 200px;
}

.main-content {
  display: flex;
  flex-direction: column;
  padding: clamp(15px, 3vw, 20px);
  margin: clamp(10px, 2vw, 20px);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  position: relative;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.selection-container {
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  padding-top: 60px;
  border-radius: 8px;
  position: relative;
  border: 1px solid #444;
  min-height: 60px;
  transition: all 0.3s ease;
}

.selection-container.collapsed {
  background-color: transparent;
  border: none;
  padding: 0;
  min-height: 50px;
  margin-bottom: 10px;
}

.toggle-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: linear-gradient(135deg, #6b6b6b 0%, #505050 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toggle-btn:hover {
  background: linear-gradient(135deg, #808080 0%, #606060 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

#selection-content {
  display: block;
  transition: all 0.3s ease;
}

.instructions-video-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.instructions-container {
  flex: 1;
  min-width: 300px;
}

.video-preview-container {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.important {
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  font-size: clamp(1em, 2.5vw, 1.1em);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 2px solid #ff6b6b;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.warning-message {
  margin-bottom: 20px;
}

.warning-message::before {
  content: "⚠️ IMPORTANT: ";
  color: #ff0000;
  font-weight: bold;
  font-size: 1.1em;
}

.highlight-after {
  color: #ff0000;
  font-weight: bold;
}

label {
  color: #fff;
  display: block;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: clamp(0.9em, 2vw, 1em);
}

select {
  width: 100%;
  max-width: 400px;
  min-width: 180px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  background-color: #555;
  color: #eee;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23eee' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-position: right 10px top 50%;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 30px;
  font-size: 1em;
  cursor: pointer;
}

.instruction-set {
  margin-top: 20px;
  border: 1px solid #444;
  padding: clamp(10px, 3vw, 20px);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  position: relative;
}

.instruction-set h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 600;
  border-bottom: 1px solid #666;
  padding-bottom: 5px;
}

.instruction-set p {
  color: #eee;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 0.95em;
}

/* Desktop font sizes */
@media (min-width: 769px) {
  .instruction-set h2 {
    font-size: 1.8em;
  }

  .instruction-set p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 12px;
  }
}

.instruction-set img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 15px auto;
  border: 1px solid #555;
  border-radius: 5px;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .instruction-set img {
    max-width: 100%;
  }
}

.image-side-by-side {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 10px 0;
}

.image-side-by-side img {
  flex: 1;
  min-width: 150px;
  max-width: 45%;
  width: auto !important;
  height: auto;
  margin: 0 !important;
  display: inline-block !important;
}

.note {
  font-style: italic;
  color: #ccc;
  margin-top: 10px;
}

.video-preview {
  cursor: pointer;
  margin-top: 20px;
}

.video-thumbnail {
  max-width: 200px;
  width: 100%;
  height: auto;
  border: 1px solid #555;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}

.video-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.95);
  padding: 20px;
  border-radius: 10px;
  z-index: 1000;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-modal video {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  margin-bottom: 15px;
}

.video-modal button {
  margin-top: 10px;
  padding: 12px 30px;
  background-color: #555;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
  align-self: center;
}

.video-modal button:hover {
  background-color: #777;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 10px;
  }

  .logo-container,
  .car-image-container {
    width: 50px;
    margin-bottom: 0;
  }

  h1 {
    font-size: 1.1em;
    text-align: center;
    flex: 1;
    min-width: 0;
    line-height: 1.2;
  }

  .main-content {
    margin: 10px;
    padding: 15px;
  }

  .instructions-video-container {
    flex-direction: column;
  }

  .instructions-container,
  .video-preview-container {
    margin: 0;
    min-width: 100%;
  }

  select {
    width: 100%;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .instruction-set {
    padding: 15px;
  }

  .qr-code-box {
    padding: 15px;
  }

  .video-modal {
    padding: 15px;
    max-width: 95vw;
  }

  .video-modal button {
    width: 100%;
    padding: 12px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-content {
    padding: 18px;
    margin: 15px;
  }

  .instructions-video-container {
    gap: 15px;
  }

  select {
    max-width: 350px;
  }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
  .main-content {
    max-width: 1600px;
  }

  .instructions-video-container {
    gap: 30px;
  }
}
.qr-code-box {
  border: 1px solid #555;
  padding: 15px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin: 15px auto;
  max-width: 300px;
}

.qr-code {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .qr-code-box {
    max-width: 250px;
    padding: 10px;
  }
}

.image-side-by-side {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin: 10px 0;
}

.image-side-by-side img {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  width: 50%;
  height: auto;
  margin: 0 !important;
  display: inline-block !important;
}

@media (max-width: 768px) {
  .image-side-by-side {
    flex-wrap: nowrap;
    gap: 2px;
  }
  
  .image-side-by-side img {
    flex: 1 1 50%;
    max-width: 50%;
    width: 50%;
    min-width: 0;
    height: auto;
  }
}