:root[data-glpi-theme=bjaland-dark] {
  --tblr-primary-rgb: 162, 121, 42;
  --tblr-primary: #a2792a;
  --tblr-primary-fg: #ffffff;
  --tblr-secondary: #3d4248;
  --tblr-secondary-fg: #f0f0f0;
  --tblr-link-color-rgb: 192, 151, 72;
  --tblr-body-bg: #1a1d21;
  --tblr-bg-surface: #22262b;
  --tblr-bg-surface-secondary: #2a2f35;
  --tblr-border-color: #3d4248;
  --tblr-body-color: #d4d4d4;
  --tblr-muted: #8c919a;
  --tblr-font-size: 0.95rem;
  --glpi-mainmenu-bg: #141619;
  --glpi-mainmenu-fg: #c8c8c8;
  --glpi-mainmenu-active-bg: #725514;
  --glpi-mainmenu-active-fg: #ffffff;
  --glpi-mainmenu-hover-bg: #2e2a22;
  --glpi-mainmenu-hover-fg: #ffffff;
  --tblr-nav-link-color: #9a9da2;
  --tblr-nav-tabs-link-active-bg: #a2792a;
  --tblr-nav-tabs-link-active-color: #ffffff;
  --tblr-bg-forms: #2a2f35;
  --tblr-border-color-translucent: rgba(255, 255, 255, 0.12);
  --tblr-card-bg: #22262b;
  --tblr-card-border-color: #3d4248;
  --glpi-helpdesk-header: #2d3238;
  --glpi-illustrations-gradient-1: #1a1d21;
  --glpi-illustrations-gradient-2: #3d4248;
  --glpi-illustrations-gradient-3: #a2792a;
  --glpi-palette-color-1: #141619;
  --glpi-palette-color-2: #725514;
  --glpi-palette-color-3: #d4d4d4;
  --glpi-palette-color-4: #3d4248;
}

:root[data-glpi-theme=bjaland-dark] body {
  font-size: 0.95rem;
}

:root[data-glpi-theme=bjaland-dark] .card-title,
:root[data-glpi-theme=bjaland-dark] .card-subtitle {
  color: #c0952a !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

:root[data-glpi-theme=bjaland-dark] .ribbon.bg-blue {
  background-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] .ribbon-bookmark.bg-blue::after,
:root[data-glpi-theme=bjaland-dark] .ribbon-bookmark.bg-blue::before {
  border-left-color: #725514 !important;
  border-right-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] .ribbon.ribbon-bookmark::after,
:root[data-glpi-theme=bjaland-dark] .ribbon.ribbon-bookmark::before {
  border-left-color: #725514 !important;
  border-right-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] [class*=ribbon][class*=bg-blue] {
  background-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] [class*=ribbon][class*=bg-blue]::before,
:root[data-glpi-theme=bjaland-dark] [class*=ribbon][class*=bg-blue]::after {
  border-left-color: #725514 !important;
  border-right-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] .hr-text {
  color: #c0952a !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

:root[data-glpi-theme=bjaland-dark] .hr-text::before,
:root[data-glpi-theme=bjaland-dark] .hr-text::after {
  border-top-color: #725514 !important;
}

:root[data-glpi-theme=bjaland-dark] .hr-text span {
  color: #c0952a !important;
}

:root[data-glpi-theme=bjaland-dark] .card.border-0.shadow-none > .card-header {
  border-bottom: 1px solid #3d4248 !important;
  padding-bottom: 0.4rem !important;
  margin-bottom: 0.5rem !important;
}

body.welcome-anonymous .page-anonymous {
  background: transparent !important;
}

body.welcome-anonymous .glpi-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

body.welcome-anonymous .main-content-card {
  background: #22262b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

body.welcome-anonymous .main-content-card .card-header {
  border: none !important;
  background: transparent !important;
}

body.welcome-anonymous .main-content-card .card-body {
  background: transparent !important;
}

body.welcome-anonymous .singlesignon-auth-stack,
body.welcome-anonymous .singlesignon-login {
  --sso-surface: none;
}

body.welcome-anonymous .singlesignon-login-title {
  color: #c0952a !important;
  font-weight: 600;
  font-size: 1.1rem !important;
  letter-spacing: 0.03em;
}

body.welcome-anonymous .singlesignon-login-button {
  background: linear-gradient(135deg, #725514 0%, #a2792a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  font-weight: 500;
  font-size: 0.95rem !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(114, 85, 20, 0.3) !important;
}

body.welcome-anonymous .singlesignon-login-button:hover {
  background: linear-gradient(135deg, #a2792a 0%, #c0952a 100%) !important;
  box-shadow: 0 6px 24px rgba(114, 85, 20, 0.5) !important;
  transform: translateY(-1px);
}

body.welcome-anonymous .singlesignon-login-picture {
  border-radius: 6px;
  background: transparent !important;
  padding: 2px;
}

body.welcome-anonymous .singlesignon-login-label {
  color: #ffffff !important;
}

body.welcome-anonymous .singlesignon-login-arrow {
  color: rgba(255, 255, 255, 0.7) !important;
}

body.welcome-anonymous .singlesignon-login-classic a,
body.welcome-anonymous [data-sso-switch] {
  color: #a2792a !important;
  opacity: 0.8;
  text-decoration: none !important;
}

body.welcome-anonymous .singlesignon-login-classic a:hover,
body.welcome-anonymous [data-sso-switch]:hover {
  color: #c0952a !important;
  opacity: 1;
}

body.welcome-anonymous .singlesignon-classic-title {
  border: none !important;
}

body.welcome-anonymous .singlesignon-classic-title h2 {
  color: #e0e0e0 !important;
  font-size: 1.1rem !important;
}

body.welcome-anonymous .form-label {
  color: #b0b0b0 !important;
}

body.welcome-anonymous .form-label-description a {
  color: #a2792a !important;
}

body.welcome-anonymous .form-control {
  background: #1e2226 !important;
  border: 1px solid #3d4248 !important;
  color: #e0e0e0 !important;
  border-radius: 8px !important;
}

body.welcome-anonymous .form-control:focus {
  border-color: #a2792a !important;
  box-shadow: 0 0 0 3px rgba(162, 121, 42, 0.2) !important;
}

body.welcome-anonymous .form-select {
  background-color: #1e2226 !important;
  border: 1px solid #3d4248 !important;
  color: #e0e0e0 !important;
  border-radius: 8px !important;
}

body.welcome-anonymous .form-check-label {
  color: #b0b0b0 !important;
}

body.welcome-anonymous .forgot_password a {
  color: #a2792a !important;
}

body.welcome-anonymous .singlesignon-auth-section--classic {
  background: none;
}

body.welcome-anonymous .form-footer .btn-primary {
  background: linear-gradient(135deg, #725514 0%, #a2792a 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px !important;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(114, 85, 20, 0.3) !important;
}

body.welcome-anonymous .form-footer .btn-primary:hover {
  background: linear-gradient(135deg, #a2792a 0%, #c0952a 100%) !important;
}

body.welcome-anonymous .select2-selection {
  background: #1e2226 !important;
  border: 1px solid #3d4248 !important;
}

body.welcome-anonymous .select2-selection__rendered {
  color: #e0e0e0 !important;
}