﻿/* 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;
}

.topbar {
  flex: 0 0 auto;
  width: 100%;
  background-color: white;
  /* Generic nav button baseline; no forced square size */
  /* Explicit icon-only variant when you truly want a square icon button */
  /* Back button style */
  /* Back button style */
}
.topbar .topbar-display {
  background-color: white;
  height: var(--topbar-h);
  display: flex;
  position: relative;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.topbar .topbar-display .topbar-links {
  /* Icon mask helpers */
}
.topbar .topbar-display .topbar-links .icon-back {
  height: 32px;
  -webkit-mask-image: url("/images/arrow-back.svg");
  mask-image: url("/images/arrow-back.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
}
.topbar .topbar-display .topbar-links .icon {
  flex: 0 0 auto;
  width: 24px;
  height: 32px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.topbar .topbar-display .topbar-links .icon.home {
  transform: translateY(-2px);
  width: 32px;
  height: 32px;
  color: #0076C0;
  -webkit-mask-image: url("/images/home-2.svg");
  mask-image: url("/images/home-2.svg");
}
.topbar .topbar-display .topbar-middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
}
.topbar .topbar-display .topbar-middle img {
  height: 32px;
  width: auto;
  display: block;
}
.topbar .nav-btn,
.topbar .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 */
}
.topbar .nav-btn.icon-only,
.topbar .menu-button-nav.icon-only {
  width: 1.875rem;
  height: 1.875rem;
  padding: 0; /* icon-only usually has tighter padding */
}
.topbar .nav-btn.back,
.topbar .menu-button-nav.back {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color-2);
  padding: 0; /* icon-only usually has tighter padding */
  width: 20px;
  height: 20px;
}
.topbar .nav-btn.home,
.topbar .menu-button-nav.home {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color-2);
  padding-left: 0.2rem;
}
