/* Edge/IE inject their own native password reveal/clear icons via these non-standard
   pseudo-elements, which duplicate or collide with our own custom eye-toggle IconButton.
   Chrome/Firefox/Safari don't add one by default, so this only has an effect on Edge/IE. */
input[type='password']::-ms-reveal,
input[type='password']::-ms-clear {
  display: none;
}

.dashboard-shell {
  min-height: 100vh;
  background: var(--color-bg);
}

.page-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.dashboard-body {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 74px);
}

.dashboard-content {
  flex: 1;
  min-width: 0;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  height: 72px;
  padding: 0 20px;
  background: var(--color-card-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(17, 52, 71, 0.06);
}

.dashboard-brand-group {
  display: flex;
  align-items: center;
  gap: 23px;
}

.dashboard-sidebar-toggle.MuiIconButton-root {
  width: 16.875px;
  height: 15px;
  min-width: 16.875px;
  padding: 0;
  border-radius: 5px;
  background: #ffffff;
}

.dashboard-sidebar-toggle.MuiIconButton-root:hover {
  background:#ffffff;
}

.dashboard-sidebar-toggle-icon {
  display: block;
  width: 16.875px;
  height: 15px;
}

.dashboard-brand img {
  display: block;
  max-width: 130px;
  width: 100%;
}

.dashboard-divider {
  width: 1px;
  height: 39px;
  border: 1px solid var(--color-border);
  opacity: 1;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-notification-icon {
  display: block;
  width: 18px;
  height: 24px;
}

.dashboard-notification-button {
  display: none !important;
}

.dashboard-avatar.MuiAvatar-root {
  width: 32px;
  height: 32px;
  background: linear-gradient(90deg, #007a81 0%, #009da5 50%, #95c11f 100%);
  color: #ffffff;
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
}

.dashboard-user:hover .dashboard-user-name.MuiTypography-root {
  color: var(--color-primary);
}

.dashboard-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dashboard-user-name.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  color: var(--color-text-user);
}

.dashboard-user-role.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 15px;
  color: var(--color-muted);
}

.dashboard-user-company.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 15px;
  color: var(--color-muted);
}

.dashboard-logout-button.MuiButton-root {
  width: 100px;
  height: 38px;
  border-radius: 7px;
  background: var(--color-chrome-bg);
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 12px;
  text-transform: none;
}

.dashboard-logout-button.MuiButton-root:hover {
  background: var(--color-chrome-bg);
  font-weight: 600 !important;
}

.dashboard-logout-button.MuiButton-root.Mui-disabled {
  opacity: 0.7;
  color: #ffffff;
}

