/* FranGlobal v2 theme — mobile-app design language (teal #1B4A5A, amber #FBAB52, peach #FFF0E0, Poppins).
   Loaded last in every CRM/portal layout; colour utilities in views were remapped to this palette. */
/* Montserrat cyrillic-ext 400 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat cyrillic 400 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat cyrillic-ext 500 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat cyrillic 500 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat cyrillic-ext 600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat cyrillic 600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat cyrillic-ext 700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat cyrillic 700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Poppins latin-ext 400 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins latin 400 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins latin-ext 500 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins latin 500 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins latin-ext 600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins latin 600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins latin-ext 700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins latin 700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --fg-teal: #1B4A5A; --fg-teal-dark: #143A47; --fg-amber: #FBAB52; --fg-amber-dark: #F09A3C;
  --fg-amber-ink: #AD5F0C; --fg-peach: #FFF0E0; --fg-bg: #F6F7F7; --fg-ink: #2E3F44; --fg-muted: #7D898D;
  --fg-line: #ECEFF0; --fg-shadow: 0 6px 18px rgba(27,74,90,.06);
}
html, body, button, input, select, textarea { font-family: 'Poppins', Helvetica, Arial, sans-serif !important; }
body { color: var(--fg-ink); }
h1, h2, h3, h4, .font-headline { font-family: 'Poppins', Helvetica, Arial, sans-serif !important; font-weight: 600; letter-spacing: -.01em; }
.font-bold { font-weight: 600; }
::-webkit-scrollbar-thumb { background: #C9D3D5 !important; }

/* cards: borderless, rounder, soft shadow */
.bg-white.border.rounded-lg, .bg-white.border.rounded-xl, .bg-white.border.rounded-2xl,
.bg-white.rounded-xl.shadow-sm, .bg-white.rounded-2xl.shadow-sm, .bg-white.rounded-xl.shadow, .bg-white.rounded-2xl.shadow {
  border-color: transparent !important; box-shadow: var(--fg-shadow); }
.rounded-xl { border-radius: 18px; }
.rounded-2xl { border-radius: 22px; }
.bg-white.rounded-xl.shadow-xl, .bg-white.rounded-2xl.shadow-xl { box-shadow: 0 18px 40px rgba(27,74,90,.16); }

/* teal hero surfaces get the thin concentric rings of the design */
main div.bg-\[\#1B4A5A\].rounded-xl:not(.absolute):not(.fixed), main div.bg-\[\#1B4A5A\].rounded-2xl:not(.absolute):not(.fixed) { position: relative; overflow: hidden; }
aside.bg-\[\#1B4A5A\] { overflow: hidden; } /* stays position:fixed */
main div.bg-\[\#1B4A5A\].rounded-xl:not(.absolute):not(.fixed)::before, main div.bg-\[\#1B4A5A\].rounded-2xl:not(.absolute):not(.fixed)::before, aside.bg-\[\#1B4A5A\]::before {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.09); box-shadow: 0 0 0 26px rgba(255,255,255,0), inset 0 0 0 26px rgba(255,255,255,0);
  pointer-events: none; }
main div.bg-\[\#1B4A5A\].rounded-xl:not(.absolute):not(.fixed)::after, main div.bg-\[\#1B4A5A\].rounded-2xl:not(.absolute):not(.fixed)::after, aside.bg-\[\#1B4A5A\]::after {
  content: ""; position: absolute; left: -36px; top: -36px; width: 96px; height: 96px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.08); pointer-events: none; }
aside.bg-\[\#1B4A5A\]::before { top: auto; bottom: 60px; }
aside.bg-\[\#1B4A5A\] > * { position: relative; z-index: 1; }
@media (min-width: 1024px) { .fg-tabbar.lg\:hidden { display: none; } }
@media (min-width: 768px) { .fg-tabbar.md\:hidden { display: none; } }

/* primary actions: amber pills (chips/filters stay teal) */
button.bg-\[\#1B4A5A\], input[type=submit].bg-\[\#1B4A5A\],
a.bg-\[\#1B4A5A\].py-2, a.bg-\[\#1B4A5A\].py-2\.5, a.bg-\[\#1B4A5A\].py-3,
button.bg-\[\#FBAB52\], a.bg-\[\#FBAB52\] {
  background-color: var(--fg-amber) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600;
  box-shadow: 0 6px 14px rgba(251,171,82,.28); }
button.bg-\[\#1B4A5A\]:hover, input[type=submit].bg-\[\#1B4A5A\]:hover,
a.bg-\[\#1B4A5A\].py-2:hover, a.bg-\[\#1B4A5A\].py-2\.5:hover, a.bg-\[\#1B4A5A\].py-3:hover,
button.bg-\[\#FBAB52\]:hover, a.bg-\[\#FBAB52\]:hover { background-color: var(--fg-amber-dark) !important; }
button.rounded-full.text-xs.bg-\[\#1B4A5A\], button.px-3.py-1.bg-\[\#1B4A5A\], button.px-2.bg-\[\#1B4A5A\] {
  background-color: var(--fg-teal) !important; box-shadow: none; }
button.rounded-lg.border, button.rounded-xl.border, a.rounded-lg.border.py-2, a.rounded-xl.border.py-2 { border-radius: 999px; }

/* form fields */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), select, textarea {
  border-radius: 12px !important; border-color: #E3E8E9 !important; background-color: #FBFCFC; }
input:focus, select:focus, textarea:focus { border-color: var(--fg-amber) !important; --tw-ring-color: rgba(251,171,82,.45) !important; }
input[type=checkbox], input[type=radio] { color: var(--fg-teal); }

/* tables */
table thead th { color: var(--fg-muted); font-weight: 500; }

/* staff sidebar */
aside.bg-\[\#1B4A5A\] nav a { border-radius: 999px; }
.fg-nav-active { background: var(--fg-amber); color: #fff !important; font-weight: 600; box-shadow: 0 6px 14px rgba(0,0,0,.12); }

/* mobile bottom bar (staff + portal) — icons, active dot, amber FAB with ring */
.fg-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; height: 74px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(27,74,90,.07);
  display: flex; align-items: flex-start; justify-content: space-around; }
.fg-tab { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 52px; padding-top: 6px;
  color: #BFC6C8; font-size: 10px; background: none; border: 0; position: relative; }
.fg-tab svg { width: 23px; height: 23px; }
.fg-tab .fg-dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.fg-tab.is-active { color: var(--fg-teal); }
.fg-tab.is-active .fg-dot { background: var(--fg-teal); }
.fg-fab { width: 54px; height: 54px; margin-top: -4px; border-radius: 50%; background: var(--fg-amber); color: #fff;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--fg-amber), 0 8px 18px rgba(251,171,82,.38);
  display: grid; place-items: center; flex: none; }
.fg-fab svg { width: 24px; height: 24px; }
.fg-badge { position: absolute; top: 0; right: 10px; background: #F22406; color: #fff; border-radius: 999px; min-width: 16px;
  height: 16px; padding: 0 4px; font-size: 9px; display: grid; place-items: center; }

/* two-tone greeting used on home screens */
.fg-hello { font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--fg-ink); letter-spacing: -.01em; }
.fg-hello span { color: var(--fg-amber); }

@media (min-width: 640px) { .fg-hello { font-size: 28px; } }
