﻿@charset "UTF-8";
/* inmediQ variables */
:root {
  /* Primary colours */
  --primary-color-1: #1C3968;
  --primary-color-2: #0076C0;
  --primary-color-3: #575757;
  --primary-color-4: #B6A310;
  --primary-color-1-light1: #465380;
  --primary-color-2-light1: #008DCE;
  --primary-color-3-light1: #878787;
  --primary-color-4-light1: #C5B348;
  --primary-color-1-light2: #71769B;
  --primary-color-2-light2: #6BA8DC;
  --primary-color-3-light2: #B2B2B2;
  --primary-color-4-light2: #D2C479;
  --primary-color-1-light3: #9FA0BB;
  --primary-color-2-light3: #A4C3E8;
  --primary-color-3-light3: #DADADA;
  --primary-color-4-light3: #E3D9A8;
  --primary-color-1-light4: #CECDDD;
  --primary-color-2-light4: #D3E1F4;
  --primary-color-3-light4: #EDEDED;
  --primary-color-4-light4: #F0EBD4;
  /* Secondary colours */
  --secondary-color-1: #E53B11;
  --secondary-color-2: #820B20;
  --secondary-color-3: #F39200;
  --secondary-color-4: #FECC00;
  --secondary-color-5: #009982;
  --secondary-color-6: #00567C;
  --secondary-color-1-light1: #EB6739;
  --secondary-color-2-light1: #9A373D;
  --secondary-color-3-light1: #F7A941;
  --secondary-color-4-light1: #FED633;
  --secondary-color-5-light1: #0AAB9A;
  --secondary-color-6-light1: #357996;
  --secondary-color-1-light2: #F19267;
  --secondary-color-2-light2: #B46563;
  --secondary-color-3-light2: #FAC075;
  --secondary-color-4-light2: #FEE066;
  --secondary-color-5-light2: #68C0B4;
  --secondary-color-6-light2: #6699AF;
  --secondary-color-1-light3: #F8B999;
  --secondary-color-2-light3: #CD9692;
  --secondary-color-3-light3: #FDD5A5;
  --secondary-color-4-light3: #FFEB9A;
  --secondary-color-5-light3: #A6D6CE;
  --secondary-color-6-light3: #99BBCB;
  --secondary-color-1-light4: #FCDECD;
  --secondary-color-2-light4: #E6C9C6;
  --secondary-color-3-light4: #FEEAD3;
  --secondary-color-4-light4: #FFFFC0;
  --secondary-color-5-light4: #D6E8E7;
  --secondary-color-6-light4: #CCDDE5;
  /* Limbs */
  --color-left-limb: #F39200;
  --color-right-limb: #02806D;
}