.sidebar {
  width: 260px !important;
  flex-shrink: 0;
  background: var(--color-chrome-bg);
  padding: 30px 15px 30px !important;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.sidebar--closed {
  transform: translateX(-100%);  
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-section-label {
  display: block;
  height: 9px;
  width: auto;
  margin: 0 0 15px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color:#35A1A7;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list-item {
  display: block;
  margin: 10px 0;
}

.sidebar-list-item-hidden {
  display: none !important;
}

.sidebar-section-hidden {
  display: none !important;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 39px;
  padding: 0 15px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 0%;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.sidebar-item--disabled {
  cursor: default;
  opacity: 0.55;
}

.sidebar-item:hover {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 400;
  border-radius: 7px;
  border-left: 2px solid #7FBC03;
}

.sidebar-item--active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 7px;
  border-left: 2px solid #7FBC03;
}

.sidebar-item-icon {
  display: block;
  flex-shrink: 0;
}

.sidebar-item-icon--active {
  filter: brightness(0) invert(1);
}

.sidebar-item-icon[data-icon='home'] {
  width: 16px;
  height: 16px;
}

.sidebar-item-icon[data-icon='search'] {
  width: 16px;
  height: 16px;
}

.sidebar-item-icon[data-icon='user-queues'] {
  width: 19.56px;
  height: 16px;
}

.sidebar-item-icon[data-icon='overview'] {
  width: 12px;
  height: 16px;
}

.sidebar-item-icon[data-icon='import-data'] {
  width: 18.77px;
  height: 16px;
}

.sidebar-item-icon[data-icon='settings'] {
  width: 16px;
  height: 16px;
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .dashboard-topbar {
    height: auto;
    min-height: 74px;
    padding: 0.75rem 1.25rem;
  }

  .dashboard-actions {
    gap: 10px;
  }

  .sidebar {
    position: fixed;
    top: 74px;
    bottom: 0;
    left: 0;
    z-index: 20;
    transform: translateX(0);
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
  }

  .sidebar--closed {
    width: 220px;
    padding: 24px 0 12px;
    transform: translateX(-100%);
  }

  .dashboard-body {
    min-height: calc(100vh - 118px);
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    background: rgba(15, 23, 42, 0.4);
  }
}

@media (max-width: 480px) {
  .dashboard-user-info {
    display: none;
  }
}

.profile-page {
  display: grid;
  grid-template-columns: 302px 1fr;
  align-items: start;
  gap: 25px;
  padding: 24px;
}

.profile-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(17, 52, 71, 0.05);
}

.profile-card.personal-information-card {
  border: 1px solid #E7EBF2;
  border-radius: 15px;
  box-shadow: 0px 6px 20px 0px #1622330F;
  opacity: 1;
}

.profile-column-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-column-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}

.profile-card-header .MuiSvgIcon-root {
  color: var(--color-primary);
  font-size: 20px;
}

.profile-card-header-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.profile-card-title.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-user);
}

.personal-information-card .profile-card-title.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 15.75px;
  letter-spacing: 0;
  color: #0f172a;
}

/* ---- Profile summary card ---- */

.profile-card.profile-summary-card {
  background: #FFFFFF;
  width: 302px;
  height: 500.19964599609375px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0px 6px 20px 0px #1622330F;
  opacity: 1;
}

.profile-summary-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.profile-avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}

.profile-avatar {
  display: block;
  width: 100px;
  height: 100px;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  opacity: 1;
  object-fit: cover;
}

.profile-avatar-file-input {
  display: none;
}

.profile-avatar-edit-badge.MuiIconButton-root {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  opacity: 1;
}

.profile-avatar-edit-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-avatar-delete-badge.MuiIconButton-root {
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  opacity: 1;
  background: #d92d20;
  color: #FFFFFF;
}

.profile-avatar-delete-badge.MuiIconButton-root:hover {
  background: #b42318;
}

.profile-avatar-delete-badge .MuiSvgIcon-root {
  font-size: 16px;
}

.profile-name.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-user);
  margin-bottom: 8px;
  position: relative;
  padding: 0 0 0 17px;
}

.profile-name.MuiTypography-root:before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  bottom: 0;
  width: 9px;
  height: 9px;
  background: #23C16B;
  border-radius: 5px;
}

.profile-role-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(0, 122, 129, 0.12);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-info-item .MuiSvgIcon-root {
  font-size: 17px;
  color: var(--color-muted);
  flex-shrink: 0;
}

.profile-info-text.MuiTypography-root {
  font-size: 14px;
  word-break: break-word;
}

.profile-info-label {
  font-weight: 600;
  color: var(--color-text);
}

.profile-info-value {
  color: var(--color-text-user);
}

.profile-info-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.profile-info-item .profile-info-status-icon.MuiSvgIcon-root {
  font-size: 16px;
}

.profile-info-item .profile-info-status-icon--on.MuiSvgIcon-root {
  color: #23c16b;
}

.profile-info-item .profile-info-status-icon--off.MuiSvgIcon-root {
  color: var(--color-muted);
}

/* ---- Theme highlight card ---- */

.profile-card.theme-highlight-card {
  width: 302.095703125px;
  height: auto;
  max-width: 100%;
  opacity: 1;
}

