/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button.wt-withoutarrow,
input::-webkit-inner-spin-button.wt-withoutarrow {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number].wt-withoutarrow {
  -moz-appearance: textfield;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #f5f5f5;
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h5,
h6,
p,
a {
  font-family: "Inter", sans-serif;
}

a {
  color: #116acc;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

img {
  width: 100%;
  height: auto;
}

main {
  padding-bottom: 10px;
  font-size: 1.5rem;
}

/* .active-navlink svg path {
  fill: #116acc;
}

.disactive-navlink svg path {
  fill: #f5f5f5;
} */

.card-with-icon svg {
  width: 104.003px;
  height: 83.409px;
}
.card-with-icon svg path {
  fill: #116acc;
}
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.background {
  background-color: gray;
  opacity: 0.5;
  z-index: -100;
}
@layer utilities {
  .text-stroke {
    -webkit-text-stroke: 1px black;
  }
}

.background-img {
  background-image: url('../assets/get-started.png');
  background-position: center;
  background-repeat: no-repeat;
}

.bg-center {
  background-position: center;
}

.h-24 {
  height: 24;
}

.bg-cover {
  background-size: cover;
}

.nav-item .active {
  background: #fff3;
}

@media (max-width: 767.98px) {
  .navbar-nav .nav-link {
    text-align: left;
    width: 100%;
    padding-left: 1rem;
  }
}

.get-started-section {
  background-image: url('/assets/get-started.png');
  background-size: cover;      /* scale the image to cover the whole div */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
  min-height: 100vh;               /* define height, otherwise it won't show */
}

.h-style {
  color: #116ACC;
  font-size: 35px;
  font-weight: bold;
  line-height: normal;
}

.p-style {
  font-size: 15px;
  line-height: normal;
}

.auth-wrapper {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.15);
  padding: 2rem;
  width: 95%;
  max-width: 900px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-control:invalid {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
}

#regCity {
  margin-top: 8px;
}

.waitingroom-button {
  background-color: #116ACC;
  height: 48px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
}

.waitingroom-button-disabled {
  background-color: #C7CBD2;
  height: 48px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
}

.dashbord-declined {
  width: 123px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  color: #6D0606;
  border-radius: 0.5rem;
}

.dashbord-garanted {
  width: 123px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  color: #296B1C;
  border-radius: 0.5rem;
}

.home-icon {
  src: url('assets/Icons/homepage.svg')
}

.main-content {
  min-height: 400px;
}

.wt-card {
  min-height: 175px;
  background-color: #D9DDE7;
  min-width: 225px;
}

.wt-card-title {
  font-size: 4em; 
  text-transform: uppercase;
  color:rgb(17,106,204);
  font-weight: bold;
  opacity: 0.45;
}

.wt-text-color {
  color:rgb(17,106,204);
  font-weight: bold;
  font-size: 2em;
}

.wt-text-sm-color {
  color:rgb(17,106,204);
  font-weight: bold;
  font-size: 1.5rem;
}

.wt-color {
  color:rgb(17,106,204);
}

.wt-bl-g {
  border-left: 3px solid gray;
}

.wt-hover:hover > a {
  color: white;
  background-color: rgb(17,106,204);
  font-weight: bold;
  font-size: 2em;
}

.wt-dropdown {
  background-color: none;
}

.wt-card-mx {
  min-height: 200px;
  background-color: #D9DDE7;
  width: 300px;
}

.fq-head-menu {
  min-height: 100px;
  background-color: rgb(17,106,204);
}

.fq-home-icon {
  color: rgb(243, 251, 243);
  height: 50px;
  width: 30%;
  margin-top: 25px;
  margin-left: 50%;
}

.fq-icon-size {
  font-size: 46px;
}

.fq-menu-con {
  border: solid 4px;
  border-radius: 20px;
  box-shadow: inset;
  min-height: 200px;
  display: inline-block;
  width: 20%;
  margin-left: 40px;
  margin-top: 40px;
  text-align: center;
  background-color: rgb(185, 177, 177);
}

.fq-menu-title {
  padding: 10px;
  word-break: break-word;
}

.fq-menu-icon {
  font-size: 2rem;
}

.fq-menu-desc {
  padding: 10px;
}

a.fq-menu-link:hover {
  color: rgb(17, 0, 255);
}

.fq-form-con {
  border: solid;
  border-radius: 20px;
  margin: 20px;
  font-size: 1.4rem;
}

.fq-head {
  background-color: lavender;
}

.fq-entry-con {
  border: solid;
  border-radius: 20px;
  margin: 20px;
  font-size: 1.4rem;
}

.fq-table-con {
  max-height: 460px;
  overflow-y: auto;
}

.fl-form-group {
  border-radius: 20px;
  margin: 30px;
  padding: 20px;
  display: inline-block;
  max-width: 39%;
  font-size: 2rem;
}

.fl-form-basic {
  border: solid;
  border-radius: 20px;
  margin: 30px;
}

.fl-form-food {
  border: solid;
  border-radius: 20px;
  margin: 30px;
}

.fl-btn-save {
  font-size: 2.5rem;
}

.ful-entry-con {
  border: solid;
  border-radius: 20px;
  margin: 30px;
}

.ful-link {
  font-size: 3rem;
}

.fq-admin-con {
  width: 80%;
  border: solid;
  border-radius: 20px;
  margin: 30px;
  margin-left: 10%;
}

.data-overview {
  border: solid;
  border-radius: 20px;
  margin: 5px;
}

.user-data-con {
  border: solid;
  border-radius: 20px;
  margin: 5px;
}

.gericht-data-con {
  border: solid;
  border-radius: 20px;
  margin: 5px;
}

.station-data-con {
  border: solid;
  border-radius: 20px;
  margin: 5px;
}

/* ============================================================
   DESIGN SYSTEM v7  –  Spec-konforme Tokens & Komponenten
   ============================================================ */

:root {
  --c-blue:       #0A84FF;
  --c-blue-tint:  #EBF4FF;
  --c-green:      #30D158;
  --c-green-tint: #EAFAF0;
  --c-amber:      #FF9500;
  --c-amber-tint: #FFF4E0;
  --c-amber-dark: #A05A00;
  --c-red:        #FF3B30;
  --c-red-tint:   #FFECEB;
  --c-text:       #1C1C1E;
  --c-text-sec:   #8E8E93;
  --c-border:     #D1D1D6;
  --c-bg-page:    #F2F2F7;
  --c-bg-card:    #FFFFFF;
  --r-card:       12px;
  --tab-h:        80px;
  --sp:           16px;
  --v7-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base */
body {
  background: var(--c-bg-page) !important;
  font-family: var(--v7-font) !important;
  font-size: 14px;
  color: var(--c-text);
  margin: 0;
}

/* Main */
.fq-main-content {
  padding-top: 16px;
  padding-left: var(--sp);
  padding-right: var(--sp);
  padding-bottom: calc(var(--tab-h) + 16px);
  min-height: 100vh;
  overflow-y: auto;
}

/* ---- TAB BAR ---- */
.fq-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  height: var(--tab-h);
  background: var(--c-bg-card);
  border-top: 0.5px solid var(--c-border);
  border-radius: 0 0 28px 28px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 8px 20px;
  z-index: 1000;
}

.fq-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--c-text-sec);
  font-size: 9px;
  font-weight: 400;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px 6px;
}

