/* Outlawz Bestanden: de web-client van SFTPGo in de stijl van Outlawz Cloud (apps/dashboard in
   outlawz-team/cloud: app/globals.css en de header). Een lichte pagina (#f5f5f4) met witte kaarten,
   bovenaan het logo in een zwart rondje en een zwevende zwarte pil met waar je bent (in hoofdletters),
   Inter, en goud #ffb800 spaarzaam: het logo en één actie. Zelfde aanpak als Mailpit (mailpit/v3).
   SFTPGo zet dit bestand na zijn eigen stylesheet (branding extra_css). Het is Bootstrap 5 met het
   Keen-thema: waar het kan via de variabelen --bs-*. Na een update van SFTPGo nalopen. */

:root,
[data-bs-theme=light] {
  --outlawz-goud: #ffb800;
  --outlawz-pagina: #f5f5f4;
  --outlawz-kaart: #ffffff;
  --outlawz-rand: #e1e1e1;
  --outlawz-hover: rgba(10, 10, 10, .035);
  --outlawz-muted: #545454;
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #0a0a0a;
  --bs-body-bg: #f5f5f4;
  --bs-app-bg-color: #f5f5f4;
  --bs-page-bg: #f5f5f4;
  --bs-app-blank-bg-color: #f5f5f4;
  --bs-gray-600: #545454;
  --bs-text-muted: #545454;
  --bs-text-gray-600: #545454;
  --bs-border-color: #e1e1e1;
  --bs-primary: #000000;
  --bs-primary-rgb: 0, 0, 0;
  --bs-primary-active: #262626;
  --bs-primary-light: #ebebea;
  --bs-primary-inverse: #ffffff;
  --bs-text-primary: #0a0a0a;
  --bs-link-color: #0a0a0a;
  --bs-link-color-rgb: 10, 10, 10;
  --bs-link-hover-color: #545454;
  --bs-link-hover-color-rgb: 84, 84, 84;
  --bs-component-active-bg: #000000;
  --bs-component-hover-color: #0a0a0a;
  --bs-focus-ring-color: rgba(255, 184, 0, .45);
  --bs-card-bg: #ffffff;
  --bs-card-box-shadow: none;
  --bs-border-radius: .5rem;
}

[data-bs-theme=dark] {
  --outlawz-pagina: #0b0b0b;
  --outlawz-kaart: #141414;
  --outlawz-rand: rgba(255, 255, 255, .1);
  --outlawz-hover: rgba(255, 255, 255, .05);
  --outlawz-muted: #a3a3a3;
  --bs-body-color: #f2f2f2;
  --bs-body-bg: #0b0b0b;
  --bs-app-bg-color: #0b0b0b;
  --bs-page-bg: #0b0b0b;
  --bs-app-blank-bg-color: #0b0b0b;
  --bs-gray-600: #a3a3a3;
  --bs-text-muted: #a3a3a3;
  --bs-border-color: rgba(255, 255, 255, .1);
  --bs-primary: #ffffff;
  --bs-primary-rgb: 255, 255, 255;
  --bs-primary-active: #e1e1e1;
  --bs-primary-light: #1f1f1f;
  --bs-primary-inverse: #000000;
  --bs-text-primary: #f2f2f2;
  --bs-link-color: #f2f2f2;
  --bs-link-color-rgb: 242, 242, 242;
  --bs-link-hover-color: #a3a3a3;
  --bs-component-active-bg: #ffffff;
  --bs-card-bg: #141414;
}

body,
.app-root,
.app-page,
.app-wrapper,
.app-main,
.app-blank {
  font-family: var(--bs-body-font-family);
  background-color: var(--outlawz-pagina) !important;
  -webkit-font-smoothing: antialiased;
}

/* ── Geen zijbalk: er is maar één onderdeel (Files) ──────────────────────────────────────────────── */

#kt_app_sidebar,
#kt_app_sidebar_mobile_toggle,
.drawer-overlay {
  display: none !important;
}

body {
  --bs-app-sidebar-width: 0px !important;
  --bs-app-sidebar-width-actual: 0px !important;
  --bs-app-header-height: 84px !important;
  --bs-app-header-height-actual: 84px !important;
}