.theme-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-highlight-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

.theme-highlight-item--active .theme-highlight-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.theme-highlight-item--active .theme-highlight-checkbox .MuiSvgIcon-root {
  font-size: 12px;
}

.theme-swatch {
  display: flex;
  width: 139px;
  height: 20px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-swatch-segment {
  flex: 1;
}

.theme-highlight-label.MuiTypography-root {
  font-size: 13px;
  color: var(--color-text);
}

.theme-highlight-dark-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.dark-mode-switch.MuiSwitch-root,
.mfa-switch.MuiSwitch-root {
  width: 40px;
  height: 22px;
  padding: 0;
  opacity: 1;
  margin-right: 10px;
}

.dark-mode-switch .MuiSwitch-switchBase,
.mfa-switch .MuiSwitch-switchBase {
  padding: 3px;
}

.dark-mode-switch .MuiSwitch-switchBase.Mui-checked,
.mfa-switch .MuiSwitch-switchBase.Mui-checked {
  transform: translateX(18px);
}

.dark-mode-switch .MuiSwitch-thumb,
.mfa-switch .MuiSwitch-thumb {
  width: 16px;
  height: 16px;
}

.dark-mode-switch .MuiSwitch-track,
.mfa-switch .MuiSwitch-track {
  border-radius: 50px;
  opacity: 1;
}

.dark-mode-switch .MuiSwitch-switchBase:not(.Mui-checked) + .MuiSwitch-track {
  background-color: #98A2B3;
  opacity: 1;
}

.dark-mode-label.MuiTypography-root {
  font-weight: 500;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 0px;
  color: #64748B;
  opacity: 1;
}

/* ---- Forms ---- */

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.profile-field-full {
  grid-column: 1 / -1;
}

.profile-field-right {
  grid-column: 2;
}

.profile-field-hidden {
  display: none !important;
}

.profile-field-invisible {
  visibility: hidden !important;
}

.profile-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -1px;
}

.profile-label.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.3px;
  color: #64748b;
  margin-bottom: 8px;
}

.profile-link.MuiTypography-root {
  display: inline-block;
  align-self: flex-end;
  margin-top: 6px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: none;
}

.profile-link.MuiTypography-root:hover {
  text-decoration: underline;
}

.mfa-setup-link.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 0px;
  color: #007A81;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: solid;
}

.profile-input .MuiOutlinedInput-root,
.profile-select.MuiOutlinedInput-root {
  background: #FFFFFF;
  border-radius: 10px;
  height: 40px;
  font-size: 0.9rem;
  opacity: 1;
}

.profile-input .MuiOutlinedInput-notchedOutline,
.profile-select .MuiOutlinedInput-notchedOutline {
  border-width: 1px;
  border-color: #98A2B3;
}

.profile-input .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.profile-select:hover .MuiOutlinedInput-notchedOutline {
  border-color: var(--color-primary);
}

.profile-input .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.profile-select.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 128, 136, 0.15);
}

.profile-input .MuiInputAdornment-root {
  color: #90a0b1;
}

.profile-field-icon {
  display: block;
  max-height: 18px;
  object-fit: contain;
}

.profile-status-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-role-select.MuiOutlinedInput-root {
  height: 40px;
  opacity: 1;
}

.profile-inline-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.profile-checkbox-label.MuiFormControlLabel-root,
.profile-switch-label.MuiFormControlLabel-root {
  margin-left: -6px;
  color: var(--color-text-user);
  padding: 0;
}

.profile-checkbox-label .MuiFormControlLabel-label {
  font-size: 13px;
}

.profile-switch-label .MuiFormControlLabel-label {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 0px;
}

.profile-hint.MuiTypography-root {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 6px;
}

/* ---- Email signature ---- */

.profile-card.email-signature-card {
  width: 100%;
    min-height: 300.5px;
  opacity: 1;
}

