/* The Falco Focus website's look (falcofocusmedia.com, css/style.css): charcoal page, brand blue,
   Rubik, bordered rounded boxes like its customer-account pages (.acct-card), 8px-corner blue
   buttons with white text, a footer with a blue line on top. Keep the two looking like one brand. */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/public/fonts/iJWKBXyIfDnIV7nBrXw.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; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/public/fonts/iJWKBXyIfDnIV7nPrXyi0A.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #58b1e3;
  --blue-dark: #3f9bd0;
  --bg: #292929;          /* page */
  --bg-deep: #1d1e20;     /* footer */
  --card: #333436;        /* boxes */
  --well: #26272a;        /* inputs and rows inside boxes */
  --edge: rgba(255,255,255,.1);
  --edge-strong: rgba(255,255,255,.18);
  --text: #ffffff;
  --soft: #d6dbe0;
  --muted: #b9c0c7;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: clip; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 16px/1.55 Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1224px; margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons (website .btn) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--edge-strong); color: var(--text); padding: 8px 18px; font-size: 14px; font-weight: 500; border-radius: 999px; }
.btn--ghost:hover { background: transparent; border-color: var(--blue); color: var(--blue); }

/* ---------- Header (website .header) ---------- */
.top { background: var(--bg); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; }
.top__brand { display: flex; align-items: center; gap: 18px; color: var(--text); text-decoration: none; }
.top__brand img { height: 82px; width: auto; display: block; }
.top__brand span { font-size: 15px; font-weight: 500; color: var(--blue); padding: 6px 14px; border: 1px solid rgba(88,177,227,.45); border-radius: 999px; }
.top__who { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--soft); }
.top__who form { margin: 0; }
.top__team { gap: 8px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #e85d5d; color: #fff; font-size: 13px; font-weight: 700; }

.main { flex: 1; width: 100%; max-width: 1224px; margin: 0 auto; padding: 40px 16px 96px; }

/* ---------- Footer (website .footer) ---------- */
.foot { background: var(--bg-deep); color: #c9cdd2; border-top: 3px solid var(--blue); padding: 36px 0; }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot strong { display: block; color: #fff; font-size: 18px; font-weight: 600; }
.foot p { font-size: 15px; margin-top: 4px; }
.foot__links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot__links a { color: var(--blue); text-decoration: none; font-size: 15px; }
.foot__links a:hover { text-decoration: underline; }

/* ---------- Boxed forms (website .acct-card) ---------- */
.login { width: 100%; max-width: 460px; margin: 24px auto 0; background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.login h1 { font-size: 30px; }
.login > p { color: var(--muted); }
.login .btn { width: 100%; margin-top: 6px; }
.login__links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; padding-top: 6px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--soft); }
.field input { font: inherit; font-size: 16px; color: #fff; background: var(--well); border: 1px solid var(--edge-strong); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.field input.code { font-size: 26px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; padding: 14px; }
.field input[readonly] { color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); }
.msg { padding: 13px 16px; border-radius: 12px; font-size: 15px; border: 1px solid rgba(88,177,227,.45); background: rgba(88,177,227,.1); }
.msg--error { background: rgba(232,93,93,.1); border-color: rgba(232,93,93,.5); }

/* ---------- Dashboard: glass bubbles (Wesley's reference: a phone control centre) ----------
   Light aqua glass with a dark icon, a bright highlight across the top, a soft reflection near
   the bottom and a blue glow, all from gradients and shadows: no images to load. */
.dash { position: relative; isolation: isolate; }
.dash::before { content: ''; position: absolute; z-index: -1; top: -40px; left: 50%; width: 100vw; height: 640px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 45% 60% at 28% 0%, rgba(88,177,227,.18), rgba(88,177,227,0) 70%),
              radial-gradient(ellipse 30% 45% at 80% 15%, rgba(60,170,200,.10), rgba(60,170,200,0) 70%); }
.dash__head { margin-bottom: 36px; }
.dash__date { color: var(--blue); font-size: 15px; font-weight: 500; }
.dash__head h1 { font-size: 46px; font-weight: 700; margin-top: 6px; }
.dash__label { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 18px; }

.bubbles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 32px 20px; margin-bottom: 48px; }
.bubbleLink { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text); text-decoration: none; border-radius: 24px; padding: 8px 4px 12px; }
.bubbleLink__name { font-size: 17px; font-weight: 600; margin-top: 8px; }
.bubbleLink__state { font-size: 13px; color: var(--muted); }

