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;
}

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

.App {
  text-align: center;
  height: 100vh;
}

.main-layout {
  transition: margin-left 0.2s ease;
}

.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;
  /* Default antd header height */
  padding: 0;
  padding-left: 32px;
  padding-right: 128px;
  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;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.topbar-title-main {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.topbar-title-sub {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  margin-top: 2px;
}

/* Fixed Sidebar */
.fixed-sider {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1001;
}

.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: 64px !important;
}

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

  .topbar-title,
  .topbar-title-sub {
    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 */
}

