/* Certthor theme switch — Dark fill = UR dashboard page bg; Light = white card
   Full solid colors only — no opacity, no gray, no underline. */
:root {
  --ct-brand: #15224e;
  --ct-label: #e6eaeb;
  --ct-theme-light-bg: #ffffff;
  --ct-theme-light-fg: #15224e;
  --ct-theme-dark-bg: #131b25;
  --ct-theme-dark-fg: #e6eaeb;
}

body.skin-light {
  --ct-label: #15224e;
  --ct-brand: #15224e;
}

body.skin-dark {
  --ct-label: #e6eaeb;
  --ct-brand: #2d3340;
}

.ct-theme-sw-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}

.ct-theme-sw-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-label);
}

.ct-theme-sw {
  display: inline-flex;
  border: 1px solid var(--ct-brand);
  overflow: hidden;
  border-radius: 0;
}

.ct-theme-sw__btn {
  appearance: none;
  min-height: 36px;
  min-width: 5.5rem;
  padding: 0.35rem 0.75rem;
  border: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: 0;
  line-height: 1;
}

.ct-theme-sw__btn .material-symbols-sharp,
.ct-theme-sw__btn .material-symbols-outlined {
  font-size: 18px;
}

.ct-theme-sw__btn[data-skin="light"] {
  background: var(--ct-theme-light-bg) !important;
  color: var(--ct-theme-light-fg) !important;
}

.ct-theme-sw__btn[data-skin="dark"] {
  background: var(--ct-theme-dark-bg) !important;
  color: var(--ct-theme-dark-fg) !important;
}

.ct-theme-sw__btn.active {
  font-weight: 800;
}

.ct-theme-sw__btn:focus-visible {
  outline: 2px solid #3bd671;
  outline-offset: 2px;
  z-index: 1;
}

body.skin-light .ct-theme-sw__btn:focus-visible {
  outline-color: #15224e;
}
