@import url(/utilites.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.demoHeader {
  margin-top: 2rem;
}
.demoHeader h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 3rem;
  color: black;
  display: block;
  text-align: center;
}
.demoHeader p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

.demoSelect {
  margin: 0 auto;
  margin-top: 3rem;
  max-width: 85%;
  display: flex;
  justify-content: space-around;
}

.demoSelections {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.demoButton {
  border: 1px solid grey;
  display: flex;
  flex-direction: column;
  color: #5c5e62;
  padding: 1rem 1.5rem;
  border-radius: 0.3rem;
  margin: 0.3rem;
  cursor: pointer;
}
.demoButton span {
  font-weight: 500;
  font-size: 1.0625rem;
}
.demoButton p {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.demoBtnActive {
  border: 1px solid black;
  color: black;
  background-color: #f4f4f4;
}

.demoImg {
  aspect-ratio: 16/9;
  max-width: 50%;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
}

.driverDetails {
  min-height: 100dvh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 7%;
  margin-top: 3rem;
}

.detailsHeader {
  font-size: 1.75rem;
  line-height: 2.25rem;
  margin-bottom: 1.2rem;
}

.detailsFormContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  width: -moz-fit-content;
  width: fit-content;
  width: 100%;
  max-width: 40rem;
  gap: 1rem;
  position: relative;
}
.detailsFormContainer div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.detailsFormContainer div label {
  font-size: 0.87rem;
  color: #5c5e62;
  line-height: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.35rem;
}
.detailsFormContainer div input {
  height: 2.5rem;
  width: 100%;
  font-size: 0.87rem;
  font-weight: bold;
  color: #5c5e62;
  background-color: #f4f4f4;
  box-shadow: rgb(244, 244, 244) 0px 0px 0px 1px inset;
  border-radius: 4px;
  padding: 0.75rem;
  border: none;
  outline: none;
}
.detailsFormContainer div:nth-child(5) {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
}
.detailsFormContainer div:nth-child(5) input {
  width: 1.5rem;
  box-shadow: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.detailsFormContainer div:nth-child(5) label {
  padding-left: 0.5rem;
  margin-bottom: 0;
  font-weight: bold;
}
.detailsFormContainer .demo_form_submit_button {
  grid-column: 1/2;
  grid-row: 4/5;
  cursor: pointer;
  margin: 0;
}

.driverDetailsCarContainer {
  max-width: 33rem;
  margin-left: 5rem;
}
.driverDetailsCarContainer img {
  width: 100%;
}

@media screen and (max-width: 1050px) {
  .driverDetailsCarContainer {
    max-width: 26rem;
  }
}
@media screen and (max-width: 885px) {
  .detailsFormContainer {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 808px) {
  .driverDetailsCarContainer {
    max-width: 20rem;
  }
  .demoSelect {
    flex-direction: column;
  }
  .demoSelect img {
    max-width: 100%;
    margin-top: 1rem;
    margin-left: 0;
  }
}
@media screen and (max-width: 691px) {
  .driverDetails {
    flex-direction: column;
    padding: 0 3%;
  }
  .detailsContent {
    width: 90%;
  }
  .driverDetailsCarContainer {
    max-width: 100%;
    margin: 2rem 0 0 0;
  }
  .driverDetailsCarContainer img {
    width: 100%;
  }
}
@media screen and (max-width: 550px) {
  .demoHeader {
    padding: 0 1.5rem;
  }
}
@media screen and (max-width: 500px) {
  .demoSelect {
    max-width: 95%;
  }
}
.tooltip {
  background-color: #ff0000;
  color: white;
  padding: 5px;
  margin-top: 5px;
  font-size: 12px;
  border-radius: 5px;
  /* position: absolute; */
}

.errorsContainer {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 30%;
  right: 0;
  padding: 10px;
  color: white;
  border-radius: 5px;
}

.thankYouMessage {
  background-color: #4CAF50;
  /* Green background for the Thank You message */
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  border-radius: 5px;
  display: none;
  /* Hidden initially */
}

.thankYouMessage h2 {
  margin: 0;
  font-size: 24px;
}

.thankYouMessage p {
  margin-top: 10px;
  font-size: 16px;
}/*# sourceMappingURL=demo_drive.css.map */