/*
 * M4 Product Shell. Scoped to .noviqcare-shell (body class) and the shell's
 * own elements; product surfaces keep their existing styles. Brand values
 * are the existing NoviqCare ones (see provider-dashboard.css). No web font
 * is loaded, nothing is sticky or animated, and the page stays usable if
 * this file fails to load.
 */
.noviqcare-shell {
  --nc-shell-bg: #F8F7F4;
  --nc-shell-surface: #FFFFFF;
  --nc-shell-text: #181A1B;
  --nc-shell-text-secondary: #596268;
  --nc-shell-teal: #00A8A8;
  --nc-shell-teal-dark: #04898A;
  --nc-shell-teal-tint: #E4F5F5;
  --nc-shell-navy: #061A33;
  --nc-shell-border: #E2E5E4;
  --nc-shell-radius-sm: 10px;
  --nc-shell-gutter: 16px;
  margin: 0;
  background: var(--nc-shell-bg);
  color: var(--nc-shell-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.noviqcare-shell__header, .noviqcare-shell__header *, .noviqcare-shell__footer, .noviqcare-shell__footer *, .noviqcare-shell__main { box-sizing: border-box; }

.noviqcare-shell__page { display: flex; flex-direction: column; min-height: 100vh; }

.noviqcare-shell__skip-link {
  position: absolute;
  left: var(--nc-shell-gutter, 16px);
  top: -100px;
  z-index: 100000;
  padding: 12px 16px;
  background: #061A33;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.noviqcare-shell__skip-link:focus { top: 12px; outline: 3px solid #00A8A8; outline-offset: 2px; }

.noviqcare-shell__visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.noviqcare-shell__header {
  background: var(--nc-shell-surface);
  border-bottom: 1px solid var(--nc-shell-border);
}

.noviqcare-shell__bar,
.noviqcare-shell__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px var(--nc-shell-gutter);
}

.noviqcare-shell__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }

.noviqcare-shell__wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nc-shell-navy);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.noviqcare-shell .custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.noviqcare-shell .custom-logo-link img { display: block; width: auto; max-width: 180px; max-height: 40px; height: auto; }

.noviqcare-shell__surface-label {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--nc-shell-teal-tint);
  color: var(--nc-shell-teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.noviqcare-shell__nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }

.noviqcare-shell__nav a,
.noviqcare-shell__action,
.noviqcare-shell__footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--nc-shell-radius-sm);
  color: var(--nc-shell-navy);
  font-weight: 600;
  text-decoration: none;
}
.noviqcare-shell__nav a:hover,
.noviqcare-shell__action:hover,
.noviqcare-shell__footer-link:hover { background: var(--nc-shell-teal-tint); text-decoration: underline; }

.noviqcare-shell__nav a[aria-current="page"] {
  background: var(--nc-shell-teal-tint);
  color: var(--nc-shell-teal-dark);
  box-shadow: inset 0 -3px 0 var(--nc-shell-teal);
}

.noviqcare-shell__actions { display: flex; flex-wrap: wrap; gap: 4px; }
.noviqcare-shell__action { border: 1px solid var(--nc-shell-border); }

.noviqcare-shell__page a:focus-visible,
.noviqcare-shell__main:focus-visible { outline: 3px solid var(--nc-shell-teal); outline-offset: 2px; }
.noviqcare-shell__main:focus:not(:focus-visible) { outline: none; }

.noviqcare-shell__main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px var(--nc-shell-gutter) 40px;
  overflow-wrap: anywhere;
}

.noviqcare-shell__footer {
  border-top: 1px solid var(--nc-shell-border);
  color: var(--nc-shell-text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .noviqcare-shell__main { padding-top: 16px; }
  .noviqcare-shell__nav a, .noviqcare-shell__action { padding: 0 10px; }
}