.fq-tab svg { width: 22px; height: 22px; stroke: var(--c-text-sec); }
.fq-tab.active { color: var(--c-blue); }
.fq-tab.active svg { stroke: var(--c-blue); }

/* ---- PAGE HEADER ---- */
.fq-eyebrow {
  font-size: 11px;
  color: var(--c-text-sec);
  margin: 0 0 6px;
}

.fq-step-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.fq-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border);
}
.fq-step-dot.done   { background: var(--c-green); }
.fq-step-dot.active { background: var(--c-blue); }

.fq-page-title    { font-size: 23px; font-weight: 500; color: var(--c-text); margin: 0 0 2px; }
.fq-page-subtitle { font-size: 13px; color: var(--c-text-sec); margin: 0 0 20px; }

/* ---- SECTION LABEL ---- */
.fq-section-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text-sec);
  padding: 6px 0 4px;
}

/* ---- GROUPED CARD ---- */
.fq-card {
  background: var(--c-bg-card);
  border-radius: var(--r-card);
  border: 0.5px solid var(--c-border);
  overflow: hidden;
  margin-bottom: 8px;
}

.fq-card-header {
  background: var(--c-bg-page);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text-sec);
  padding: 6px 14px;
}

.fq-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-bg-page);
  padding: 6px 14px;
}

.fq-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 0.5px solid var(--c-border);
}
.fq-card-row:last-child { border-bottom: none; }

