/* Twee omkeerbare Bob-paletten met dezelfde rustige basis. */
html[data-bob-theme="turquoise"] {
  --deep: #1a2a36;
  --ink: #1a2a36;
  --accent: #3eb1ba;
  --accent-dark: #278b93;
  --accent-soft: rgba(62, 177, 186, 0.18);
  --accent-border: rgba(62, 177, 186, 0.32);
}

html[data-bob-theme="maes-green"] {
  --deep: #1a2a36;
  --ink: #1a2a36;
  --accent: #08a091;
  --accent-dark: #067f74;
  --accent-soft: rgba(8, 160, 145, 0.18);
  --accent-border: rgba(8, 160, 145, 0.32);
}

html[data-bob-theme="maes-blue"] {
  --deep: #1d3c4f;
  --ink: #1d3c4f;
  --accent: #08a091;
  --accent-dark: #067f74;
  --accent-soft: rgba(8, 160, 145, 0.18);
  --accent-border: rgba(8, 160, 145, 0.32);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) {
  --terracotta: #c9654e;
  --red: #c9654e;
  --red-soft: #f8e7e2;
  --shadow: 0 16px 42px rgba(29, 60, 79, 0.08);
  --shadow-soft: 0 8px 22px rgba(29, 60, 79, 0.06);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) body {
  color: #495762;
  background: #f8faf9;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .login-screen {
  background:
    radial-gradient(circle at 20% 18%, var(--accent-soft), transparent 22%),
    radial-gradient(circle at 80% 74%, rgba(201, 101, 78, 0.09), transparent 20%),
    #f1f9f8;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .sidebar {
  background: linear-gradient(180deg, var(--deep) 0%, color-mix(in srgb, var(--deep) 82%, #000) 100%);
  box-shadow: 8px 0 28px rgba(29, 60, 79, 0.14);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-icon {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: rgba(255, 255, 255, 0.82);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item[data-view="dashboard"]::before {
  display: none;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item[data-view="dashboard"] .nav-icon path {
  fill: currentColor;
  stroke: none;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item.active {
  color: #fff;
  background: var(--accent-soft);
  border-color: var(--accent-border);
  box-shadow: inset 3px 0 0 var(--accent);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .nav-item.active .nav-icon {
  color: var(--accent);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .sidebar-footer {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .bob-tip {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .bob-tip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .bob-tip p {
  min-width: 0;
  margin: 0;
  font-size: 0.61rem;
  line-height: 1.3;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) .bob-tip strong {
  color: var(--accent);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.theme-toggle-button, .login-theme-toggle) {
  color: var(--deep);
  background: #fff;
  border-color: var(--accent-border);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.theme-toggle-button, .login-theme-toggle):hover {
  border-color: var(--accent);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(input, select, textarea):focus,
html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(input, select, textarea):focus-visible {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
  outline-offset: 1px;
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.primary-button, button.primary, .pricing-contact-button) {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.primary-button, button.primary, .pricing-contact-button):hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.topbar h2, .brand-row h1) {
  color: var(--deep);
}

html:is([data-bob-theme="turquoise"], [data-bob-theme="maes-green"], [data-bob-theme="maes-blue"]) :is(.brand-row p, #loginBrandTagline) {
  color: #495762;
}

/* Omgekeerde zijbalk: lichte drager, gekleurde navigatieknoppen. */
html[data-sidebar-style="light"] .sidebar {
  color: var(--deep);
  background: #fff;
  border-right: 1px solid #e4ebec;
  box-shadow: 8px 0 28px rgba(29, 60, 79, 0.08);
}

html[data-sidebar-style="light"] :is(.sidebar-brand strong, .sidebar-user-block strong) {
  color: var(--deep);
}

html[data-sidebar-style="light"] :is(.sidebar-brand small, .sidebar-footer, .sidebar-footer span) {
  color: #657681;
}

html[data-sidebar-style="light"] .nav-item {
  color: #354b59;
  background: var(--accent-soft);
  border-color: transparent;
}

html[data-sidebar-style="light"] .nav-icon {
  color: var(--accent-dark);
}

html[data-sidebar-style="light"] .nav-item:hover:not(:disabled) {
  color: var(--deep);
  background: color-mix(in srgb, var(--accent) 25%, white);
  border-color: var(--accent-border);
}

html[data-sidebar-style="light"] .nav-item.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

html[data-sidebar-style="light"] .nav-item.active .nav-icon {
  color: #fff;
}

html[data-sidebar-style="light"] .nav-item:disabled {
  color: #8c989e;
  background: #f3f6f6;
}

html[data-sidebar-style="light"] .sidebar-footer {
  background: #f8faf9;
  border-color: #e4ebec;
}

html[data-sidebar-style="light"] .bob-tip {
  color: #495762;
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

