body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  border-radius: 9px;
}

.brand-identity {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: #102a3a;
  text-align: left;
}

.brand-identity__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.brand-identity__name {
  font-size: 20px;
  font-weight: 700;
}

.brand-identity__full-name {
  margin-top: 3px;
  color: #61727f;
  font-size: 12px;
}

.brand-identity--inverse {
  color: #fff;
}

.brand-identity--inverse .brand-identity__full-name {
  color: rgba(255, 255, 255, 0.66);
}

.brand-identity--compact {
  gap: 10px;
}

.brand-identity--compact .brand-identity__name {
  font-size: 15px;
  font-weight: 650;
}

.brand-identity--compact .brand-identity__full-name {
  font-size: 11px;
}

html,
body {
  overscroll-behavior: none;
  /* Disable bounce effect */
}

:root {
  --app-bg: #f3f5f7;
  --app-surface: #ffffff;
  --app-surface-muted: #eef2f5;
  --app-ink: #17212b;
  --app-muted: #687682;
  --app-border: #dce2e7;
  --app-accent: #008f8b;
  --app-accent-strong: #007a77;
  --app-nav: #071d2d;
  --app-nav-hover: #102f42;
  --app-radius: 6px;
  --app-header-height: 64px;
  --app-context-nav-height: 52px;
  --app-focus: 0 0 0 3px rgba(0, 143, 139, 0.2);
}

.App {
  min-height: 100vh;
  text-align: left;
  background: #f3f5f7;
  background: var(--app-bg);
}

.main-layout {
  transition: margin-left 0.2s ease;
  background: #f3f5f7;
  background: var(--app-bg);
}

.app-main-content {
  min-width: 0;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  background: #f3f5f7;
  background: var(--app-bg);
}

.app-main-content--authenticated {
  padding-top: calc(64px + 52px);
  padding-top: calc(var(--app-header-height) + var(--app-context-nav-height));
}

.module-placeholder {
  min-height: calc(100vh - 128px);
  padding: 96px 24px;
  background: #f0f2f5;
}

.module-placeholder .ant-empty {
  max-width: 640px;
  margin: 0 auto;
}

.module-placeholder p {
  color: rgba(0, 0, 0, 0.65);
  margin: 8px auto 0;
  max-width: 520px;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.ant-form-item-required {
  flex-direction: row-reverse;
}

.ant-form-item-required::before {
  margin-left: 4px;
}

.ant-form-item-required::after {
  width: 0;
  margin: 0 !important;
}

.ant-modal {
  width: 70% !important;
}

.export-setting-modal {
  width: 60% !important;
}

.import-image-modal {
  width: 50% !important;
}

.ant-form-item .ant-form-item-label>label::after {
  content: "";
}

.ck-editor__editable:not(.ck-editor__nested-editable) {
  min-height: 200px;
}

.table-row-dark {
  background-color: #fbfbfb;
}

.clickable-row {
  cursor: pointer;
}

/* .ant-table-row-level-0 {
  cursor: pointer;
} */

.clickable-row:hover {
  background-color: #f5f5f5;
  /* Optional: Add hover effect */
}

.ant-table-row-level-0:hover {
  background-color: #f5f5f5;
}

.ant-table-row-level-0:hover>td {
  background-color: #f5f5f5 !important;
}

/* .ant-table-row-level-0:hover>td>td {
  background-color: #f5f5f5 !important;
} */

.two-row-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* This controls the number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}


.one-row-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  white-space: normal;
  /* Important to use for ellipsis with multi-line */
  line-clamp: 1;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Remove white-space: nowrap */
  word-break: break-all;
  /* Break long words without spaces */
}

.ant-table-cell {
  /* padding: 8px 16px !important; */
  /* color: rgba(0, 0, 0, .92); */
}

.ant-table-bordered {
  margin-inline: 0px !important;
}

/* .upload-table {
  vertical-align: top;
} */

.ant-tag {
  font-size: 10px;
  line-height: 18px;
  -webkit-margin-end: 0px;
          margin-inline-end: 0px;
  padding-inline: 4px;
}

/* .ant-table
  .ant-table-container
  .ant-table-content
  table
  thead.ant-table-thead
  .ant-table-cell {
  background-color: #bae0ff;
} */

.clickable-cell {
  cursor: pointer;
}

.clickable-cell:hover {
  /* background-color: #d0cfcf; */
  /* padding: 0px !important; */
}

.label-url {
  /* max-width: 150px; */
}

.label-url:hover {
  color: #009995;
  /* Change text color on hover */
  text-decoration: underline;
  /* Add underline on hover */
  cursor: pointer;
}

.input-link:focus {
  border-bottom: 1px solid #009995;
  border-radius: 0px;
  border-bottom-style: dashed;
}

.ant-btn-primary {
  box-shadow: none;
}

.export-setting-modal .ant-form-item {
  margin-bottom: 12px;
}

/* Target all Menu.Item components */
/* .ant-menu-item {
  height: 64px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ant-menu-item-only-child {
  height: 40px !important;
} */