.fq-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fq-row-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fq-row-dot.green { background: var(--c-green); }
.fq-row-dot.amber { background: var(--c-amber); }
.fq-row-dot.red   { background: var(--c-red); }

.fq-row-sq { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.fq-row-sq.green { background: var(--c-green); }
.fq-row-sq.gray  { background: var(--c-text-sec); }

.fq-row-icon { width: 18px; height: 18px; flex-shrink: 0; }
.fq-row-icon.green { stroke: var(--c-green); }
.fq-row-icon.amber { stroke: var(--c-amber); }
.fq-row-icon.red   { stroke: var(--c-red); }

.fq-row-label { font-size: 13px; font-weight: 500; color: var(--c-text); }
.fq-row-sub   { font-size: 11px; color: var(--c-text-sec); }

/* ---- STEPPER ---- */
.fq-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fq-stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}
/* 44px touch target */
.fq-stepper-btn::before {
  content: '';
  position: absolute;
  inset: -7px;
}

.fq-stepper-minus { background: var(--c-blue-tint); border: 1px solid var(--c-blue); }
.fq-stepper-minus svg { stroke: var(--c-blue); width: 14px; height: 14px; }
.fq-stepper-plus  { background: var(--c-blue); }
.fq-stepper-plus svg  { stroke: white; width: 14px; height: 14px; }

.fq-stepper-val {
  font-size: 17px;
  font-weight: 500;
  min-width: 26px;
  text-align: center;
  color: var(--c-text);
  transition: transform 0.12s ease;
  display: inline-block;
}
.fq-stepper-val.pop { transform: scale(1.25); }

/* ---- TRUCK CARD SELECTOR ---- */
.fq-truck-selector {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.fq-truck-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 8px;
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--r-card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-sec);
  user-select: none;
  transition: all 0.15s;
}
.fq-truck-card svg { width: 26px; height: 26px; stroke: var(--c-text-sec); }
.fq-truck-card.selected {
  background: var(--c-blue-tint);
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
}
.fq-truck-card.selected svg { stroke: var(--c-blue); }

/* ---- FOOD CARD SELECTOR (horizontal scroll) ---- */
.fq-food-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fq-food-scroll::-webkit-scrollbar { display: none; }

.fq-food-card {
  flex-shrink: 0;
  width: 70px;
  height: 78px;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: var(--c-bg-page);
  border: 2px solid transparent;
  font-size: 10px;
  color: var(--c-text-sec);
  user-select: none;
  transition: all 0.15s;
  text-align: center;
  padding: 4px;
}
.fq-food-card svg { width: 22px; height: 22px; stroke: var(--c-text-sec); }
.fq-food-card.selected {
  background: var(--c-blue-tint);
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.fq-food-card.selected svg { stroke: var(--c-blue); }

/* ---- BEREICH SELECTOR ---- */
.fq-bereich-row {
  display: flex;
  gap: 8px;
  padding: 8px 14px 12px;
}

.fq-bereich-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--c-bg-page);
  border: 0.5px solid var(--c-border);
  border-radius: var(--r-card);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-sec);
  user-select: none;
  transition: all 0.15s;
}
.fq-bereich-card svg { stroke: var(--c-text-sec); width: 18px; height: 18px; }
.fq-bereich-card.selected {
  background: var(--c-blue-tint);
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
}
.fq-bereich-card.selected svg { stroke: var(--c-blue); }

/* ---- DESTINATION CHIPS ---- */
.fq-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}

.fq-chip {
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  background: var(--c-bg-page);
  color: var(--c-text-sec);
  border: 0.5px solid var(--c-border);
  user-select: none;
  transition: all 0.15s;
}
.fq-chip.selected {
  background: var(--c-blue);
  color: white;
  border-color: var(--c-blue);
}

/* ---- SUMMARY ---- */
.fq-summary {
  font-size: 11px;
  color: var(--c-blue);
  text-align: right;
  padding: 0 14px 6px;
}

/* ---- BUFFET GRID ---- */
.fq-buffet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
}

.fq-buffet-btn {
  aspect-ratio: 1;
  border-radius: var(--r-card);
  border: 0.5px solid var(--c-border);
  background: var(--c-bg-card);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.fq-buffet-btn.done {
  background: var(--c-green-tint);
  border: 2px solid var(--c-green);
  color: var(--c-green);
}
.fq-buffet-btn.active-sel {
  background: var(--c-blue-tint);
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
}

/* ---- SUCCESS OVERLAY ---- */
.fq-success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255,255,255,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.fq-success-overlay.show { display: flex; }

.fq-success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fqSuccessPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.fq-success-circle svg { width: 40px; height: 40px; stroke: white; stroke-width: 2; }

@keyframes fqSuccessPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.fq-success-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-green);
  margin: 0;
}