.app-wrapper,
.app-header {
  margin-left: 0 !important;
  left: 0 !important;
}

/* ── Bovenaan: het logo in een zwart rondje en een zwevende zwarte pil, zoals Outlawz Cloud ──────── */

#kt_app_header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 84px !important;
  pointer-events: none;
}

#kt_app_header_container {
  justify-content: center !important;
  align-items: center !important;
  gap: .75rem;
  padding-top: 1rem;
}

/* Het logo: altijd zichtbaar (SFTPGo toont het hier alleen op een smal scherm) */
#kt_app_header_container > div:first-child {
  display: flex !important;
  margin: 0 !important;
  pointer-events: auto;
}

#kt_app_header_container > div:first-child > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .1);
}

#kt_app_header_container > div:first-child img {
  height: 26px !important;
}

/* De pil: waar je bent links, thema en gebruikersmenu rechts */
#kt_app_header_navbar {
  flex-grow: 0 !important;
  align-items: center;
  gap: 1.25rem;
  height: 52px;
  padding: .5rem .5rem .5rem 1.25rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .25);
  pointer-events: auto;
}

[data-bs-theme=dark] #kt_app_header_navbar,
[data-bs-theme=dark] #kt_app_header_container > div:first-child > span {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1);
}

#kt_app_header_navbar > .app-navbar-item {
  flex-grow: 0 !important;
  margin: 0 !important;
}

/* BESTANDEN, dan een dun streepje, zoals tussen DASHBOARD en het zoekveld in Outlawz Cloud */
#kt_app_header_navbar > .app-navbar-item {
  display: flex !important;
  align-items: center;
  gap: 1.25rem;
}

#kt_app_header_navbar > .app-navbar-item::before {
  content: "Bestanden";
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

#kt_app_header_navbar > .app-navbar-item::after {
  content: "";
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .15);
}

#kt_app_header_navbar > .app-navbar-item + div {
  gap: .125rem;
}

/* De knoppen: rond, 40 px, één lijnicoon van 18 px (lijndikte 2) in #a3a3a3, bij hover wit op een
   zachte achtergrond; zoals de knoppen in de pil van Outlawz Cloud. De iconen van SFTPGo (Keen,
   "duotone" met een halfdoorzichtige vulling) gaan weg; de lijniconen zijn die van Lucide (ISC). */
#kt_app_header_navbar .btn.btn-icon {
  position: relative;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #a3a3a3 !important;
  transition: background-color .3s, color .3s;
}

#kt_app_header_navbar .btn.btn-icon > i {
  display: none !important;
}

#kt_app_header_navbar .btn.btn-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--outlawz-icoon) center / contain no-repeat;
  mask: var(--outlawz-icoon) center / contain no-repeat;
}

#kt_app_header_navbar .btn.btn-icon:hover,
#kt_app_header_navbar .btn.btn-icon.show,
#kt_app_header_navbar .btn.btn-icon.menu-dropdown {
  background: rgba(255, 255, 255, .08) !important;
  color: #ffffff !important;
}

#kt_app_header_navbar .btn.btn-icon:focus-visible {
  outline: 2px solid var(--outlawz-goud);
  outline-offset: 1px;
}

#kt_app_header_navbar .btn.btn-icon:has(.ki-information-2) {
  --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

/* Thema: een zon in het lichte thema, een maan in het donkere */
#kt_app_header_navbar .btn.btn-icon:has(.ki-night-day) {
  --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E");
}

[data-bs-theme=dark] #kt_app_header_navbar .btn.btn-icon:has(.ki-night-day) {
  --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E");
}

/* Het account: een goud rondje met het poppetje in zwart, zoals de avatar in Outlawz Cloud */
#kt_app_header_navbar .btn.btn-icon:has(> .ki-user) {
  --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E");
  color: #000000 !important;
  margin-left: .25rem !important;
}

#kt_app_header_navbar .btn.btn-icon:has(> .ki-user)::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--outlawz-goud);
  transition: box-shadow .3s;
}

#kt_app_header_navbar .btn.btn-icon:has(> .ki-user)::before {
  z-index: 1;
  width: 16px;
  height: 16px;
}

