@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html,
  body {
    -webkit-tap-highlight-color: transparent;
  }

  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  input[type="number"] {
    -moz-appearance: textfield;
  }
}

@layer components {
  .container {
    @apply w-full lg:max-w-[80rem] mx-auto;
  }

  .radial-gradient-top-left {
    background-image: radial-gradient(at top left, #45f5a15e 0%, #00000000 25%);
  }

  .bgImageForLogin {
    background-image: url("./assets//images//Dots-4.png");
    background-position: right bottom;
    height: 100%;
    width: 100%;
    animation: bgImage 2s linear;
  }

  @keyframes bgImage {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }
}

html,
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.ant-btn-primary {
  background: #1890ff !important;
}

.ant-btn-primary:focus,
.ant-btn-primary:hover {
  background: #40a9ff !important;
}

.ant-table-thead > tr > th {
  color: black !important;
  font-weight: 700;
  background-color: transparent;
  font-size: 13px;
}

.ant-layout-sider {
  color: #ffffff;
}

.ant-menu-item a {
  color: #d8d8d8 !important;
  /* padding: 15px !important; */
  padding: 0 10px;
}

.ant-picker-panels > *:first-child button.ant-picker-header-next-btn {
  visibility: visible !important;
}

.ant-picker-panels > *:first-child button.ant-picker-header-super-next-btn {
  visibility: visible !important;
}
/* 
.ant-picker-panels>*:last-child {
  display: none;
} */

.ant-picker-panel-container,
.ant-picker-footer {
  width: 280px !important;
}

.ant-picker-footer-extra > div {
  flex-wrap: wrap !important;
}

.ant-image-preview-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* recent content table css  */

:where(.recent)
  .ant-table-wrapper
  .ant-table-container
  table
  > thead
  > tr:first-child
  > *:last-child {
  border-start-end-radius: 0px !important;
}

:where(.recent)
  .ant-table-wrapper
  .ant-table-container
  table
  > thead
  > tr:first-child
  > *:first-child {
  border-start-start-radius: 0px !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* print barcode style */
.print-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.print-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.print-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.print-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.print-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.print-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.print-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

.print-cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
}

.print-cols-9 {
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
}

.print-cols-10 {
  grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
}

.print-cols-11 {
  grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
}

.print-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

.print-rows-1 {
  grid-template-rows: repeat(1, minmax(0, 1fr)) !important;
}

.print-rows-2 {
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

.print-rows-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
}

.print-rows-4 {
  grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
}

.print-rows-5 {
  grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
}

.print-rows-6 {
  grid-template-rows: repeat(6, minmax(0, 1fr)) !important;
}

.print-rows-7 {
  grid-template-rows: repeat(7, minmax(0, 1fr)) !important;
}

.print-rows-8 {
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important;
}

.print-rows-9 {
  grid-template-rows: repeat(9, minmax(0, 1fr)) !important;
}

.print-rows-10 {
  grid-template-rows: repeat(10, minmax(0, 1fr)) !important;
}

.print-rows-11 {
  grid-template-rows: repeat(11, minmax(0, 1fr)) !important;
}

.print-rows-12 {
  grid-template-rows: repeat(12, minmax(0, 1fr)) !important;
}

/* Default styles for headings within elements with class 'productDescription' */
.productDescription h1,
.productDescription h2,
.productDescription h3,
.productDescription h4,
.productDescription h5,
.productDescription h6 {
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin: 10px 0;
}

/* Default styles for ordered lists within elements with class 'productDescription' */
.productDescription ol {
  list-style-type: decimal !important;
  margin: 0 0 20px 0;
  padding: 0;
}

.productDescription ol li {
  margin: 0 0 10px 0;
}

:where(.filterTag)
  .ant-select:not(.ant-select-customize-input)
  .ant-select-selector {
  color: black !important;
  background-color: #d7d7d7 !important;
}

:where(.filterTag) .ant-select-selection-placeholder {
  color: black !important;
}

:where(.eCommerce)
  .ant-table
  .ant-table-container
  .ant-table-content
  table
  thead.ant-table-thead {
  background-color: #4f46e5 !important;
}

:where(.eCommerce) .ant-select-dropdown {
  background-color: white !important;
}

:where(.eCommerce).ant-select:not(.ant-select-customize-input)
  .ant-select-selector {
  height: 42px;
}

:where(.eCommerce)
  .ant-select:not(.ant-select-customize-input)
  .ant-select-selector
  .ant-select-selection-item {
  padding-top: 4px;
}

:where(.menuDrawer) .ant-drawer-wrapper-body .ant-drawer-header {
  padding-top: 75px;
}

.ant-menu-item .mobileMenu {
  color: rgb(94, 93, 93) !important;
}

:where(.ant-upload-list-item-container) .ant-tooltip {
  display: none !important;
}

:where(.imageGalleryModal) .ant-modal-content {
  height: 95vh !important;
}

@media (min-width: 769px) {
  :where(.imageGalleryModal) .ant-modal-content {
    height: 85vh !important;
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hideScrollBar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hideScrollBar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

@media not all and (min-width: 768px) {
}

/* default scroll bar style */
@media (min-width: 768px) {
  .tableScrollBar::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
  }

  .tableScrollBar::-webkit-scrollbar-thumb {
    border-radius: 4px !important;
  }

  ::-webkit-scrollbar {
    width: 6px;
  }

  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

.ant-input-number-handler-wrap {
  display: none !important;
}

.home-header-animation {
  overflow: hidden;
  position: relative;
  animation: animate 1.2s ease-out;
}

@keyframes animate {
  0% {
    margin-top: -50px;
    opacity: 0;
  }

  100% {
    margin-top: 0px;
    opacity: 1;
  }
}
