/* Singlecomm console design, shared with the account console. PatternFly 5 / Keycloak 26.7.4. */
:root {
  --sc-navy: #0b1526; --sc-sidebar: #0f2a44; --sc-red: #d6232a; --sc-blue: #1d6fb0;
  --pf-v5-global--FontFamily--text: 'Outfit', system-ui, sans-serif;
  --pf-v5-global--FontFamily--heading: 'Outfit', system-ui, sans-serif;
  --pf-v5-global--primary-color--100: #1d6fb0;
  --pf-v5-global--primary-color--200: #165a90;
  --pf-v5-global--link--Color: #1d6fb0;
  --pf-v5-global--link--Color--hover: #165a90;
  --pf-v5-global--BackgroundColor--200: #eef2f7;
  --pf-v5-global--Color--100: #0f172a;
  --pf-v5-global--Color--200: #64748b;
}
body { font-family: 'Outfit', system-ui, sans-serif; color: #0f172a; background: #eef2f7; }
body .pf-v5-c-page { --pf-v5-c-page--BackgroundColor: #eef2f7; --pf-v5-c-page__sidebar--Width: 260px; }
body .pf-v5-c-masthead {
  min-height: 60px; padding: 0 24px 0 14px; gap: 16px;
  background: var(--sc-navy); border-left: 6px solid var(--sc-red);
  --pf-v5-c-masthead--BackgroundColor: var(--sc-navy);
  --pf-v5-c-masthead--Color: rgba(255,255,255,.85);
}
.pf-v5-c-masthead .pf-v5-c-toolbar { background: transparent; }
.pf-v5-c-masthead .pf-v5-c-masthead__brand { gap: 20px; min-width: 0; text-decoration: none; }
.pf-v5-c-masthead .pf-v5-c-masthead__brand img { height: 28px; width: auto; max-width: 190px; object-fit: contain; }
.pf-v5-c-masthead__brand::after { content: 'Admin Console'; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 13px; font-weight: 400; white-space: nowrap; }
body[data-page-id=account] .pf-v5-c-masthead__brand::after { content: 'My Account'; }
.pf-v5-c-masthead .pf-v5-c-button.pf-m-plain, .pf-v5-c-masthead .pf-v5-c-menu-toggle.pf-m-plain { width: 36px; min-height: 36px; padding: 8px; border: 0; border-radius: 6px; color: rgba(255,255,255,.75); background: transparent; }
.pf-v5-c-masthead .pf-v5-c-button.pf-m-plain:hover, .pf-v5-c-masthead .pf-v5-c-menu-toggle.pf-m-plain:hover { background: rgba(255,255,255,.08); }
.pf-v5-c-masthead .pf-v5-c-menu-toggle:not(.pf-m-plain) { min-height: 36px; color: white; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; font-size: 14px; font-weight: 500; }
.pf-v5-c-masthead .pf-v5-c-menu-toggle::before, .pf-v5-c-masthead .pf-v5-c-menu-toggle::after { border: 0; }
[data-sc-initials] { position: relative; width: 36px; height: 36px; flex-shrink: 0; }
[data-sc-initials] > .pf-v5-c-avatar { visibility: hidden; }
[data-sc-initials]::after { content: attr(data-sc-initials); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--sc-blue); color: white; font-size: 13px; font-weight: 600; }
body .pf-v5-c-page__sidebar { background: var(--sc-sidebar); --pf-v5-c-page__sidebar--Width: 260px; }
body .pf-v5-c-page__sidebar-body { padding: 16px 12px 24px; }
.pf-v5-c-page__sidebar .pf-v5-c-nav { --pf-v5-c-nav__link--Color: rgba(255,255,255,.85); --pf-v5-c-nav__link--m-current--Color: #fff; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__section { margin-top: 4px; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__section-title { margin: 0; border: 0; padding: 22px 12px 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.pf-v5-c-page__sidebar .pf-v5-c-nav > .pf-v5-c-nav__section-title { padding: 0 12px 12px; font-size: 13px; font-weight: 400; letter-spacing: normal; text-transform: none; color: rgba(255,255,255,.55); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pf-v5-c-page__sidebar .pf-v5-c-label { border-radius: 999px; background: rgba(29,111,176,.35); font-size: 12px; }
.pf-v5-c-page__sidebar .pf-v5-c-label__content { color: #9fd0f5; }
.pf-v5-c-page__sidebar .pf-v5-c-label__content::before { border: 0; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__link { padding: 10px 12px; min-height: 40px; border-radius: 8px; font-size: 15px; line-height: 20px; color: rgba(255,255,255,.85); background: transparent; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__link::after { border: 0; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__link:hover { background: rgba(255,255,255,.07); color: white; }
.pf-v5-c-page__sidebar .pf-v5-c-nav__link.pf-m-current { color: #fff; font-weight: 600; background: rgba(255,255,255,.1); box-shadow: inset 3px 0 var(--sc-red); }
body .pf-v5-c-page__main { min-width: 0; background: #eef2f7; }
body .pf-v5-c-page__main-breadcrumb { background: #eef2f7; padding: 16px 36px 0; }
body .pf-v5-c-page__main-breadcrumb:empty { display: none; }
body .pf-v5-c-page__main-section { background: #eef2f7; padding: 24px 36px; }
body .pf-v5-c-page__main-breadcrumb:empty + .pf-v5-c-page__main-section { padding-top: 32px; }
.pf-v5-c-page__main h1 { font-family: inherit; font-size: 28px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: #0f172a; }
#view-header-subkey { margin-top: 8px; font-size: 15px; color: #64748b; }
.pf-v5-c-page__main .pf-v5-c-tabs { background: transparent; --pf-v5-c-tabs__link--PaddingTop: 10px; --pf-v5-c-tabs__link--PaddingBottom: 10px; --pf-v5-c-tabs__link--PaddingRight: 16px; --pf-v5-c-tabs__link--PaddingLeft: 16px; }
.pf-v5-c-page__main .pf-v5-c-tabs__list { border-bottom: 1px solid #d7dee8; }
.pf-v5-c-page__main .pf-v5-c-tabs__item .pf-v5-c-tabs__link { color: #64748b; background: transparent; font-size: 15px; }
.pf-v5-c-page__main .pf-v5-c-tabs__item .pf-v5-c-tabs__link::before { border: 0; }
.pf-v5-c-page__main .pf-v5-c-tabs__item.pf-m-current .pf-v5-c-tabs__link { color: #0f172a; font-weight: 600; }
.pf-v5-c-page__main .pf-v5-c-tabs__item.pf-m-current .pf-v5-c-tabs__link::after { border: 0; border-bottom: 3px solid var(--sc-red); inset: auto 0 0; height: 3px; }
.pf-v5-c-page__main .pf-v5-c-tabs.pf-m-box { --pf-v5-c-tabs__link--BackgroundColor: transparent; --pf-v5-c-tabs__link--before--BorderColor: transparent; }
.pf-v5-c-page__main .pf-v5-c-tab-content > .pf-v5-c-page__main-section { padding-top: 24px; }
.pf-v5-c-toolbar { font-size: 14px; }
.pf-v5-c-page__main .pf-v5-c-toolbar:not(.pf-v5-u-p-0) { border-radius: 12px 12px 0 0; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; background: white; }
.pf-v5-c-page__main .pf-v5-c-toolbar__content { padding: 0; }
body .pf-v5-c-table { background: white; color: #0f172a; font-size: 14px; border-radius: 0 0 12px 12px; box-shadow: 0 1px 3px rgba(15,42,68,.06),0 8px 24px rgba(15,42,68,.06); }
.pf-v5-c-table thead { background: #f8fafc; }
.pf-v5-c-table thead th { height: 44px; color: #64748b; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 12px 20px; border-bottom: 1px solid #e2e8f0; }
.pf-v5-c-table tbody td, .pf-v5-c-table tbody th { min-height: 52px; padding: 16px 20px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
.pf-v5-c-table tbody tr:hover { background: #f8fafc; }
.pf-v5-c-table a { color: var(--sc-blue); font-weight: 500; }
.pf-v5-c-table .pf-v5-c-label { border-radius: 999px; background: #e8f1fa; font-size: 12px; }
.pf-v5-c-table .pf-v5-c-label__content { color: #165a90; }
.pf-v5-c-table .pf-v5-c-label__content::before { border: 0; }
.pf-v5-c-table .pf-v5-c-button.pf-m-plain { width: 32px; height: 32px; padding: 6px; border-radius: 8px; }
.pf-v5-c-table .pf-v5-c-button.pf-m-plain:hover { background: #e2e8f0; }
body .pf-v5-c-button { border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 500; min-height: 36px; transition: background 150ms ease, box-shadow 150ms ease; }
body .pf-v5-c-button.pf-m-primary { min-height: 40px; font-weight: 600; color: white; background: linear-gradient(180deg,#2079be,#1d6fb0); box-shadow: 0 2px 8px rgba(29,111,176,.3); }
body .pf-v5-c-button.pf-m-primary:hover { background: #165a90; }
body .pf-v5-c-button.pf-m-primary::after { border: 0; }
body .pf-v5-c-button.pf-m-secondary { min-height: 40px; background: white; color: #475569; }
body .pf-v5-c-button.pf-m-secondary::after { border: 1px solid #d7dee8; border-radius: 8px; }
body .pf-v5-c-button:disabled, body .pf-v5-c-button.pf-m-disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
body .pf-v5-c-form-control, body .pf-v5-c-search-input { border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; min-height: 40px; transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease; }
body .pf-v5-c-form-control::before, body .pf-v5-c-form-control::after, body .pf-v5-c-search-input::before, body .pf-v5-c-search-input::after { border: 0; }
body .pf-v5-c-form-control:focus-within, body .pf-v5-c-search-input:focus-within { border-color: var(--sc-blue); background: #fff; box-shadow: 0 0 0 3px rgba(29,111,176,.15); }
body .pf-v5-c-form-control input, body .pf-v5-c-form-control textarea, body .pf-v5-c-search-input__text-input { font-family: inherit; color: #0f172a; font-size: 14px; }
body .pf-v5-c-form-control.pf-m-error { border-color: var(--sc-red); }
body .pf-v5-c-form__label-text { color: #475569; font-size: 13px; font-weight: 500; }
body .pf-v5-c-form { --pf-v5-c-form--GridGap: 24px; }
body .pf-v5-c-card, body .pf-v5-c-modal-box { border-radius: 12px; box-shadow: 0 1px 3px rgba(15,42,68,.06),0 8px 24px rgba(15,42,68,.06); }
body .pf-v5-c-modal-box { background: white; }
body .pf-v5-c-menu, body .pf-v5-c-dropdown__menu { border-radius: 8px; }
body .pf-v5-c-menu-toggle:not(.pf-m-plain) { border-radius: 8px; }
body .pf-v5-c-alert { border-radius: 8px; }
body .pf-v5-c-pagination { background: transparent; font-size: 13px; }
body .pf-v5-c-empty-state { background: white; border-radius: 12px; }
body .keycloak__loading-container { color: #0f172a; background: #eef2f7; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(29,111,176,.5); outline-offset: 3px; }
@media (max-width: 1000px) { .pf-v5-c-masthead__brand::after { display: none; } }
@media (max-width: 767px) {
  body .pf-v5-c-masthead { padding-right: 12px; gap: 8px; }
  .pf-v5-c-masthead .pf-v5-c-masthead__brand img { height: 24px; max-width: 145px; }
  body .pf-v5-c-page__main-section { padding: 20px 16px; }
  body .pf-v5-c-page__main-breadcrumb { padding: 16px 16px 0; }
  .pf-v5-c-page__main h1 { font-size: 24px; }
  .pf-v5-c-page__main .pf-v5-c-toolbar:not(.pf-v5-u-p-0) { padding: 12px; }
  .pf-v5-c-page__main .pf-v5-c-toolbar__content-section { flex-wrap: wrap; }
  .pf-v5-c-table tbody td, .pf-v5-c-table tbody th { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
/* Match the handoff's inset table card and compact header without changing table semantics. */
.pf-v5-c-masthead .pf-v5-c-toolbar { padding: 0; }
.pf-v5-c-masthead .pf-v5-c-masthead__content { min-height: 60px; }
.pf-v5-c-page__main-section > .pf-v5-c-tabs { margin-inline: 36px; }
.pf-v5-c-page__main-section > .pf-v5-c-tabs .pf-v5-c-tabs__list { padding-inline: 0; }
.pf-v5-c-tab-content:has(> [data-testid=table-toolbar]) { margin: 24px 36px 48px; border-radius: 12px; }
[data-testid=table-toolbar] + hr { display: none; }
body .pf-v5-c-text-input-group { min-height: 40px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
body .pf-v5-c-text-input-group::before, body .pf-v5-c-text-input-group::after { border: 0; }
body .pf-v5-c-text-input-group:focus-within { border-color: var(--sc-blue); box-shadow: 0 0 0 3px rgba(29,111,176,.15); background: white; }
[data-testid=table-search-input] { width: 260px; max-width: 100%; }
[data-testid=table-search-input] .pf-v5-c-text-input-group { border-radius: 8px 0 0 8px; }
[data-testid=table-search-input] .pf-v5-c-button.pf-m-control { min-height: 40px; border-radius: 0 8px 8px 0; }
[data-testid=importClient].pf-v5-c-button { min-height: 40px; border: 1px solid #d7dee8; color: #475569; background: white; }
.pf-v5-c-table[aria-label=Clients] { table-layout: fixed; }
.pf-v5-c-table[aria-label=Clients] th:nth-child(1), .pf-v5-c-table[aria-label=Clients] th:nth-child(2) { width: 20%; }
.pf-v5-c-table[aria-label=Clients] th:nth-child(3) { width: 17%; }
.pf-v5-c-table[aria-label=Clients] th:nth-child(4) { width: 13%; }
.pf-v5-c-table[aria-label=Clients] th:nth-child(5) { width: 25%; }
.pf-v5-c-table[aria-label=Clients] td { height: 52px; padding: 10px 20px; }
.pf-v5-c-table[aria-label=Clients] .pf-v5-c-table__action { width: 48px; padding: 8px; }
.pf-v5-c-table[aria-label=Clients] a[data-testid^=client-home-url] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-type-pill { display: inline-block; white-space: nowrap; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #165a90; background: #e8f1fa; }
@media (max-width: 767px) {
  .pf-v5-c-page__main-section > .pf-v5-c-tabs { margin-inline: 16px; }
  .pf-v5-c-tab-content:has(> [data-testid=table-toolbar]) { margin: 20px 16px 32px; }
  .pf-v5-c-table[aria-label=Clients] td { height: auto; padding: 10px 12px; }
}
.pf-v5-c-table td.sc-protocol-cell { position: relative; isolation: isolate; white-space: nowrap; color: #165a90; font-size: 12px; font-weight: 500; }
.pf-v5-c-table td.sc-protocol-cell::before { content: ''; position: absolute; z-index: -1; left: 12px; top: 50%; transform: translateY(-50%); width: 104px; height: 25px; border-radius: 999px; background: #e8f1fa; }
.keycloak__dashboard_icon { background: #0b1526; border-radius: 12px; padding: 16px; width: 240px; height: auto; }
.kc-logo-text { background-image: url('../img/singlecomm-logo.png') !important; background-color: #0b1526; background-size: contain; background-position: center; background-repeat: no-repeat; border-radius: 8px; }
.kc-logo-text span { visibility: hidden; }
@media (max-width: 767px) {
  .pf-v5-c-masthead .pf-v5-c-toolbar__item:has(> .pf-v5-c-avatar), .pf-v5-c-masthead #help { display: none; }
  .pf-v5-c-masthead .pf-v5-c-menu-toggle__text { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .pf-v5-c-masthead .pf-v5-c-masthead__content { margin: 0; min-width: 0; }
  .pf-v5-c-masthead .pf-v5-c-toolbar__content { padding: 0; }
  .pf-v5-c-masthead .pf-v5-c-toolbar__content-section { gap: 4px; }
  .pf-v5-c-masthead .pf-v5-c-menu-toggle:not(.pf-m-plain) { padding: 6px; }
  .pf-v5-c-table td.sc-protocol-cell::before { left: auto; right: 4px; }
}
body .pf-v5-c-wizard { border-radius: 12px; box-shadow: 0 1px 3px rgba(15,42,68,.06),0 8px 24px rgba(15,42,68,.06); }
body .pf-v5-c-wizard__nav { border-radius: 12px 0 0 12px; }
body .pf-v5-c-wizard__footer { border-radius: 0 0 12px 0; }
body .pf-v5-c-menu-toggle::before, body .pf-v5-c-menu-toggle::after { border-radius: inherit; }
body .pf-v5-c-menu-toggle:not(.pf-m-plain):not(.pf-m-plainText) { background: #f8fafc; border-radius: 8px; }
.pf-v5-c-masthead .pf-v5-c-menu-toggle:not(.pf-m-plain):not(.pf-m-plainText) { background: rgba(255,255,255,.06); }
@media (max-width: 767px) {
  .pf-v5-c-table.pf-m-grid-md tbody tr { display: flex; flex-direction: column; margin-bottom: 12px; padding: 12px; background: white; border-radius: 12px; }
  .pf-v5-c-table.pf-m-grid-md tbody td { display: block; width: 100%; min-width: 0; height: auto; min-height: 0; padding: 10px 8px; }
  .pf-v5-c-table.pf-m-grid-md tbody td::before { content: attr(data-label); display: block; position: static; width: auto; height: auto; transform: none; background: none; color: #64748b; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 4px; }
  .pf-v5-c-table.pf-m-grid-md tbody td.pf-v5-c-table__action { order: -1; width: 100%; padding: 0; text-align: right; border: 0; }
  .pf-v5-c-table.pf-m-grid-md tbody td.pf-v5-c-table__action::before { display: none; }
  .pf-v5-c-table.pf-m-grid-md .pf-v5-c-table__text { width: 100%; }
}
