@tailwind base;
@tailwind components;
@tailwind utilities;

@import "./_loader.scss";
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --foreground-rgb: 71, 84, 103;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
  --ck-border-radius: 6px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;
  }
}

body {
  /* color: rgb(var(--foreground-rgb)); */
  font-family: "Public Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
html {
  padding: 0 !important;
}

@layer utilities {
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    @apply text-secondary;
  }

  .text-balance {
    text-wrap: balance;
  }
  /* Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .btn {
    @apply flex active:scale-95 transition-all duration-300 justify-center items-center px-[14px] py-[11px] whitespace-nowrap bg-white  border border-[#D0D5DD]  font-normal text-[16px] sm:text-[16px] text-[#414651]  capitalize hover:opacity-90  disabled:opacity-60 rounded-lg outline-none shadow-[0px_1px_2px_0px_rgba(16,24,40,0.05)];
  }
  .input {
    @apply text-[#414651] border border-[#D5D7DA] rounded-lg px-[14px] py-[9px] w-full pr-11 outline-none focus:border-gray-400 shadow-[0px_1px_2px_0px_#0A0D120D]  text-[16px] placeholder:text-[#717680];
  }
  .template {
    @apply bg-white rounded-lg border border-[#D5D7DA];
  }
}
button {
  outline: none !important;
}
.pattern {
  background-image: url("../src/assets/images/bg-pattern.svg");
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}

.modal-pattern {
  background-image: url("../src/assets/images/pattern.png");
  background-repeat: no-repeat;
}
/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f4f4f4;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #42307d;
  border-radius: 8px;
}

::-webkit-scrollbar:horizontal {
  width: 8px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track:horizontal {
  background: #f4f4f4;
}

/* Handle */
::-webkit-scrollbar-thumb:horizontal {
  background: #42307d;

  border-radius: 8px;
}

.public-sans {
  font-family: "Public Sans", sans-serif;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  opacity: 0.9;
}
.ck-powered-by {
  display: none !important;
}
.ck.ck-editor {
  border-radius: 8px;
  border: 1px solid #d5d7da;
}
.ck.ck-content {
  height: 300px;
  width: 100%;
  font-size: 12px;
}
.ck-rounded-corners .ck.ck-editor__main > .ck-editor__editable,
.ck.ck-editor__main > .ck-editor__editable.ck-rounded-corners {
  border-radius: 0 0 8px 8px !important;
  border-color: #d5d7da !important;
}
.ck.ck-button.ck-off svg {
  font-size: 8px !important;
}
/* Hide spinner for Webkit browsers (Chrome, Safari) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Optional: Customize input border or style as desired */
input[type="number"] {
  border: 1px solid #ccc; /* Example border */
}

.table-max-w {
  max-width: calc(100vw - 110px);
}

.table-max-w-mini {
  max-width: calc(100vw - 130px);
}

.S9gUrf-YoZ4jf {
  display: flex;
  justify-content: center;
  align-items: center;

  > * {
    border: none !important;
    border: none !important;
    box-shadow: none;
  }

  > * > * {
    border: none !important;
    box-shadow: none;
    border: none !important;
  }
  border: none !important;
}

.nsm7Bb-HzV7m-LgbsSe {
  border-width: 0px !important;
}

.Toastify__toast {
  justify-content: flex-start;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #f9fafb !important;
}
.loaded_file {
  background: #efefef4d !important;
}

.authShadow {
  box-shadow: 0px 1px 2px 0px #0a0d120d, 0px -2px 0px 0px #0a0d120d inset,
    0px 0px 0px 1px #0a0d122e inset;
}
.auth-bg {
  background-image: url("./assets/images/auth-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #191c36;
}

.tab_class {
  box-shadow: 0px 1px 2px 0px #1018280f;
  box-shadow: 0px 1px 3px 0px #1018281a;
}

.request-loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
}

.request-loader::after,
.request-loader::before {
  content: "";
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--loader-color, #333);
  position: absolute;
  left: 0;
  top: 0;
  animation: animloader 2s linear infinite;
}

.request-loader::after {
  animation-delay: 1s;
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.dashboard_card {
  box-shadow: 0px 1px 2px 0px #0a0d120d;
  max-height: 400px;
  overflow: auto;
}
.formn_card {
  box-shadow: 0px 1px 2px -1px #0a0d121a;
  box-shadow: 0px 1px 3px 0px #0a0d121a;
}

.select_container {
  background-color: #fff;
  padding: 11px 4px;
  border-radius: 6px;
  font-size: 14px;
  color: #636363;
  box-shadow: 0px 0px 4px 0px #00000040;
  border: 0.5px solid #d5d9eb;
}

.select-option {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  padding: 0.1rem 0.8rem;
  color: #636363;
  transition: background-color 0.2s;
}

.select-option:hover {
  background-color: #f9fafb; /* tailwind's hover:bg-gray-50 */
}

.select-option--active {
  background-color: #53389e10;
}

.select-option--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.select-option--enabled {
  cursor: pointer;
}

.component-loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
}
.component-loader::after,
.component-loader::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #42307d;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  animation: animloader 1s ease-in-out infinite;
}
.loader::after {
  animation-delay: 1s;
}

@keyframes animloader {
  0%,
  100% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0;
  }
}

.table_shadow {
  box-shadow: 0px 1px 2px 0px #1018280d;
}

.Toastify__toast {
  min-height: 20px !important;
  overflow: hidden !important;
  color: white !important;
}

.Toastify__toast-body {
  padding: 0 !important;
}

.Toastify__close-button {
  margin-top: 4px;
}

.fleur-de-leah-regular {
  font-family: "Fleur De Leah", serif;
  font-weight: 400;
  font-style: normal;
}
.tangerine-regular {
  font-family: "Tangerine", serif;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", serif;
  font-weight: 400;
  font-style: normal;
}

.react-form-builder.clearfix > div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  height: 100%;
}

.great-vibes {
  font-family: "Great Vibes", cursive;
}

.pacifo {
  font-family: "Pacifico", cursive;
}

.dancing-script {
  font-family: "Dancing Script", cursive;
}

.allura {
  font-family: "Allura", cursive;
}

.satisfy {
  font-family: "Satisfy", cursive;
}
