body {
  margin: 0;
  background-color: #030609;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  line-height: 24px;
  max-height: 100%;
  overflow: hidden;
}

body.dark-mode {
  background-color: #000;
  color: #fff;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-msg {
  position: absolute;
  font-size: 9px;
  color: rgb(2, 144, 196);
  width: 80%;
  max-width: 200px;
  line-height: 13px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.dark-mode .ui-title {
  color: #fff;
}

* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  scrollbar-color: #a3a3a3 transparent;
  scrollbar-width: thin;
}

*:focus {
  outline: none !important; /* Ensure no outline on focus */
}


a {
  color: #EA6F9D;
}

canvas {
  display: block;
}

#cursor-circle {
  position: fixed;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: none;
}

.color-select-group,
.interior-select-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* Ensure swatches are aligned correctly */
}

.accent-select-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center; /* Center align icons vertically */
  min-width: 200px; /* Ensure the width of the container remains consistent */
  transition: all 0.5s ease-in-out;
}

.accent-select-group .accent-select.hidden {
  display: block;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.hidden {
  opacity: 0;
  display: none;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.color-select,
.accent-select,
.interior-select,
.wheel-select,
.wing-select {
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: inline-block;
  margin: 0 5px; /* Add margin to space the swatches */
  position: relative; /* Needed for the line animation */
}

.color-select img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.accent-select img,
.interior-select img,
.wheel-select img,
.wing-select img {
  width: 100%;
  height: 100%;
}

.color-select:last-child img,
.accent-select:last-child img{
  -webkit-filter: drop-shadow(0px 0px 1px #000);
  filter: drop-shadow(0px 0px 1px #000);
}

.wheel-select img,
.wing-select img {
  -webkit-filter: drop-shadow(0px 0px 8px #000);
  filter: drop-shadow(0px 0px 8px #000);
}

.color-select::after,
.accent-select::after,
.interior-select::after,
.wheel-select::after,
.wing-select::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Small gap between the button and the line */
  left: 0;
  width: 0;
  height: 1px;
  background-image: linear-gradient(90deg, #116079, #0bf); /* Default color */
  transition: width 0.4s ease-in-out, background-image 0.4s ease-in-out;
}

.color-select.hover:not(.selected)::after,
.accent-select.hover:not(.selected)::after,
.interior-select.hover:not(.selected)::after,
.wheel-select.hover:not(.selected)::after,
.wing-select.hover:not(.selected)::after {
  background-image: linear-gradient(90deg, #98288b, rgb(242, 0, 255)); /* Hover color for non-selected items */
}

.color-select:hover::after,
.accent-select:hover::after,
.interior-select:hover::after,
.wheel-select:hover::after,
.wing-select:hover::after {
  width: 100%;
}

.color-select.selected::after,
.accent-select.selected::after,
.interior-select.selected::after,
.wheel-select.selected::after,
.wing-select.selected::after {
  width: 100%;
  background-image: linear-gradient(90deg, #116079, #0bf); /* Blue color for selected items */
}

/* Navigation bar at the top */
.nav {
  height: 140px;
  justify-content: center;
  align-items: center;
  padding: 16px 2% 32px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background-color: transparent;
}

.logo {
  max-width: 80%;
  position: absolute;
  transition: opacity 1s;
  pointer-events: none;
}

.light-logo {
  opacity: 0;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between; /* Adjust to space between for items to align left and right */
  align-items: center;
  padding: 0 20px 20px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  /* border-top: solid 1px #00beff; */
  background-color: rgba(255, 255, 255, 0);
  overflow-x: scroll;
}

.ui-block {
  display: flex;
  justify-content: center; /* Center the items */
  align-items: center;
  flex-grow: 1;
}

.ui-section {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 25px;
  /* min-width: 228px; */
  min-width: max-content;
  position: relative;
}

.ui-title {
  margin-bottom: 8px;
  color: #fff;
}
.ui-title-line {
  height: 1px;
  background-image: linear-gradient(90deg, #116079, #0bf);
  width: 100%; /* Full width of the parent div */
  margin-bottom: 20px;
}

.ui-title-line-complete {
  height: 1px;
  background-image: transparent;
  width: 100%;
  margin-bottom: 18px;
}

.wheel-select-group,
.wing-select-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: -5px;
}

.wheel-select {
  width: 28px;
  height: 28px;
  cursor: pointer;
  margin: 5px;
}

.wing-select {
  width: 56px;
  height: 28px;
  cursor: pointer;
  margin: 5px;
}

/* .wing-select:last-child {
  width: 28px;
} */

/* Selected options styles 
#selected-options {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: rotate(-90deg) translate(-50%, -50%);
  transform-origin: left top;
  color: #000;
  font-size: 11px;
  display: flex;
  align-items: center;
  text-align: center;
  z-index: 1;
}*/

/* Selected options styles */
#selected-options {
    position: fixed;
    top: 50%;
    left: 30px;
    transform-origin: left top;
    color: #ffffff;
    font-size: 11px;
    align-items: center;
    text-align: left;
    z-index: 1;
    display: none;
}

.line {
  height: 1px;
  width: 12%;
  background-color: black;
}

.option {
  min-width: 140px;
  padding: 0 10px;
}

.pipe {
  padding: 0 5px;
  opacity: 0.5;
}

.side-nav {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-nav img {
  cursor: pointer;
  margin: 0px; /* Increased margin for more separation */
  width: 30px;
}

.side-nav-left {
  position: fixed;
  top: 48%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-nav img {
  cursor: pointer;
  margin: 0px; /* Increased margin for more separation */
  width: 30px;
}

#light-dark-mode {
  position: absolute;
}

#light-dark-mode, #open-doors, .complete {
  cursor: pointer;
  padding: 1px;
  border: solid 1px #fff;
  border-radius: 7px;
  mix-blend-mode: difference;
  transition: background-color ease 0.8s;
  background-color: rgba(0, 0, 0, 0.5);
}

#open-doors {
  margin-top: 0px;
  display: none;
}

.complete {
  position: absolute;
  transform: translate(-40%, -50%);
  padding: 0px 10px;
  border: solid 1px #fff;
  border-radius: 7px;
  font-size: 10px;
  line-height: 19px;
}

#light-dark-mode:hover, #open-doors:hover, .complete:hover {
  background-color: #0bf;
  border: solid 1px #0bf;
  transition: background-color ease 0.8s;
  color: black;
  font-weight: bold;
}

.bottom-nav-logo {
  display: none;
}

/* Full-screen takeover */
.takeover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url('/assets/img/takeover-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  overflow-y: auto; /* Enable scrolling */
}

.takeover.visible {
  opacity: 1;
  visibility: visible;
}

#full-screen-takeover.takeover {
  z-index: 1003;
}

/* Interior Slider Takeover */
.interior-slider-takeover {
  background-image: url('/assets/img/interior-takeover-bg.jpg');
  z-index: 1001;
}


.left-side {
  width: 40%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-side {
  width: 40%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-center {
  text-align: left;
  max-width: 580px;
}

.temp-image {
  margin-bottom: 30px;
  max-width: 100%;
  border-radius: 10px;
}

.user-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.form-column {
  display: flex;
  flex-direction: row;
  gap: 10px;
  text-transform: uppercase;
  width: 100%;
}

.form-column label {
  color: #fff;
}

.form-column input {
  background: transparent;
  padding: 8px;
  margin-right: 5px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  border-bottom: solid 1px #0bf;
}

 h1 {
  color: #fff;
  font-weight: normal;
  text-transform: uppercase;
}

.blue-line {
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, #116079, #0bf);
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-column {
  width: 48%;
  color: #fff;
}

.summary-column-title{
  color: #0bf;
  text-transform: uppercase;
}

.text-block {
  color: #969696;
  margin: 20px 0;
  font-size: 10px;
  line-height: 13px;
}

.terms {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-btn {
  padding: 10px 20px;
  background-color: transparent;
  color: #fff;
  border: solid 1px #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
  font-weight: 500;
  width: 94px;
  text-transform: uppercase;
}

.submit-btn:not(:disabled):hover {
  background-color: #0bf;
  border: solid 1px #0bf;
  color: #000;
  font-weight: bold;
}

.submit-btn:disabled {
  border-color: #ffffff5b;
  color: #ffffff5b;
  cursor: inherit;
}


.icon {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 50px;
  height: 50px;
}

/* Adjust the back button to ensure it's not overlapping */
.back-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: transparent;
  color: #fff;
  border: solid 1px #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 80px;
  z-index: 1;
}

.back-btn:hover {
  background-color: #0bf;
  border: solid 1px #0bf;
  color: #000;
  font-weight: bold;
}

.form-group {
  display: flex;
  flex-direction: column;
}

#interior-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Full viewport height */
    position: relative;
}

#slider-content {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

#slider-content img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  max-width: 1200px;
}

#slider-content img.active {
    display: block; /* Show active image */
    opacity: 1;
}

#pagination {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#pagination button {
    background: none;
    border: none;
    padding: 0;
    margin: 0 5px;
    cursor: pointer;
}

#pagination button img {
  opacity: 0.5;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

#pagination button.active img {
  opacity: 1;
}

#active-slide-name {
    position: absolute;
    top: 20px;
    text-align: center;
    width: 100%;
    font-size: 1.5em; /* Adjust size as needed */
    color: white;
    display: none;
}

#thanksSubmission {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1005;
  padding: 50px;
  background-color: black;
  border-radius: 0;
  text-align: center;
  background-image: url('/images/admin-bg.jpg');
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease, visibility 0s linear .6s;
}

