:root {
    --first-color: #7cc0e4;
    --second-color: #482a09;
    --third-color: #d0bf5c;
  }

body {
    margin: 0;
    font-family: sans-serif;
    background-color:var(--first-color);
    color: var(--second-color);
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--third-color);
    font-size: 18px;
  }
  
  .left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  
  #datetime-range, #datetime-fields {
    margin-top: 10px;
  }
  
  .left img {
    height: 40px;
    cursor: pointer;
  }
  
  .right {
    font-weight: bold;
  }
  .main-logo {
    width: 40%;       /* or max-width: 100%; for intrinsic scaling */
    height: auto;      /* maintains aspect ratio */
    display: block; 
  }
  .logobox {
    justify-content: center;
    width: 100%;
    display: flex; 
  }
  .sub-title {
    text-align: center;
    margin-top: 35px;
    font-size: 24px;
    margin-left: 15%;
    margin-right: 15%;
  }

  .sub-sub-title {
    text-align: center;
    /*margin-top: 100px;*/
    font-size: 20px;
    margin-left: 15%;
    margin-right: 15%;
  }
  
  a {
    text-decoration: none;
    color: black;
  }


  .leftbox {
  color: var(--second-color); 
  width: 45%;
  }
  .boxboxer {
  display: flex;
  justify-content: space-between;
  margin-left: 3%;
  margin-right: 3%;
  }
  
  .booking {
    background-color: var(--third-color);
    color: var(--second-color);
    padding: 20px;
    width: 45%;
    max-width: 600px;
    border: 2px solid var(--second-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /*margin:auto;*/
    opacity: 100;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;  /* Zentriert es vertikal */
    min-height: 100vh;  /* Stellt sicher, dass die Box immer im sichtbaren Bereich bleibt */
  }
  
  .booking label {
    font-weight: bold;
    margin-top: 10px;
  }
  
  .booking input, .booking textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .booking button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .booking button:hover {
    background-color: #45a049;
  }

  .radio-container {
    display: flex;  /* Setzt die Radio-Buttons nebeneinander */
    align-items: center;  /* Stellt sicher, dass sie vertikal ausgerichtet sind */
    gap: 15px;  /* Abstand zwischen den Radio-Buttons */
  }
  
  input[type="radio"] {
    margin-right: 5px;  /* Kleiner Abstand zwischen Button und Text */
  }
  
  label {
    display: inline-flex;  /* Damit der Text und der Radio-Button nebeneinander sind */
    align-items: center;  /* Zentriert die Radio-Buttons mit dem Text */
    font-weight: normal;  /* Optional: Schriftgewicht einstellen */
  }  
  
  input[type="datetime-local"] {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .booking-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .cargo-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
  }
  
  .image-box {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    transition: 0.2s;
  }
  
  .image-box img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  
  .image-box.selected {
    border-color: #ccc;
    filter: brightness(0.8);
  }
  
  .sprechblase {
    position: relative;
    background: #f0f0f0;
    padding: 1em;
    border-radius: 1em;
    max-width: 300px;
    font-family: sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .sprechblase-zacke {
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #f0f0f0;
  }  

  .picker-box {
    padding: 20px;
  }
  .price-box {
    background-color: var(--first-color);
    border: 3px solid var(--second-color);
    color: var(--second-color);
    padding: 1rem 1rem;
    text-align: center;
    font-size: 1.4rem;
    margin: 2rem auto;
    width: fit-content;
    border-radius: 8px;
  }
  .kms-box {
    background-color: var(--first-color);
    border: 3px solid var(--second-color);
    color: var(--second-color);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1rem;
    margin: 2rem auto;
    width: fit-content;
    border-radius: 8px;
  }
  #checkout-button {
    background-color: var(--first-color);
    border: 3px solid var(--second-color);
    color: var(--second-color);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.5rem;
    margin: 2rem auto;
    width: fit-content;
    border-radius: 8px;
  }
.eingabeninbox,
#address_from,
#address_to {
  margin-top: 0px;
  width: 100%;
  box-sizing: border-box;
}
.eingabeninbox {
  width: 100%;
  box-sizing: border-box;
}
.schriftinbox {
  color: var(--second-color);
}

input.flatpickr-input {
  width: 100%;
  box-sizing: border-box;
}

#lwarning {
  color: red;
}

.input-group {
  display: inline-flex;
  flex-direction: column;
  border: 5px solid;
  border-color: var(--second-color);
  border: 2px solid;       /* ersetzt alle border-Styles und -Widths */
  padding: 0px 5px;        /* oben/unten = 0, links/rechts = 5 */
  padding-bottom: 5px;
  border-radius: 8px;
  margin-bottom: 5px;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.input-group label {
  font-size: 14px;
  color: var(--second-color);
  white-space: nowrap;
  margin-top: 7px;
}

.input-group input {
  border: none;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0px;
}