.profile-signature-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  background: #f1f5f9;
  border-top: 1px solid var(--color-border);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 12px 15px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.profile-signature-select .MuiOutlinedInput-root {
  height: 32px;
  font-size: 0.78rem;
  background: var(--color-card-bg);
  border-radius: 7px;
}

.profile-signature-select .MuiOutlinedInput-notchedOutline {
  border-color: var(--color-border);
}

.profile-signature-toolbar-btn.MuiIconButton-root {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--color-muted);
}

.profile-signature-toolbar-btn.MuiIconButton-root:hover {
  background: var(--color-card-bg);
  color: var(--color-primary);
}

.profile-signature-toolbar-btn.MuiIconButton-root.Mui-disabled {
  color: var(--color-muted);
  opacity: 0.5;
}

.profile-signature-divider {
  width: 1px;
  height: 18px;
  background: var(--color-border);
  margin: 0 2px;
}

.profile-signature-toolbar-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

.profile-signature-emoji-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 6px;
}

.profile-signature-emoji-btn.MuiIconButton-root {
  width: 34px;
  height: 34px;
  font-size: 18px;
  border-radius: 7px;
}

.profile-signature-autosave.MuiTypography-root {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  padding-left: 6px;
}

.profile-signature-editor {
  min-height: 150px;
  padding: 4px 2px;
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 23.63px;
  letter-spacing: 0;
  color: var(--color-text);
  outline: none;
  border: 1px solid #E5E7EB;
  border-radius: 0 0 10px 10px;
  padding: 15px
}

.profile-signature-editor p {
  margin: 0 0 4px;
}

.profile-signature-editor p:last-child {
  margin-bottom: 0;
}

.profile-signature-editor strong,
.profile-signature-editor b {
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0;
}

.profile-signature-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--color-muted);
}

/* ---- Actions ---- */

.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.profile-btn-cancel.MuiButton-root {
  border-radius: 8px;
  border-color: var(--color-border);
  color: #ffffff;
  text-transform: none;
  font-weight: 600;
  padding: 8px 18px;
  background: #153032;
  max-height: 40px;
}

.profile-btn-save.MuiButton-root {
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  text-transform: none;
  font-weight: 600;
  padding: 8px 18px;
  max-height: 40px;
  margin-left: 0;
}

.profile-btn-save.MuiButton-root.Mui-disabled {
  background: var(--color-primary);
  color: #ffffff;
}

/* ---- Change password dialog ---- */

.change-password-dialog .MuiPaper-root {
  border-radius: 16px;
}

.change-password-dialog-title.MuiDialogTitle-root {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-user);
  padding: 15px;
  border-bottom: 1px solid #DBE0E5;
}

.change-password-dialog-content {
  margin-top: 15px;
  max-height: 164px;
}

.change-password-dialog-close.MuiIconButton-root {
  color: var(--color-muted);
  padding: 0;
}

.change-password-dialog-actions.MuiDialogActions-root {
  padding: 15px;  
  border-top: 1px solid #DBE0E5;
}

.dialog-btn-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.dialog-cancel-icon {
  opacity: 0.7;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .profile-page {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 900px) {
  .profile-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-page {
    padding: 16px;
    gap: 16px;
  }

  .profile-card {
    padding: 16px;
  }

  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    flex-direction: column-reverse;
  }

  .profile-actions .MuiButton-root {
    width: 100%;
  }
}

/* ---- Super admin (Polidyne staff) sidebar ---- */

