/* Reichert branding layer for the MDM web UI (loaded after vendor CSS). */
:root {
  --rk-primary: #007177;
  --rk-primary-light: #0b858b;
  --rk-navy: #0d1315;
  --rk-bg: #f8fbfa;
  --rk-text-muted: #393e40;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Top bar and logo block */
.app-logo,
.header-container {
  background-color: var(--rk-navy) !important;
}
.app-logo > a {
  display: block;
  height: 64px;
  font-size: 0 !important;
  color: transparent !important;
  background: url("logo-white.png") no-repeat center / auto 34px;
}
/* Login page */
.login-container {
  background: var(--rk-bg) !important;
}
.login-title-container-title {
  display: block;
  width: 320px;
  max-width: 80vw;
  height: 66px;
  margin: 0 auto;
  font-size: 0 !important;
  color: transparent !important;
  background: url("logo-color.png") no-repeat center / contain;
}
.login-title-container::after {
  content: "Device Management";
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rk-text-muted);
}
.login-title-container {
  flex-direction: column !important;
  align-items: center !important;
  height: auto !important;
  margin: 0 0 28px !important;
}
.login-form-container {
  background: #ffffff;
  border: 1px solid #e3eaea;
  border-radius: 16px;
  padding: 32px 36px 16px;
  box-shadow: 0 8px 30px rgba(13, 19, 21, 0.08);
  width: auto !important;
}
.login-form .ant-btn-primary {
  border-radius: 999px;
  padding-inline: 22px;
}

/* ---- Main layout: header, logo, sidebar ---- */
.app-logo,
.header-container {
  box-shadow: inset 0 -3px 0 var(--rk-primary);
}
.app-logo > a {
  background-position: 22px center;
  background-size: auto 30px;
}
.app-logo .trigger,
.header-left .trigger {
  color: #c9d6d8 !important;
  font-size: 18px !important;
  cursor: pointer;
  transition: color .15s;
}
.app-logo .trigger:hover,
.header-left .trigger:hover {
  color: #ffffff !important;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 18px;
}
/* Product label next to the menu toggle (expanded menu only) */
.header-left:has(.trigger)::after {
  content: "Device Management";
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #77ced4;
}
.header-container .header-right,
.header-container .header-right .header-name {
  color: #e6eeef !important;
}
/* Sidebar */
.app-left-sider,
.app-left-sider .ant-layout-sider-children,
.app-left-sider .ant-menu {
  background: var(--rk-bg) !important;
}
.app-left-sider {
  border-right: 1px solid #e3eaea;
}
.app-left-sider .ant-menu {
  border-inline-end: none !important;
  padding: 8px 0;
}
.app-left-sider .ant-menu-item,
.app-left-sider .ant-menu-submenu-title {
  border-radius: 8px !important;
  margin-inline: 10px !important;
  width: calc(100% - 20px) !important;
}
.app-left-sider .ant-menu-item-selected {
  background: rgba(0, 113, 119, 0.10) !important;
  color: var(--rk-primary) !important;
  font-weight: 500;
}
.app-left-sider .ant-menu-sub.ant-menu-inline {
  background: transparent !important;
}
