/* ===== Reset & Base ===== */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: Arial, sans-serif; background: #fff; color: #333; }

    /* ===== Header (EXACT copy style from online-einkauf.html) ===== */
    header { 
      display: flex; 
      align-items: center; 
      background-color: #008C00; 
      height: 106px;
      position: relative;
    }
    .logo { 
      background: #ffde00; 
      width: 340px; 
      height: 50%; 
      clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); 
      display: flex; 
      align-items: center; 
      margin-top: -34px; 
      justify-content: center; 
      position: relative;
      cursor: pointer;
    }
    .logo::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 195px;
      height: 6px; /* (keine Farbe gesetzt im Original) */
    }
    .logo h1 { 
      font-family: 'Cooper Black', sans-serif !important;
      font-weight: 400; 
      font-size: 27px; 
      font-style: italic;
      color: #1FAFF7; 
      letter-spacing: 1px; 
      transform: skew(-5deg);
    }
    .header-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);} 
    .header-title h2 { 
      font-family: 'Arial Black'; !important;
      font-size: 32px; 
      font-weight: bold; 
      font-style: italic;
      color: #fff; 
    }

    /* ===== Container ===== */
    .container { max-width: 900px; margin: 30px auto; padding: 0 20px; }

    /* ===== Center Card (gray border + shadow) ===== */
    .card { 
      margin: 0 auto; 
      max-width: 850px; 
      background: #fff; 
      border: 1px solid #cfcfcf; 
      border-radius: 12px; 
      box-shadow: 0 8px 22px rgba(0,0,0,0.08);
      padding: 28px; 
    }

    /* ===== Inputs & selects EXACTLY like reisen-sparangebote.html ===== */
    label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
    .row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; margin-left: 16px; }
    select,
    input[type="text"] {
      width: auto; 
      padding: 8px 12px; 
      font-size: 16px; 
      border: 1px solid #000; 
      border-radius: 8px; 
      background-color: #fff; 
      appearance: none; 
      background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%23000'/%3E%3C/svg%3E"); 
      background-repeat: no-repeat; 
      background-position: right 12px center; 
    }
    /* Text inputs shouldn't show the dropdown chevron */
    input[type="text"] { background-image: none; }

    .location-search-row { position: relative; }
    .location-combobox {
      position: relative;
      flex: 0 1 245px;
      min-width: 190px;
    }
    .location-input {
      width: 100% !important;
      padding-right: 34px !important;
      background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%23000'/%3E%3C/svg%3E") !important;
      background-repeat: no-repeat !important;
      background-position: right 12px center !important;
    }
    .location-input:focus {
      border-color: #008C00;
      outline: 3px solid rgba(0, 140, 0, 0.2);
    }
    .location-results {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      z-index: 1200;
      max-height: 260px;
      overflow-y: auto;
      border: 1px solid #aaa;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(0,0,0,.16);
    }
    .location-option {
      display: block;
      width: 100%;
      padding: 10px 12px;
      border: 0;
      border-bottom: 1px solid #eee;
      background: #fff;
      color: #222;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }
    .location-option:last-child { border-bottom: 0; }
    .location-option:hover,
    .location-option.is-active {
      background: #eaf7ea;
      color: #005b00;
    }
    .location-status {
      flex-basis: 100%;
      min-height: 16px;
      margin-left: 88px;
      color: #666;
      font-size: 12px;
    }

    @media (max-width: 700px) {
      .location-combobox { flex: 1 1 100%; }
      .location-status { margin-left: 0; }
    }

    .info-button { background: none; border: none; font-size: 20px; cursor: pointer; line-height: 1; }

    .hint { font-size: 0.98em; color: #333; }

    /* ===== Orange Finden button ===== */
    .button-orange { 
      display: inline-block; 
      min-width: 200px; 
      padding: 15px 50px; 
      background-color: #008C00; 
      color: #fff; 
      font-size: 22px; 
      font-weight: bold; 
      border: none; 
      border-radius: 10px; 
      cursor: pointer; 
    }
    .button-orange:hover { filter: brightness(1.05); }

    /* Info bubble */
    .info-bubble {
      display: none;
      position: fixed;
      top: 31%;
      left: 55%;
      transform: translate(-50%, -50%);
      background-color: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 20px;
      z-index: 1000;
      width: 300px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .info-bubble p { margin: 0; font-size: 1em; }
    .info-bubble button { margin-top: 10px; padding: 6px 12px; font-size: 0.9em; cursor: pointer; }

    .error-message { color: red; display: none; margin-top: -10px; margin-bottom: 10px; }



/* ===== FINDEN button – SAME AS online-order page ===== */

.button-orange{

  display: inline-block;
  min-width: 220px;
  padding: 15px 60px;

  font-size: 24px;
  font-weight: bold;

  border-radius: 14px;
  cursor: pointer;

  /* white default */
  background: linear-gradient(
    180deg,
    #ffffff,
    #f3f3f3,
    #e6e6e6
  );

  color: #008C00;

  border: 3px solid #008C00;

  box-shadow:
    0 10px 26px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 0 -6px 12px rgba(0,0,0,0.08);

  transition: all .25s ease;

  position: relative;
}

/* REMOVE glass shine */
.button-orange::before,
.button-orange::after{
  display: none;
  content: none;
}

/* hover = glossy orange */
.button-orange:hover{

  background: linear-gradient(
    180deg,
    #4CAF50,
    #008C00,
    #006400
  );

  color: #ffffff;

  box-shadow:
    0 16px 36px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -8px 18px rgba(0,0,0,0.30);

  transform: translateY(-2px);
}

/* click */
.button-orange:active{
  transform: translateY(-1px);
}
  #plattformInfo{
    transform: translate(calc(-50% + 20px), calc(-50% + 60px)) !important;
  }


@font-face {
  font-family: "Merriweather";
  src: url("fonts/Merriweather_48pt-Black.ttf") format("truetype");
  font-display: swap;
}

.header-title h2{
  font-family: "Merriweather", Arial, sans-serif !important;
  font-size: 40px;
  font-weight: bold !important;
  font-style: normal; /* أو italic إذا أردت نفس الميلان الحالي */
}

/* ===== Benutzer-Icons und Einstellungsmenü wie auf der Index-Seite ===== */
.top-icons {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 25px;
}

.top-icons .icon-btn {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-icons .icon-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(20%) sepia(40%) saturate(2500%) hue-rotate(170deg) brightness(60%) contrast(80%);
}

.settings-menu {
  position: relative;
  display: inline-flex;
}

.settings-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 150px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.settings-dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 10px;
}

.settings-menu:hover .settings-dropdown,
.settings-menu:focus-within .settings-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.settings-item {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: #333;
  text-align: left;
  font: 15px Arial, sans-serif;
  cursor: pointer;
}

.settings-item:hover,
.settings-item:focus-visible {
  background: #f5f5f5;
}

body.dark .top-icons img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(1%) saturate(18%)
          hue-rotate(211deg) brightness(106%) contrast(94%) !important;
}

@media (max-width: 900px) {
  .top-icons { right: 12px; gap: 10px; }
  .top-icons .icon-btn,
  .top-icons .icon-btn img { width: 36px; height: 36px; }
  .header-title { max-width: 45%; text-align: center; }
  .header-title h2 { font-size: 22px; }
}