.super-admin-sidebar {
  width: 260px !important;
  flex-shrink: 0;
  background: var(--color-chrome-bg);
  padding: 30px 15px 30px !important;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.super-admin-sidebar--closed {
  transform: translateX(-100%);
}

.super-admin-sidebar-section-label {
  display: block;
  height: 9px;
  width: auto;
  margin: 0 0 15px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #35A1A7;
}

.super-admin-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.super-admin-sidebar-list-item {
  display: block;
  margin: 10px 0;
}

.super-admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 39px;
  padding: 0 15px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.super-admin-sidebar-item:hover {
  background: var(--color-primary);
  border-radius: 7px;
  border-left: 2px solid #7FBC03;
}

.super-admin-sidebar-item--active {
  background: var(--color-primary);
  font-weight: 700;
  border-radius: 7px;
  border-left: 2px solid #7FBC03;
}

.super-admin-sidebar-item-icon {
  flex-shrink: 0;
  width: 17px;
  height: 19px;
  filter: brightness(0) invert(1);
}

/* ---- Audit & Compliance page (also reused by the Users admin page) ---- */

.audit-compliance-page,
.users-page {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audit-compliance-title.MuiTypography-root {
  font-family: 'Inter', 'Segoe UI', 'Trebuchet MS', Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700 !important;
  color: var(--color-text-user);
}

.audit-compliance-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.audit-compliance-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
}

.audit-compliance-card-header-icon {
  width: 18px;
  height: 18px;
}

.audit-filter-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.audit-compliance-card-title.MuiTypography-root {
  font-size: 16px;
  font-weight: 700 !important;
  color: var(--color-text-user);
}

.audit-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.audit-filter-input {
  min-width: 120px;
  max-width: 160px;
  flex: 1 1 120px;
}

.audit-filter-date {
  min-width: 175px;
  max-width: 190px;
  flex: 1 1 175px;
}

.audit-filter-select {
  min-width: 140px;
  max-width: 160px;
}

.audit-search-button.MuiButton-root {
  border-radius: 8px;
  background: #153032;
  color: #ffffff;
  text-transform: none;
  font-weight: 600;
  padding: 8px 18px;
  max-height: 40px;
}

.audit-clear-button.MuiButton-root {
  border-radius: 8px;
  border-color: var(--color-border);
  color: var(--color-text-user);
  text-transform: none;
  font-weight: 600;
  padding: 8px 18px;
  max-height: 40px;
}

.audit-clear-button.MuiButton-root:hover {
  border-color: var(--color-border);
  background: rgba(0, 0, 0, 0.04);
}

.audit-export-button.MuiButton-root {
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  text-transform: none;
  font-weight: 600;
  padding: 8px 18px;
  max-height: 40px;
}

.audit-export-button-hidden.MuiButton-root {
  display: none !important;
}

.audit-table-container {
  border-top: 1px solid var(--color-border);
}

.audit-table th,
.audit-table .MuiTableCell-head {
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #000000 !important;
  border-bottom: none;
}

.audit-table-empty {
  text-align: center;
  color: var(--color-text-muted, #6b7a86);
  padding: 32px 0;
}

.audit-table-location {
  font-size: 11px;
  color: var(--color-text-muted, #6b7a86);
  margin-top: 2px;
}

.audit-outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-transform: capitalize;
}

.audit-outcome-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.audit-outcome-badge--success {
  background: #ecfdf3;
  color: #12b76a;
  border-color: #a6f4c5;
}

.audit-outcome-badge--failure {
  background: #fef3f2;
  color: #f04438;
  border-color: #fecdca;
}

.audit-outcome-badge--partial {
  background: #fffaeb;
  color: #f79009;
  border-color: #fedf89;
}

.users-action-button.MuiButton-root {
  border-radius: 8px;
  text-transform: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .super-admin-sidebar {
    position: fixed;
    top: 74px;
    bottom: 0;
    left: 0;
    z-index: 1200;
  }
}

.home-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60vh;
  text-align: center;
}

.home-coming-soon-icon {
  width: 48px;
  height: 48px;
  opacity: 0.5;
  margin-bottom: 8px;
}

.home-coming-soon-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text, #101828);
}

.home-coming-soon-subtitle {
  font-size: 14px;
  color: var(--color-text-muted, #6b7a86);
}