/* ---- STATUS BADGES ---- */
.fq-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.fq-badge svg { width: 10px; height: 10px; }
.fq-badge.loaded  { background: var(--c-amber-tint); color: var(--c-amber-dark); }
.fq-badge.loaded svg  { stroke: var(--c-amber-dark); }
.fq-badge.transit { background: var(--c-blue-tint);  color: #0055CC; }
.fq-badge.transit svg { stroke: #0055CC; }
.fq-badge.done    { background: var(--c-green-tint); color: #1A8040; }
.fq-badge.done svg    { stroke: #1A8040; }

/* ---- CARGO PILLS ---- */
.fq-cargo-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.fq-cargo-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  background: var(--c-bg-page);
  border: 0.5px solid var(--c-border);
  border-radius: 20px;
  font-size: 10px;
  color: var(--c-text-sec);
}
.fq-cargo-pill svg { width: 10px; height: 10px; stroke: var(--c-text-sec); }

/* ---- IN-SCREEN TABS ---- */
.fq-inner-tabs {
  display: flex;
  background: var(--c-bg-page);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 16px;
}

.fq-inner-tab {
  flex: 1;
  padding: 7px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--c-text-sec);
  transition: all 0.15s;
}
.fq-inner-tab.active {
  background: var(--c-bg-card);
  color: var(--c-text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ---- SLIDE-UP PANEL ---- */
.fq-overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 500;
}
.fq-overlay-bg.show { display: block; }

.fq-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--c-bg-card);
  border-radius: 20px 20px 0 0;
  z-index: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0 var(--sp) calc(var(--tab-h) + 16px);
}
.fq-panel.show { transform: translateY(0); }

.fq-panel-handle {
  width: 36px;
  height: 4px;
  background: var(--c-border);
  border-radius: 2px;
  margin: 12px auto 16px;
}

.fq-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fq-panel-title { font-size: 17px; font-weight: 600; color: var(--c-text); margin: 0; }

.fq-panel-close {
  background: var(--c-bg-page);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fq-panel-close svg { width: 16px; height: 16px; stroke: var(--c-text-sec); }

/* ---- BUTTONS ---- */
.fq-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-card);
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  transition: opacity 0.15s;
}
.fq-btn:active { opacity: 0.8; }
.fq-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.fq-btn-blue    { background: var(--c-blue);  color: white; }
.fq-btn-green   { background: var(--c-green); color: white; }
.fq-btn-outline { background: none; border: 1.5px solid var(--c-blue); color: var(--c-blue); }
.fq-btn-danger  { background: none; border: 1.5px solid var(--c-red); color: var(--c-red); }

/* ---- TRUCK LIST ROW (Unloader) ---- */
.fq-truck-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--c-border);
  cursor: pointer;
  transition: background 0.1s;
}
.fq-truck-row:last-child { border-bottom: none; }
.fq-truck-row:active { background: var(--c-bg-page); }

.fq-truck-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fq-truck-row-icon.loaded  { background: var(--c-amber-tint); }
.fq-truck-row-icon.transit { background: var(--c-blue-tint); }
.fq-truck-row-icon.done    { background: var(--c-green-tint); }
.fq-truck-row-icon svg { width: 20px; height: 20px; }
.fq-truck-row-icon.loaded svg  { stroke: var(--c-amber-dark); }
.fq-truck-row-icon.transit svg { stroke: #0055CC; }
.fq-truck-row-icon.done svg    { stroke: #1A8040; }

.fq-truck-row-body { flex: 1; min-width: 0; }
.fq-truck-row-name { font-size: 13px; font-weight: 500; color: var(--c-text); }
.fq-truck-row-dest { font-size: 11px; color: var(--c-text-sec); }
.fq-truck-row-chevron svg { width: 16px; height: 16px; stroke: var(--c-border); }

/* ---- HISTORY ---- */
.fq-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 0.5px solid var(--c-border);
}
.fq-history-row:last-child { border-bottom: none; }

.fq-history-left { display: flex; align-items: center; gap: 8px; }

.fq-history-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--c-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fq-history-icon svg { width: 18px; height: 18px; stroke: var(--c-text-sec); }

.fq-history-name { font-size: 13px; font-weight: 500; color: var(--c-text); }
.fq-history-time { font-size: 11px; color: var(--c-text-sec); }

.fq-history-badges { display: flex; gap: 3px; }

.fq-hist-badge {
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
}
.fq-hist-badge.green { background: var(--c-green-tint); color: #1A8040; }
.fq-hist-badge.amber { background: var(--c-amber-tint); color: var(--c-amber-dark); }
.fq-hist-badge.red   { background: var(--c-red-tint);   color: #CC1000; }

/* ---- EMPTY STATE ---- */
.fq-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--c-text-sec);
}
.fq-empty svg { width: 36px; height: 36px; stroke: var(--c-border); display: block; margin: 0 auto 8px; }
.fq-empty p { font-size: 13px; margin: 0; }

/* ---- CARD ACTION BUTTON ---- */
.fq-card-action {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-red);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ---- UTILITIES ---- */
.fq-hidden { display: none !important; }
.fq-mt-8  { margin-top: 8px; }
.fq-mt-16 { margin-top: 16px; }

/* Footer Styling */
.fq-footer-navbar {
  height: var(--footer-height);
}

.fq-footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}