.slider-menu>.ant-menu-item:first-of-type {
  height: 56px;
  /* Custom height */
  display: flex;
  align-items: center;
}

/* Add this CSS to your stylesheet (e.g., Dashboard.css) */
.statistic-card {
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  /* Change cursor to pointer */
}

.statistic-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  /* Increase shadow on hover */
  transform: translateY(-2px);
  /* Slightly lift the card on hover */
  background-color: #f0f5ff;
  /* Change background color on hover */
}

.ant-image-mask-info {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
}

.ant-image-mask-info {
  font-size: 0px;
}

.ant-image-mask-info .anticon {
  font-size: 16px;
  margin: 0 !important;
}

.ant-table-wrapper:only-child .ant-table {
  margin-block: 0px !important;
  margin-inline: 0px !important;
}

/* Add this CSS to your project */
.ant-table-thead>tr>th {
  border-top: 1px solid #f0f0f0 !important;
  padding: 8px 16px !important;
  background-color: #f0f2f5 !important;
  font-weight: 500 !important;
  /* Adjust color and thickness as needed */
}

/* Custom dark theme styles for table header */
.custom-table-header .ant-table-thead>tr>th {
  background-color: #001529 !important;
  /* Dark background similar to Antd Header */
  color: #ffffff;
  /* Light text color */
  border-color: #002140;
  /* Darker border for the cells */
  font-weight: bold;
  /* Optional: Make text bold */
  text-align: center;
  /* Center align the header text */
}

/* Optional hover effect for header cells */
.custom-table-header .ant-table-thead>tr>th:hover {
  background-color: #002140;
}

.scrollable-submenu {
  max-height: 300px;
  overflow-y: auto;
}

.scrollable-submenu::-webkit-scrollbar {
  width: 2px;
}

.custom-footer {
  background-color: #f5f5f5 !important;
}

/* Fixed Header */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0px;
  left: var(--sider-offset, 0px);
  width: calc(100% - 0px);
  width: calc(100% - var(--sider-offset, 0px));
  z-index: 1000;
  height: 64px;
  height: var(--app-header-height);
  /* Default antd header height */
  padding: 0 32px;
  display: flex;
  /* Use flexbox to align items */
  align-items: center;
  justify-content: space-between;
  /* Space out content within the header */
}

.topbar-title {
  min-width: 0;
  display: flex;
  align-items: center;
  text-align: left;
}

.topbar-title .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Fixed Sidebar */
.fixed-sider {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1001;
  background: #071d2d !important;
  background: var(--app-nav) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.fixed-sider .ant-menu-item {
  height: 56px !important;
  line-height: 56px !important;
  /* Adjust the height of menu items */
}

.fixed-sider .ant-menu-submenu-title {
  height: 56px !important;
  line-height: 56px !important;
  /* Adjust the height of submenu titles */
}

.ant-layout-sider-trigger {
  height: 56px !important;
  line-height: 56px !important;
  background: #0a2639 !important;
}

@media (max-width: 768px) {
  .fixed-header {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: flex-end;
  }

  .topbar-title {
    display: none;
  }

  .topbar-actions .ant-space-item:first-child,
  .profile-email {
    display: none;
  }

  .profile-menu-trigger .ant-avatar {
    margin-left: 12px !important;
  }
}

.growth-widget-containerClass>div {
  display: flex;
  justify-content: center;
}

.forgot-password-form-button {
  width: 100%;
}

/* Target the scrollbar in webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
  width: 6px;
  /* Thinner scrollbar width */
  height: 6px;
  /* Thinner scrollbar height for horizontal scroll */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
  /* Rounded track corners */
}

::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  /* Thumb color, a shade of blue for contrast */
  border-radius: 10px;
  /* Rounded thumb corners */
}

/* Customize scrollbar in Firefox */
* {
  scrollbar-width: thin;
  /* Make the scrollbar thinner */
  scrollbar-color: #c1c1c1 #FFF;
  /* Thumb and track color */
}

/* Application navigation and workspace hierarchy */
.slider-menu {
  padding: 10px 8px;
  background: transparent !important;
  -webkit-border-end: 0 !important;
          border-inline-end: 0 !important;
}

.fixed-sider .slider-menu .ant-menu-item {
  width: 100%;
  height: 48px !important;
  margin: 2px 0 !important;
  line-height: 48px !important;
  border-radius: 6px;
}

.fixed-sider .slider-menu .ant-menu-item .anticon {
  font-size: 18px;
}

.fixed-sider .slider-menu .ant-menu-item-selected {
  background: #008f8b !important;
  background: var(--app-accent) !important;
}

.fixed-sider .slider-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
  background: #102f42 !important;
  background: var(--app-nav-hover) !important;
}

.fixed-sider .slider-menu .ant-menu-title-content a {
  color: inherit;
}