.bubble {
  --s: 132px;
  position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  display: grid; place-items: center; color: #062431;
  background:
    radial-gradient(circle at 50% 118%, rgba(255,255,255,.65), rgba(255,255,255,0) 52%),
    radial-gradient(circle at 50% 42%, #d4f6ff 0%, #9be2f5 34%, #4fb6d8 66%, #1a6886 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.6),
    inset 0 -10px 22px rgba(255,255,255,.35),
    inset 0 12px 24px rgba(6,60,82,.35),
    0 16px 34px rgba(0,0,0,.5),
    0 0 30px rgba(88,177,227,.35);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s;
}
.bubble::before { content: ''; position: absolute; top: 6%; left: 17%; width: 66%; height: 36%; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.15) 70%, rgba(255,255,255,0)); }
.bubble::after { content: ''; position: absolute; right: 21%; bottom: 15%; width: 14%; height: 8%; border-radius: 50%;
  background: rgba(255,255,255,.75); filter: blur(1px); transform: rotate(-30deg); }
.glyph { position: relative; z-index: 1; width: 44%; height: 44%; }
span.glyph { width: auto; height: auto; font-size: calc(var(--s) * .4); font-weight: 700; line-height: 1; }
.bubble--sm { --s: 62px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6), inset 0 -6px 12px rgba(255,255,255,.3), inset 0 6px 12px rgba(6,60,82,.35), 0 6px 16px rgba(0,0,0,.4); }

.bubbleLink:hover .bubble, .bubbleLink:focus-visible .bubble, .pill:hover .bubble, .pill:focus-visible .bubble {
  transform: translateY(-4px) scale(1.05);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.75), inset 0 -10px 22px rgba(255,255,255,.4), inset 0 12px 24px rgba(6,60,82,.3), 0 22px 40px rgba(0,0,0,.5), 0 0 44px rgba(88,177,227,.6);
}
.bubbleLink:active .bubble, .pill:active .bubble { transform: scale(.96); }
.bubbleLink:focus-visible, .pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.badge { position: absolute; z-index: 2; top: 2px; right: 2px; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 999px;
  display: grid; place-items: center; background: #e85d5d; color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 0 0 3px var(--bg), 0 4px 12px rgba(232,93,93,.5); }

.pills { display: flex; flex-wrap: wrap; gap: 18px; }
.pill {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 28px 10px 10px; min-width: 300px; flex: 0 1 360px;
  border-radius: 999px; color: var(--text); text-decoration: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(150,220,245,.22), rgba(88,177,227,.07) 60%, rgba(88,177,227,.12));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -12px 24px rgba(88,177,227,.12), 0 12px 26px rgba(0,0,0,.35);
  transition: border-color .2s, box-shadow .2s;
}
.pill::before { content: ''; position: absolute; top: 3px; left: 40px; right: 24px; height: 40%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); pointer-events: none; }
.pill:hover { border-color: rgba(88,177,227,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -12px 24px rgba(88,177,227,.18), 0 12px 30px rgba(0,0,0,.4), 0 0 26px rgba(88,177,227,.3); }
.pill__text { display: flex; flex-direction: column; min-width: 0; }
.pill__text strong { font-size: 17px; font-weight: 600; }
.pill__text span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .bubble, .pill { transition: none; }
  .bubbleLink:hover .bubble, .bubbleLink:focus-visible .bubble, .pill:hover .bubble, .pill:focus-visible .bubble, .bubbleLink:active .bubble { transform: none; }
}

/* ---------- App pages and the Team page: one wide box ---------- */
.crumb { display: block; max-width: 820px; margin: 0 auto 18px; font-size: 15px; }
.appPage { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.appPage h1 { font-size: 32px; }
.appPage .lead { color: var(--muted); font-size: 17px; }
.appPage h2 { font-size: 20px; margin-top: 14px; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps li::marker { color: var(--blue); font-weight: 600; }
.note { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--edge-strong); color: var(--soft); font-size: 15px; }

.people { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.people li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--well); flex-wrap: wrap; }
.people li + li { border-top: 1px solid rgba(255,255,255,.07); }
.who { display: flex; flex-direction: column; flex: 1 1 240px; min-width: 0; }
.who span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: 14px; }
.actions { display: flex; gap: 8px; }
.inline { margin: 0; }
.small { min-height: 36px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--edge-strong); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.small:hover { border-color: var(--blue); color: var(--blue); }
.small--go { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.small--go:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.tag { font-size: 13px; font-weight: 600; color: var(--blue); background: rgba(88,177,227,.16); border-radius: 999px; padding: 4px 12px; }
.empty { color: var(--muted); padding: 16px 18px; border: 1px dashed var(--edge-strong); border-radius: 14px; }
.addForm { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.addForm .field { flex: 1 1 220px; }

@media (max-width: 760px) {
  .top__inner { height: 76px; }
  .top__brand img { height: 56px; }
  .top__brand span { display: none; }
  .top__email { display: none; }
  .main { padding: 24px 16px 64px; }
  .login, .appPage { padding: 28px 20px; }
  .dash__head h1 { font-size: 34px; }
  .bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .bubbles .bubble { --s: 112px; }
  .pill { min-width: 0; flex: 1 1 100%; }
}
