/* Import des variables globales */
@import url('variables.css');

.order-box {
  /*background: rgba(255, 204, 0, 0.9);*/
  background: rgba(136, 136, 136, 0.9);
  padding: 15px;
  border-radius: 10px;
  width: 30%;
  display: flex;
  flex-direction: column;
  z-index: 500;
  margin: 2% auto;
  box-shadow: -1px 0px 7px 4px #fffffff2;
  color: white;
  font-weight: bolder;
  line-height: 2rem
}


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

form label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

form input, form select {
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.order-button {
  background: var(--primary);
  color: white;
  padding: 10px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.order-button:hover {
  background: var(--primary-dark);
  
}

.map{
  position: absolute;
  top: 0;
  z-index: -100;
  width: 100%;
}

.map-container{
  height: 100vh;
}

.info-distance{
  width: 100%;
  height: 100px;
  background: white;
  color: black !important;
  padding: 5px;
  align-content: center;
  align-items: center;
  line-height: 1.5rem;

  margin-top: 2px;
  margin-bottom: 10px;
}


.payment-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: -5px
}

.payment-logo-img{
  width: 50px;
  height: 50px;
}

.dateTimePicker{
  display: flex;
  flex-direction: row;
  gap: 10%;

  align-content: center;
  align-items: center;
}

.datePicker{
  display: flex;
  flex-direction: column;
  width: 40%;
}

.timePiker{
  width: 50%;
}

.timePickerInput{
  display: flex;
  gap: 3%;
}

@media screen and (max-width: 860px) {
  .order-box {
    width: 80%;
  }

  .order-box {
    margin: 5% auto;
  }

  .payment-logo{
    margin-top: 10px
  }

}