#kt_app_header_navbar .btn.btn-icon:has(> .ki-user):hover,
#kt_app_header_navbar .btn.btn-icon:has(> .ki-user).show {
  background: transparent !important;
  color: #000000 !important;
}

#kt_app_header_navbar .btn.btn-icon:has(> .ki-user):hover::after,
#kt_app_header_navbar .btn.btn-icon:has(> .ki-user).show::after {
  box-shadow: 0 0 0 2px rgba(255, 184, 0, .35);
}

#kt_app_header_navbar .ms-2,
#kt_app_header_navbar .ms-lg-3 {
  margin-left: 0 !important;
}

/* Het menu dat uit de pil openklapt: een witte kaart */
.menu-sub-dropdown {
  border: 1px solid var(--outlawz-rand);
  border-radius: 14px !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .25) !important;
  background-color: var(--outlawz-kaart) !important;
}

.menu-sub-dropdown .menu-link:hover,
.menu-sub-dropdown .menu-link.active {
  background-color: var(--outlawz-hover) !important;
  color: var(--bs-body-color) !important;
}

/* ── Inhoud ──────────────────────────────────────────────────────────────────────────────────────── */

#kt_app_content_container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.card {
  background-color: var(--outlawz-kaart) !important;
  border: 1px solid var(--outlawz-rand) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.card .card-header {
  border-bottom: 1px solid var(--outlawz-rand) !important;
}

.card-title,
.card-title h3,
h1, h2, h3 {
  color: var(--bs-body-color) !important;
  letter-spacing: -.01em;
}

/* Kopjes van de tabel als de labels van het dashboard: klein, in hoofdletters, grijs */
table thead th,
table thead th .dt-column-title {
  color: var(--outlawz-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.table tbody tr:hover > * {
  background-color: var(--outlawz-hover) !important;
}

.table > :not(caption) > * > * {
  border-bottom-color: var(--outlawz-rand) !important;
}

/* Mappen grijs-zwart in plaats van blauw */
.ki-folder,
.ki-folder .path1::before,
.ki-folder .path2::before,
.ki-file,
.ki-file .path1::before,
.ki-file .path2::before {
  color: var(--outlawz-muted) !important;
}

a.text-gray-800:hover,
a.text-hover-primary:hover,
.text-hover-primary:hover {
  color: var(--outlawz-muted) !important;
}

/* Kruimelpad (Home / 2026 / 11) */
.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
  color: var(--bs-body-color) !important;
}

/* ── Knoppen: zwart, of goud voor de ene hoofdactie ──────────────────────────────────────────────── */

.btn {
  border-radius: 8px !important;
  font-weight: 500;
}

.btn.btn-primary {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.btn.btn-primary:hover:not(:disabled) {
  background-color: #262626 !important;
}

[data-bs-theme=dark] .btn.btn-primary {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

/* Uploaden is de hoofdactie van de pagina: goud, zoals "New site" in het dashboard */
.btn.btn-primary[data-bs-target="#modal_upload"],
[data-bs-theme=dark] .btn.btn-primary[data-bs-target="#modal_upload"] {
  background-color: var(--outlawz-goud) !important;
  border-color: var(--outlawz-goud) !important;
  color: #000000 !important;
  font-weight: 600;
}

.btn.btn-primary[data-bs-target="#modal_upload"] i,
.btn.btn-primary[data-bs-target="#modal_upload"] .path1::before,
.btn.btn-primary[data-bs-target="#modal_upload"] .path2::before {
  color: #000000 !important;
}

.btn.btn-light,
.btn.btn-light-primary,
.btn.btn-secondary,
.btn.btn-active-light-primary.active {
  background-color: var(--outlawz-pagina) !important;
  border: 1px solid var(--outlawz-rand) !important;
  color: var(--bs-body-color) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05) !important;
}

.btn.btn-light-primary i,
.btn.btn-light-primary .path1::before,
.btn.btn-light-primary .path2::before {
  color: var(--bs-body-color) !important;
}

.btn.btn-light:hover,
.btn.btn-light-primary:hover {
  background-color: var(--outlawz-hover) !important;
}

.form-check-input:checked {
  background-color: #000000;
  border-color: #000000;
}

[data-bs-theme=dark] .form-check-input:checked {
  background-color: #ffffff;
  border-color: #ffffff;
}

.form-control,
.form-select {
  border-radius: 8px !important;
  border: 1px solid var(--outlawz-rand) !important;
  background-color: var(--outlawz-kaart) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--outlawz-goud) !important;
  box-shadow: 0 0 0 3px rgba(255, 184, 0, .25) !important;
}

.page-item.active .page-link,
.pagination .page-item.active .page-link {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 8px;
}

[data-bs-theme=dark] .pagination .page-item.active .page-link {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* ── Inloggen ────────────────────────────────────────────────────────────────────────────────────── */

.app-blank .card,
.app-blank form,
.app-blank .bg-body {
  border-radius: 14px !important;
}

.app-blank .bg-body {
  background-color: var(--outlawz-kaart) !important;
  border: 1px solid var(--outlawz-rand);
  box-shadow: none !important;
}

/* Logo boven de naam, in het midden: het zwarte rondje met het gouden logo, daaronder BESTANDEN */
.app-blank #sign_in_form .row.align-items-center {
  flex-direction: column;
  gap: .875rem;
  margin: 0 0 .5rem;
}

.app-blank #sign_in_form .row.align-items-center > [class*="col-"] {
  width: auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.app-blank #sign_in_form img[alt="Logo"] {
  box-sizing: border-box;
  width: 64px !important;
  height: 64px !important;
  padding: 15px;
  border-radius: 999px;
  background: #000000;
  object-fit: contain;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .1);
}