/* Base layout */
.page {
  /* Important global values, influence quite a lot things */
  --raw-topbar-h: 50px;
  --safe-top-inset: env(safe-area-inset-top, 0px);
  --topband-h: calc(var(--safe-top-inset) + var(--raw-topbar-h));
  --content-pad: 5px;
  /*Overwrite bootstrap stuff here*/
  font-family: "Noto Sans Display", Helvetica, Arial, sans-serif !important;
  display: flex;
  flex-direction: column;
  /* Preferred: dynamic viewport height that tracks iOS toolbars */
  /* Fill the viewport robustly */
  min-height: 100vh;
  background-color: white;
  justify-content: flex-start;
  background: linear-gradient(to bottom, #D3E1F4 0%, #ffffff 40%, #ffffff 50%, #ffffff 70%, #E3D9A8 120%);
}

.topband {
  /* Wir polstern die TopBar NACH UNTEN hin,
     so dass visuell unter dem Notch Platz entsteht */
  padding-top: var(--safe-top-inset);
  /* Höhe der sichtbaren Leiste selbst */
  height: var(--topband-h);
  /* Damit sie nicht hinter Inhalt verschwindet,
     und damit sie bei Scroll oben klebt (falls gewünscht) */
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Hintergrund muss vollflächig sein,
     damit man nicht "hinter den Notch guckt" */
  background-color: #fff;
  /* Layout für das, was in deiner TopBar drin ist */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Safe-area spacer with the same bg as your navbar */
.safe-area-top {
  height: var(--safe-top-inset);
  background-color: white;
  flex: 0 0 auto;
}

/* Prefer -webkit-fill-available on iOS WebView/PWA */
@supports (height: -webkit-fill-available) {
  .page {
    min-height: -webkit-fill-available;
  }
}
/* Modern dynamic viewport as last step */
@supports (height: 100dvh) {
  .page {
    min-height: 100dvh;
  }
}
.main-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  /* Default: "normale" Seiten dürfen vertikal scrollen */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1280px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  margin-left: auto;
  margin-right: auto;
}

/* Dashboard / Welcome landing screen:
   - main-content selbst soll NICHT scrollen,
     weil die Seite ihren eigenen Scroll-Container (welcome-box) hat.
*/
.main-content.main-content--lock {
  overflow: hidden;
}

/* Icon mask helpers */
.icon-back {
  margin-top: 0;
  -webkit-mask-image: url("/images/arrow-back.svg");
  mask-image: url("/images/arrow-back.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.icon-close {
  --icon-mask-image: var(--icon-close-mask-image);
}

.icon-menu {
  --icon-mask-image: var(--icon-menu-mask-image);
}

.icon-log-in {
  --icon-mask-image: var(--icon-log-in-mask-image);
}

.icon-log-out {
  --icon-mask-image: var(--icon-log-out-mask-image);
}

.icon-user {
  --icon-mask-image: var(--icon-user-mask-image);
}

.docs-icon {
  --icon-mask-image: var(--icon-docs-mask-image);
}

.demos-icon {
  --icon-mask-image: var(--icon-demos-mask-image);
}

/* Specific masked icons coming from SVGs */
.menu-icon-login {
  margin-top: 0;
  -webkit-mask-image: url("/images/login.svg");
  mask-image: url("/images/login.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.menu-icon-logout {
  margin-top: 0;
  -webkit-mask-image: url("/images/logout.svg");
  mask-image: url("/images/logout.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.menu-icon-account {
  margin-top: 1px;
  -webkit-mask-image: url("/images/account.svg");
  mask-image: url("/images/account.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
}

/* Hover color for masked icons inside buttons */
.footer-button:hover .demos-icon,
.footer-button:hover .docs-icon,
.menu-button:hover .icon,
.nav-btn:hover .icon {
  background-color: var(--dxbl-btn-hover-color);
}

/* Drawer content stays column-based */
.dxbl-drawer-content {
  display: flex;
  flex-direction: column;
}

/* Generic nav button baseline; no forced square size */
.nav-btn,
.menu-button-nav { /* keep old class name compatible */
  /* Do not fix width/height here to allow text buttons to size naturally */
  background-image: none; /* avoid accidental background glyphs */
  /* You can add spacing tweaks here if needed */
}

/* Explicit icon-only variant when you truly want a square icon button */
.nav-btn.icon-only,
.menu-button-nav.icon-only {
  width: 1.875rem;
  height: 1.875rem;
  padding: 0; /* icon-only usually has tighter padding */
}

/* Back button style */
.nav-btn.back,
.menu-button-nav.back {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color-2);
}

/* Flag image */
.flag {
  width: 24px;
  height: auto;
  display: block;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

/* Optional: small screens tighten gaps a bit */
@media (max-width: 576px) {
  .nav-buttons-container {
    gap: 8px;
  }
  .nav-buttons-container__right {
    gap: 8px;
  }
  .nav-buttons-container .nav-btn.back {
    /* Optional: shorten "Back to Home" on tiny screens if needed */
    /* You could hide text via a responsive class and show only the icon */
  }
}