.fq-footer-link i {
  font-size: 1.4rem;
}

.fq-footer-link:hover {
  color: #0d6efd;
}

/* Höhe des Footers */
:root {
  --footer-height: 100px;
}

/* Scrollbarer Main-Bereich */
.fq-main-content {
  min-height: 100vh;
  padding-bottom: var(--footer-height);
  overflow-y: auto;
}

a.fq-footer-link:hover {
  color:greenyellow;
}

.fd-font {
  font-size: 2rem
}

.fd-inactive {
  pointer-events: none;
  color: gray;
}

.fd-title {
  background: gray;
  color: white;
  style-weight: bold;
}

/* ============================================================
   RESPONSIVE v8 — Mobile-first foundation, desktop sidebar nav,
   multi-column screens. This file is the single source of truth.
   Mobile (default, < 768px) is intentionally left untouched.
   ============================================================ */

:root {
  --fq-sidebar-w: 240px;
  --fq-content-max: 1100px;
}

/* Fluid page title across all sizes (mobile floor stays ~23px). */
.fq-page-title { font-size: clamp(23px, 1.2rem + 1.2vw, 30px); }

/* ---------- TABLET (>= 768px): center content at readable width ---------- */
@media (min-width: 768px) {
  .fq-main-content {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Gentle type bump for larger viewports. */
  .fq-page-subtitle { font-size: 14px; }
  .fq-row-label     { font-size: 14px; }
  .fq-row-sub       { font-size: 12px; }
  .fq-btn           { font-size: 16px; padding: 15px; }
  .fq-stepper-val   { font-size: 19px; }
  .fq-section-label { font-size: 11px; }
}

/* ---------- DESKTOP (>= 992px): fixed left sidebar nav ---------- */
@media (min-width: 992px) {
  /* Tab bar -> vertical sidebar pinned to the left edge. */
  .fq-tab-bar {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--fq-sidebar-w);
    max-width: var(--fq-sidebar-w);
    height: 100vh;
    margin: 0;
    padding: 24px 14px;
    gap: 4px;
    border-top: none;
    border-right: 0.5px solid var(--c-border);
    border-radius: 0;
    overflow-y: auto;
  }

  .fq-tab {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 10px;
    transition: background 0.15s;
  }
  .fq-tab svg { width: 20px; height: 20px; }
  .fq-tab span { font-size: 14px; }
  .fq-tab:hover { background: var(--c-bg-page); }
  .fq-tab.active { background: var(--c-blue-tint); }

  /* Main content shifts right of the sidebar; no bottom-bar padding. */
  .fq-main-content {
    margin-left: var(--fq-sidebar-w);
    margin-right: 0;
    max-width: var(--fq-content-max);
    padding: 32px 48px 48px;
  }

  /* Two-column layout helper for screens with independent sections. */
  .fq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  /* Narrow helper: keep list/short-form screens readable, not stretched. */
  .fq-narrow {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Slide-up panel (unloader): clear the sidebar, keep slide animation. */
  .fq-panel {
    left: var(--fq-sidebar-w);
    right: 0;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 24px;
  }
}

/* ---------- WIDE DESKTOP (>= 1200px) ---------- */
@media (min-width: 1200px) {
  .fq-main-content { padding-left: 64px; padding-right: 64px; }
}