.app-blank #sign_in_form h1 {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--bs-body-color) !important;
}

.app-blank .w-lg-500px {
  max-width: 420px;
}

.app-blank .form-control {
  height: 40px;
  background-color: var(--outlawz-kaart) !important;
}

.app-blank #sign_in_submit {
  height: 40px;
  font-weight: 600;
}

/* Het menu uit de pil: donkere tekst op de witte kaart (de pil zelf heeft witte tekst, en die erfde het
   menu, waardoor de gebruikersnaam wit op wit stond) */
#kt_app_header_navbar .menu-sub-dropdown {
  color: var(--bs-body-color);
  padding: .375rem 0 !important;
  min-width: 220px;
}

.menu-sub-dropdown .menu-content,
.menu-sub-dropdown .menu-content span {
  color: var(--bs-body-color) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.menu-sub-dropdown .menu-content i {
  color: var(--outlawz-muted);
}

.menu-sub-dropdown .menu-link,
.menu-sub-dropdown .menu-title {
  color: var(--bs-body-color) !important;
  font-size: 14px !important;
  font-weight: 500;
  border-radius: 8px;
}

.menu-sub-dropdown .menu-link .menu-icon i {
  color: var(--outlawz-muted);
}

.menu-sub-dropdown .separator {
  border-bottom-color: var(--outlawz-rand) !important;
  margin: .25rem 0 !important;
}

/* Footer: geen versienummer (dat hoeft een bezoeker niet te zien), wel de naamsvermelding die de
   NOTICE van SFTPGo vraagt; de link naar de broncode staat op de inlogpagina (branding disclaimer) */
#kt_app_footer .text-gray-700 {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--outlawz-muted) !important;
}

#kt_app_footer .text-gray-700 a {
  color: var(--outlawz-muted) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-blank a[href*="github.com/drakkan/sftpgo"] {
  font-size: 12px;
  color: var(--outlawz-muted) !important;
}

/* ICONEN-BEGIN */
/* ── Iconen: lijniconen van Lucide (ISC), zoals in Outlawz Cloud ─────────────────────────────────
   SFTPGo gebruikt de iconen van Keen ("duotone" met een halfdoorzichtige vulling, of massief). Elk
   icoon wordt een masker in de tekstkleur (currentColor), met lijndikte 2. Gemaakt door iconen.py in
   de proef; staat er een nieuw Keen-icoon in een volgende versie van SFTPGo, dan valt dat hier niet
   onder en blijft het zoals het was. */