#thanksSubmission.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.confirmation-content {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease .1s, transform .65s cubic-bezier(.22, 1, .36, 1) .1s;
}

#thanksSubmission.show .confirmation-content {
  opacity: 1;
  transform: translateY(0);
}

#thanksSubmission .hyperion-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #fff;
  border: solid 1px #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
  font-weight: 500;
  width: 94px;
  text-transform: uppercase;
  min-width: 220px;
  text-decoration: none;
}

#thanksSubmission .hyperion-link:hover {
  background-color: #0bf;
  border: solid 1px #0bf;
  color: #000;
  font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
  #thanksSubmission,
  #thanksSubmission .confirmation-content { transition: none; transform: none; }
}


/* Media Queries for Responsiveness */

@media only screen and (max-width: 768px) {

  h1 {
    text-align: left;
    font-size: 34px;
  }
  .takeover {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .left-side,
  .right-side {
    width: 100%;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    margin-top: 75px; /* Added margin top */
  }

  .content-center {
    width: 90%; /* Adjust width to fit screen */
    text-align: center; /* Center content */
    margin-bottom: 10px;
  }

  .summary-row {
    padding-bottom: 6px;
    text-align: left;
    /* border-bottom: solid 1px #222222; */
  }

  .summary-row:last-child {
    border-bottom: none !important;
  }

  .summary-column {
    width: 100%;
    margin-bottom: 10px;
  }

  .user-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .form-column {
    flex-direction: column;
    width: 100%;
    padding: 0 10px; /* Add padding to prevent overflow */
    text-align: left;
  }

  .form-column input{
    border-radius: 0 !important;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  /* Change the order of form elements for mobile view */
  .form-group:nth-child(1) {
    order: 1;
  }

  .form-group:nth-child(2) {
    order: 2;
  }

  .form-group:nth-child(3) {
    order: 3;
  }

  .form-group:nth-child(4) {
    order: 4;
  }

  .right-side h1 {
    text-align: left;
  }

  .submit-btn {
    left: 20px;
    position: absolute;
  }

  .nav {
    height: 80px;
    padding: 26px 2% 16px;
  }

  .side-nav {
    position: fixed;
    top: 57%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px;
  }

  .side-nav-left {
    top: 53%;
  }

  .complete {
  transform: translate(-100%, -50%);
  }

  .logo {
    max-width:50%;
    margin-top: -20px;;
  }

  #open-doors {
    padding-left: 10px;
  }

  .mobile-nav-fade {
    height: 50px;
    background-image: linear-gradient(180deg, #000000,#00000000);
    width: 100%;
    position: fixed;
    margin-top: -30px;
    z-index: 1;
    filter: grayscale(100%); /* Make the gradient grayscale */
    transition: filter 0.8s;
  }

  .bottom-nav-logo {
    display: inline-grid;
    width: 100%;
    text-align: left;
  }

  .bottom-nav-logo img {
    width: 200px;
    height: auto;
    margin-left: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
}

  .bottom-nav {
    position: relative;
    flex-direction: column;
    backdrop-filter: none;
    border-top: none;
    /* background-color: #000; */
    height: 40vh;
    overflow: scroll;
    border-top: solid 1px #0bf;
    padding-top: 30px;
  }

  /* body .bottom-nav {
    background-color: #d6d8dd !important;
  } */

  body.dark-mode .bottom-nav {
    background-color: #000 !important;
  }

  /* body .mobile-nav-fade {
    background-image: linear-gradient(rgb(214, 216, 221), rgba(214, 216, 221, 0));
  } */

  body.dark-mode .mobile-nav-fade {
    background-image: linear-gradient(180deg, #000000, #00000000);
  }

  .ui-block {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .ui-section {
    padding: 25px 5px;
    width: 100%;
    text-align: left;
    max-width: 90%;
    margin-bottom: 5px;
    background: transparent;
    border-bottom: solid 1px #a3a3a3;
    display: unset;
  }

  .ui-section:last-child {
    margin-bottom: 60px;
  }

  .color-select-group, .accent-select-group, .interior-select-group, .wheel-select-group, .wing-select-group {
    display: unset;
  }

  .ui-title {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .ui-title-line-complete {
    background-image: linear-gradient(90deg, #116079, #0bf);
  }

  #selected-options {
    display: none;
  }

  .color-select,
  .wheel-select,
  .interior-select {
    width: 30px;
    height: 30px;
  }

  .accent-select-group {
    display: flex;
  }

  .wheel-wing-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-direction: row;
  }

  .ui-section.wheel-wing-section {
    justify-content: space-between;
  }

  #cursor-circle {
    display:none;
  }

  #pagination button img {
    width: 100%;
  }
}



/* Keyboard controls share the existing visual options. */
[role="button"]:focus-visible, button:focus-visible { outline: 2px solid #00bbff; outline-offset: 4px; }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
#submission-message { font-size: .85rem; }
.color-starfire { background: radial-gradient(circle at 30% 25%, #ffe6a0, #ffaa00 60%, #855000); border-radius: 50%; }
.color-starfire img { opacity: 0; }