.module-navigation {
  position: fixed;
  z-index: 999;
  top: 64px;
  top: var(--app-header-height);
  left: 0px;
  left: var(--sider-offset, 0px);
  width: calc(100% - 0px);
  width: calc(100% - var(--sider-offset, 0px));
  height: 52px;
  height: var(--app-context-nav-height);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid #dce2e7;
  border-bottom: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.98);
  transition: left 0.2s ease, width 0.2s ease;
}

.module-navigation__identity {
  min-width: 148px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-right: 1px solid #dce2e7;
  border-right: 1px solid var(--app-border);
  color: #17212b;
  color: var(--app-ink);
  white-space: nowrap;
}

.module-navigation__module-icon {
  color: #008f8b;
  color: var(--app-accent);
  font-size: 17px;
}

.module-navigation__links {
  min-width: 0;
  flex: 1 1;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.module-navigation__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 6px;
  border-left: 1px solid #dce2e7;
  border-left: 1px solid var(--app-border);
  background: #ffffff;
  background: var(--app-surface);
}

.module-navigation__controls button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #52616d;
  cursor: pointer;
}

.module-navigation__controls button:hover:not(:disabled) {
  background: #eef2f5;
  background: var(--app-surface-muted);
  color: #007a77;
  color: var(--app-accent-strong);
}

.module-navigation__controls button:disabled {
  color: #b8c0c7;
  cursor: default;
}

.module-navigation__controls button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 143, 139, 0.2);
  box-shadow: var(--app-focus);
}

.module-navigation__links::-webkit-scrollbar {
  display: none;
}

.module-navigation__link {
  position: relative;
  min-width: -webkit-max-content;
  min-width: max-content;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #55636f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.module-navigation__link::after {
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.module-navigation__link:hover {
  color: #17212b;
  color: var(--app-ink);
  background: #f6f8f9;
}

.module-navigation__link.is-active {
  color: #007a77;
  color: var(--app-accent-strong);
  font-weight: 650;
}

.module-navigation__link.is-active::after {
  background: #008f8b;
  background: var(--app-accent);
}

.module-navigation__link:focus-visible,
.fixed-sider a:focus-visible,
.profile-menu-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 143, 139, 0.2);
  box-shadow: var(--app-focus);
}

.app-page-header {
  width: 100%;
  margin-bottom: 18px;
}

.app-page-header__main,
.app-page-header__context {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-page-header__title-group {
  min-width: 0;
  flex: 0 0 auto;
}

.app-page-header__title-group .ant-typography {
  margin: 0;
  color: #17212b;
  color: var(--app-ink);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.app-page-header__subtitle {
  margin-top: 4px;
  color: #687682;
  color: var(--app-muted);
  font-size: 13px;
}

.app-page-header__actions,
.app-page-header__metrics {
  min-width: 0;
}

.app-page-header__actions {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.app-page-header__actions > .ant-space {
  justify-content: flex-end;
}

.app-page-header__context {
  margin-top: 14px;
  align-items: center;
}

.app-main-content .ant-card,
.app-main-content .ant-alert,
.app-main-content .ant-table-wrapper,
.app-main-content .ant-select-selector,
.app-main-content .ant-input,
.app-main-content .ant-btn {
  border-radius: 6px;
  border-radius: var(--app-radius);
}

.app-main-content .ant-card {
  box-shadow: none;
}

.app-main-content .ant-tabs-top > .ant-tabs-nav {
  margin: 0 0 16px;
}

.app-main-content .ant-tabs-top > .ant-tabs-nav .ant-tabs-tab {
  min-height: 46px;
  margin: 0 24px 0 0;
  padding: 10px 2px;
}

.app-main-content .ant-tabs-tab .anticon {
  -webkit-margin-end: 7px;
          margin-inline-end: 7px;
}

.app-main-content .ant-tabs-ink-bar {
  height: 3px !important;
  border-radius: 3px 3px 0 0;
}

.inbox-content-section {
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.inbox-content-section .ant-tabs-content-holder {
  min-width: 0;
}

.custom-footer {
  flex: 0 0 56px;
  height: 56px !important;
  padding: 0 24px !important;
  border-top: 1px solid #dce2e7;
  border-top: 1px solid var(--app-border);
  color: #687682 !important;
  color: var(--app-muted) !important;
}

@media (max-width: 900px) {
  .fixed-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .module-navigation__identity {
    min-width: auto;
    padding: 0 14px;
  }

  .module-navigation__identity strong {
    display: none;
  }

  .module-navigation__link {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 600px) {
  .module-navigation__identity {
    display: none;
  }

  .module-navigation__link {
    min-height: 52px;
    min-height: var(--app-context-nav-height);
  }

  .app-page-header__main,
  .app-page-header__context {
    flex-direction: column;
    align-items: stretch;
  }

  .app-page-header__actions > .ant-space,
  .app-page-header__filters > .ant-space {
    width: 100%;
  }

  .app-page-header__title-group .ant-typography {
    font-size: 21px;
    white-space: normal;
  }

  .inbox-content-section .ant-tabs-top > .ant-tabs-nav .ant-tabs-tab {
    margin-right: 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-layout,
  .module-navigation,
  .module-navigation__link {
    transition: none !important;
  }
}