i.ki-duotone, i.ki-solid, i.ki-outline {
  display: inline-block !important;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  font-size: 18px !important;
  line-height: 1;
  vertical-align: -.15em;
  background-color: currentColor;
  -webkit-mask: var(--outlawz-icoon, none) center / contain no-repeat;
  mask: var(--outlawz-icoon, none) center / contain no-repeat;
}

i.ki-duotone > *, i.ki-solid > *, i.ki-outline > *,
i.ki-duotone::before, i.ki-solid::before, i.ki-outline::before {
  display: none !important;
  content: none !important;
}

/* Klein in knoppen en menu's, groot in de vensters (meldingen, het uploadvlak) */
.btn i.ki-duotone, .btn i.ki-solid, .menu i.ki-duotone, .input-group i.ki-duotone,
.breadcrumb i.ki-duotone, i.ki-right { font-size: 16px !important; }
i.fs-3x, i.fs-2tx, i.fs-5x, .dropzone i.ki-duotone { font-size: 40px !important; }

i.ki-abstract-14 { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E"); }
i.ki-add-folder { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
i.ki-arrow-right-left { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 4 4-4 4'/%3E%3Cpath d='M20 7H4'/%3E%3Cpath d='m8 21-4-4 4-4'/%3E%3Cpath d='M4 17h16'/%3E%3C/svg%3E"); }
i.ki-arrow-up { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E"); }
i.ki-arrow-up-right { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E"); }
i.ki-check { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
i.ki-check-square { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
i.ki-cross { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); }
i.ki-dots-square { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E"); }
i.ki-down { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
i.ki-external-drive { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3Cpath d='M6 16h.01'/%3E%3Cpath d='M10 16h.01'/%3E%3C/svg%3E"); }
i.ki-eye { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
i.ki-eye-slash { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49'/%3E%3Cpath d='M14.084 14.158a3 3 0 0 1-4.242-4.242'/%3E%3Cpath d='M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E"); }
i.ki-fasten { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
i.ki-file { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E"); }
i.ki-file-right { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 18 3-3-3-3'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M4 11V4a2 2 0 0 1 2-2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7'/%3E%3C/svg%3E"); }
i.ki-file-up { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M12 12v6'/%3E%3Cpath d='m15 15-3-3-3 3'/%3E%3C/svg%3E"); }
i.ki-folder { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
i.ki-folder-down { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='m15 13-3 3-3-3'/%3E%3C/svg%3E"); }
i.ki-folder-up { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M12 3v12'/%3E%3C/svg%3E"); }
i.ki-home { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
i.ki-information-2 { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E"); }
i.ki-information-5 { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E"); }
i.ki-magnifier { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
i.ki-moon { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E"); }
i.ki-night-day { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E"); }
i.ki-outlawz-afbeelding { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E"); }
i.ki-outlawz-archief { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 12v-1'/%3E%3Cpath d='M10 18v-2'/%3E%3Cpath d='M10 7V6'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01'/%3E%3Ccircle cx='10' cy='20' r='2'/%3E%3C/svg%3E"); }
i.ki-outlawz-audio { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
i.ki-outlawz-document { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }
i.ki-outlawz-pdf { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }
i.ki-outlawz-rekenblad { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M8 13h2'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8 17h2'/%3E%3Cpath d='M14 17h2'/%3E%3C/svg%3E"); }
i.ki-outlawz-video { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M7 3v18'/%3E%3Cpath d='M3 7.5h4'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M3 16.5h4'/%3E%3Cpath d='M17 3v18'/%3E%3Cpath d='M17 7.5h4'/%3E%3Cpath d='M17 16.5h4'/%3E%3C/svg%3E"); }
i.ki-plus { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E"); }
i.ki-question-2 { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }
i.ki-right { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
i.ki-screen { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3C/svg%3E"); }
i.ki-share { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98'/%3E%3Cpath d='m15.41 6.51-6.82 3.98'/%3E%3C/svg%3E"); }
i.ki-shield { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); }
i.ki-shield-tick { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
i.ki-trash { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6'/%3E%3Cpath d='M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E"); }
i.ki-user { --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E"); }

/* ICONEN-EIND */

/* Iconen van bestanden en mappen in de lijst: grijs, zoals de iconen in Outlawz Cloud */
#file_manager_list i.ki-folder,
#file_manager_list i.ki-file,
#file_manager_list i.ki-file-right {
  color: var(--outlawz-muted) !important;
  font-size: 18px !important;
}

/* Knop met icoon en tekst: ruimte ertussen, zoals "+ New site" in Outlawz Cloud */
.btn.btn-flex:has(> i) {
  gap: .5rem;
}

.btn.btn-flex > i {
  margin: 0 !important;
}

/* Actief item in een menu (thema Auto/Licht/Donker): niet blauw, maar de tekstkleur op een zachte achtergrond */
.menu-sub-dropdown .menu-link.active,
.menu-sub-dropdown .menu-link.active .menu-title,
.menu-sub-dropdown .menu-link.active .menu-icon i {
  color: var(--bs-body-color) !important;
  background-color: var(--outlawz-hover) !important;
}

/* Vensters (uploaden, map maken, meldingen): een witte kaart, zoals de dialogen van Outlawz Cloud */
.modal-content {
  background-color: var(--outlawz-kaart) !important;
  border: 1px solid var(--outlawz-rand) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15), 0 8px 10px -6px rgba(0, 0, 0, .1) !important;
}

.modal-header,
.modal-footer {
  border-color: var(--outlawz-rand) !important;
}

.dropzone {
  background-color: var(--outlawz-pagina) !important;
  border: 1px dashed #c9c9c9 !important;
  border-radius: 10px !important;
}

/* Hover en focus van de gouden knop: iets donkerder goud, niet de hover van de zwarte knoppen */
.btn.btn-primary[data-bs-target="#modal_upload"]:hover:not(:disabled),
.btn.btn-primary[data-bs-target="#modal_upload"]:focus,
.btn.btn-primary[data-bs-target="#modal_upload"]:active {
  background-color: #f0ad00 !important;
  border-color: #f0ad00 !important;
  color: #000000 !important;
}

/* Verborgen iconen blijven verborgen: SFTPGo wisselt iconen met d-none (wachtwoord tonen/verbergen) en
   per thema; de icoonregel hierboven mag dat niet overschrijven */
i.ki-duotone.d-none, i.ki-solid.d-none, i.ki-outline.d-none,
[data-bs-theme=light] i.theme-dark-show,
[data-bs-theme=dark] i.theme-light-show {
  display: none !important;
}

/* Lichte knoppen in de open- of actieve staat (Actions bij een selectie): Keen maakt ze dan in de
   primaire kleur (zwart) met de tekst eroverheen ook zwart. Licht houden, met een iets donkerder vlak. */
.btn.btn-light-primary.show,
.btn.btn-light-primary:active,
.btn.btn-light-primary.active,
.btn.btn-light.show,
.btn.btn-light:active,
.btn.btn-active-light-primary.show {
  background-color: var(--outlawz-hover) !important;
  border-color: #c9c9c9 !important;
  color: var(--bs-body-color) !important;
}

.btn.btn-light-primary.show i,
.btn.btn-active-light-primary.show i {
  color: var(--bs-body-color) !important;
}

/* Zelfde, maar zo specifiek als de regels van Keen (:focus:not(.btn-active) en de klik-staat) */
.btn.btn-light-primary:hover:not(.btn-active),
.btn.btn-light-primary:focus:not(.btn-active),
.btn.btn-light-primary:active:not(.btn-active),
.btn-check:checked + .btn.btn-light-primary,
.show > .btn.btn-light-primary,
.btn.btn-light:hover:not(.btn-active),
.btn.btn-light:focus:not(.btn-active),
.btn.btn-light:active:not(.btn-active),
.show > .btn.btn-light {
  background-color: var(--outlawz-hover) !important;
  border-color: #c9c9c9 !important;
  color: var(--bs-body-color) !important;
}

.btn.btn-light-primary:hover:not(.btn-active) i,
.btn.btn-light-primary:focus:not(.btn-active) i,
.btn.btn-light:hover:not(.btn-active) i,
.btn.btn-light:focus:not(.btn-active) i {
  color: var(--bs-body-color) !important;
}

/* ── Onderdelen van outlawz.js ─────────────────────────────────────────────────────────────────── */

/* Hulpknop in de pil: een vraagteken-lijnicoon, zoals de andere knoppen */
#kt_app_header_navbar .btn.btn-icon:has(.ki-question-2) {
  --outlawz-icoon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

/* Meldingen onderin het midden: een zwarte pil, zoals in Outlawz Cloud */
#outlawz-toasts {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.outlawz-toast {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .625rem .75rem .625rem 1.25rem;
  min-height: 44px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: auto;
}

.outlawz-toast.is-zichtbaar {
  opacity: 1;
  transform: none;
}

.outlawz-toast.is-fout {
  background: #7f1d1d;
}

.outlawz-toast-actie {
  border: 0;
  border-radius: 999px;
  padding: .375rem .875rem;
  background: var(--outlawz-goud);
  color: #000000;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.outlawz-toast-actie:hover {
  background: #f0ad00;
}

/* Een bestand dat net verwijderd is (en nog ongedaan gemaakt kan worden) */
#file_manager_list_body tr.outlawz-weg {
  display: none;
}

/* Miniatuur en icoon in de lijst */
#file_manager_list .outlawz-miniatuur {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-right: 1rem !important;
  border-radius: 8px;
  object-fit: cover;
  background: var(--outlawz-pagina);
  box-shadow: 0 0 0 1px var(--outlawz-rand);
}

#file_manager_list i.outlawz-icoon {
  width: 40px;
  height: 22px;
  margin-right: 1rem !important;
  color: var(--outlawz-muted) !important;
}

/* "+5 formaten" achter een afbeelding met verborgen verkleinde versies */
.outlawz-formaten {
  margin-left: .625rem;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--outlawz-pagina);
  border: 1px solid var(--outlawz-rand);
  color: var(--outlawz-muted);
  font-size: 12px;
  white-space: nowrap;
}

/* Schakelaar "Verkleinde versies tonen" */
.outlawz-schakelaar {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 0 auto;
  color: var(--outlawz-muted);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.outlawz-schakelaar input {
  appearance: none;
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #d4d4d4;
  transition: background .2s;
  cursor: pointer;
}

.outlawz-schakelaar input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform .2s;
}

.outlawz-schakelaar input:checked {
  background: #000000;
}

.outlawz-schakelaar input:checked::after {
  transform: translateX(14px);
}

.outlawz-schakelaar input:focus-visible {
  outline: 2px solid var(--outlawz-goud);
  outline-offset: 2px;
}

/* Paginakop boven de lijst, zoals het dashboard: geen kader, site klein en grijs, titel groot */
.outlawz-kop {
  max-width: 1200px;
  margin: .5rem auto 1.5rem;
  padding: 0 .25rem;
}

.outlawz-kop-site {
  margin-bottom: .25rem;
  color: var(--outlawz-muted);
  font-size: 14px;
}

#kt_app_content_container h1.outlawz-kop-titel {
  margin: 0;
  color: var(--bs-body-color) !important;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.outlawz-kop-regel {
  margin: .5rem 0 0;
  color: var(--outlawz-muted);
  font-size: 14px;
}

.outlawz-kop-regel a {
  color: var(--bs-body-color) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 575.98px) {
  #kt_app_content_container h1.outlawz-kop-titel {
    font-size: 24px;
  }
}

/* Uitleg in het uploadvenster, en de reden als Dropzone een bestand weigert */
.outlawz-mag {
  margin: 1rem 0 0;
  color: var(--outlawz-muted);
  font-size: 13px;
}

.dz-error [data-dz-errormessage],
.dz-error .dz-error-message {
  display: block !important;
  margin: -.25rem 0 .5rem 1.25rem;
  color: #b91c1c;
  font-size: 13px;
}

.dz-error [data-dz-name] {
  text-decoration: line-through;
  color: var(--outlawz-muted);
}

/* Het hulpvenster: vragen die openklappen */
.outlawz-vraag {
  border-bottom: 1px solid var(--outlawz-rand);
  padding: .75rem 0;
}

.outlawz-vraag:last-child {
  border-bottom: 0;
}

.outlawz-vraag summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.outlawz-vraag summary::-webkit-details-marker {
  display: none;
}

.outlawz-vraag summary::after {
  content: "+";
  float: right;
  color: var(--outlawz-muted);
}

.outlawz-vraag[open] summary::after {
  content: "−";
}

.outlawz-vraag div {
  margin-top: .5rem;
  color: var(--outlawz-muted);
  line-height: 1.55;
}

.outlawz-vraag a {
  color: var(--bs-body-color) !important;
  text-decoration: underline;
}

/* De lijst van de uploadmelding (welke bestanden niet lukten) */
#modal_alert_items li {
  text-align: left;
  font-weight: 500 !important;
}

/* De reden onder een geweigerd bestand in het uploadvenster */
.outlawz-weiger {
  margin-top: 2px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

[data-bs-theme=dark] .outlawz-weiger {
  color: #f87171;
}

/* Verwijderen in een menu: rood, zoals in Outlawz Cloud */
.menu-sub-dropdown .menu-link[data-kt-filemanager-table-action="delete"] {
  color: #b91c1c !important;
}

[data-bs-theme=dark] .menu-sub-dropdown .menu-link[data-kt-filemanager-table-action="delete"] {
  color: #f87171 !important;
}

/* Naamsvermelding van SFTPGo onderaan het accountmenu en het hulpvenster (geen footer meer) */
.outlawz-vermelding {
  margin: .375rem .75rem 0;
  padding: .625rem .75rem .25rem;
  border-top: 1px solid var(--outlawz-rand);
  color: var(--outlawz-muted);
  font-size: 11px;
  line-height: 1.4;
}

.outlawz-vermelding a,
.outlawz-vermelding-hulp a {
  color: var(--outlawz-muted) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.outlawz-vermelding-hulp {
  font-size: 11px;
}

#kt_app_footer {
  display: none !important;
}

/* ── Inlogpagina (common/login.html, maak-ui.py) ─────────────────────────────────────────────────── */

.app-blank .w-lg-500px {
  max-width: 400px;
  padding: 2.5rem 2.25rem 2rem !important;
}

.outlawz-login-kop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.75rem;
}

.outlawz-login-logo {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 13px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #000000;
  object-fit: contain;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .1);
}

.outlawz-login-label {
  color: var(--outlawz-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.app-blank #sign_in_form h1.outlawz-login-titel {
  margin: .375rem 0 .5rem !important;
  color: var(--bs-body-color) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.02em;
  text-transform: none;
}

.outlawz-login-uitleg {
  margin: 0;
  max-width: 280px;
  color: var(--outlawz-muted);
  font-size: 14px;
  line-height: 1.5;
}

.app-blank #sign_in_form .fv-row {
  margin-bottom: 1.25rem !important;
}

.app-blank #sign_in_form .form-label {
  margin-bottom: .375rem;
  color: var(--bs-body-color);
  font-size: 13px;
  font-weight: 500;
}

.app-blank #sign_in_form .form-control {
  height: 44px;
  padding: 0 .875rem;
  font-size: 15px;
  background-color: var(--outlawz-kaart) !important;
}

.app-blank #sign_in_form [data-password-control="input"] {
  padding-right: 2.75rem;
}

.outlawz-login-hulp {
  margin-top: .5rem;
  color: var(--outlawz-muted);
  font-size: 13px;
}

.app-blank #sign_in_submit {
  height: 44px;
  margin: .5rem 0 0 !important;
  font-size: 15px;
  font-weight: 600;
}

.app-blank #sign_in_submit:focus-visible {
  outline: 2px solid var(--outlawz-goud);
  outline-offset: 2px;
}

/* Foutmelding bij een verkeerd wachtwoord: rustig rood blok in de kaart */
.app-blank #sign_in_form .alert {
  border-radius: 10px;
  font-size: 14px;
}

@media (max-width: 575.98px) {
  .app-blank .w-lg-500px {
    padding: 2rem 1.5rem 1.5rem !important;
  }
}

/* Geen "Profiel" in het accountmenu: wijzigen staat uit, en het veld Omschrijving bevat de instellingen
   voor outlawz.js (description in users.json) */
#kt_app_header_navbar .menu-sub-dropdown .menu-item:has(> a[href$="/profile"]) {
  display: none !important;
}
