@font-face {
  font-family: switzerRegular;
  src: url("../public/fonts/Switzer-Regular.woff");
}

@font-face {
  font-family: switzerBold;
  src: url("../public/fonts/Switzer-Bold.woff");
}

:root {
  --background: #ecf5fe;
  --foreground: #171717;

  --blueColor: #1e96e1;
  --gryColor: #999999;

  --loaderWidth: 48px;
  --loaderHeight: 48px;

  --loaderColor: #fff;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
} */

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  /* font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
  font-family: switzerRegular, sans-serif;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::-webkit-scrollbar-track {
  background: rgb(192 222 251);
}

::-webkit-scrollbar-thumb {
  background-color: #3948b9;
}

.css-w5zs33 {
  height: 6px !important;
}

/* For WebKit-based browsers (Chrome, Safari, etc.) */
input:-webkit-autofill {
  background-color: #fff !important;
  color: var(--foreground) !important;
  transition: background-color 5000s ease-in-out 0s;
  /* Prevent default autofill background */
}

/* For Firefox */
input:-moz-autofill {
  background-color: #fff !important;
  color: var(--foreground) !important;
}

/* For Internet Explorer and Edge */
input:-ms-autofill {
  background-color: #fff !important;
  color: var(--foreground) !important;
}

::placeholder {
  color: rgba(30, 30, 30, 1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231631ef%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

/* For Chrome, Safari, Edge, Opera */
input[type="date"]::-webkit-calendar-picker-indicator {
  /* display: none; */
  -webkit-appearance: none;
  opacity: 0;
}

/* For Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
  /* display: none; */
  opacity: 0;
}

input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%202V5%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M16%202V5%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.5%209.08984H20.5%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M21%208.5V17C21%2020%2019.5%2022%2016%2022H8C4.5%2022%203%2020%203%2017V8.5C3%205.5%204.5%203.5%208%203.5H16C19.5%203.5%2021%205.5%2021%208.5Z%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M15.6947%2013.7002H15.7037%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M15.6947%2016.7002H15.7037%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M11.9955%2013.7002H12.0045%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M11.9955%2016.7002H12.0045%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.29431%2013.7002H8.30329%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8.29431%2016.7002H8.30329%22%20stroke%3D%22%231E1E1E%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 20px auto;
}

/* 
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
} */

.noSelect {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.noSelect:focus {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

:focus {
  outline: none !important;
}

.mainContent {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 48px;
  max-height: calc(100vh - 78px);
  overflow: hidden;
  overflow-y: auto;
}

.blueBtn {
  width: 180px;
  min-height: 56px;
  border-radius: 16px;
  background: rgb(33, 104, 176);
  background: linear-gradient(126deg, #1631ef 0%, #0d1a73 100%);
  cursor: pointer;
  box-shadow: 0 16px 24px 0 rgba(33, 104, 176, 0.24);
  font-size: 18px;
  color: #ffffff;
  font-family: switzerBold, sans-serif;
  outline: none;
  border: none;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;

  &:hover {
    opacity: 0.8;
  }
}

.quill {
  width: 50%;
  height: 650px;
}

.quill .ql-container.ql-snow,
.quill .ql-toolbar.ql-snow {
  background-color: #ffffff;
}

.quill .ql-container.ql-snow {
  border-radius: 0 0 10px 10px;
}

.quill .ql-toolbar.ql-snow {
  border-radius: 10px 10px 0 0;
}

.completed {
  color: green;
}

.pending {
  color: #ff5500;
}

.rejected {
  color: red;
}

.errorMessage {
  font-size: 18px;
  color: #fb3333;
}

.fullWidth {
  width: 100%;
}

.leftSide {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.react-tel-input {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 56px;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid rgba(33, 104, 176, 0.2);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  padding: 0 16px;
  font-family: "switzerRegular";
  color: #afafaf;
  font-size: 16px;
  line-height: 18px;
  outline: none;
}

.react-tel-input .form-control {
  margin-left: 42px !important;
  background: transparent !important;
  border: unset !important;
  box-shadow: unset !important;
  padding: 16px 0 !important;
  width: 100% !important;
}

.react-tel-input .flag-dropdown {
  background: transparent !important;
  border: unset !important;
}

.addSpacingLeftAndSizeShort {
  margin-left: 16px;
  font-size: 16px;
}

#imageUpload {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
}

.centerContentStyle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.star-svg {
  width: 24px;
}

.special-label {
  display: none;
}

.epr_q53mwh.epr_vl50xg.epr_-3yva2a.epr_c90x4z.epr_-sisw4f.epr_mw4zr1.epr_-kg0voo.epr_iogimd.epr_wtwvf4.epr_-lzq3oa,
.epr-category-nav.epr_q53mwh.epr_-lzq3oa.epr_rco1ad.epr_-8ygbw8.epr_1q9rpn {
  display: none !important;
}

.emojiForMessage {
  height: 280px;
  width: 280px;
  position: absolute;
  bottom: 63px;
  right: 11%
}

.emojiForMessage>aside {
  width: 100% !important;
  height: 100% !important;
}

/* .apexcharts-canvas {
  max-width: 600px;
} */

/* Media Query */
@media screen and (max-width: 1780px) {
  .mainContent {
    overflow: auto;
    height: 92dvh;
  }
}

@media screen and (max-width: 600px) {
  .errorMessage {
    font-size: 14px;
  }

  .mainContent {
    /* width: 90%;
    margin: auto;
    gap: 22px;
    padding: 1.5rem 0 0; */

    width: 100%;
    /* margin: auto; */
    gap: 22px;
    padding: 1.5rem 1.2rem 0;
    height: calc(100dvh - 75px);
    overflow: auto;
  }

  .blueBtn {
    width: 86px;
    min-height: 42px;
    border-radius: 10px;
    font-size: 16px;
    box-shadow: 0 6px 8px 0 rgba(33, 104, 176, 0.24);
  }

  .react-tel-input {
    height: 45px;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    line-height: 14px;
    align-items: center;
  }

  .react-tel-input .form-control {
    height: 100%;
  }

  .addSpacingLeftAndSizeShort {
    margin-left: 14px;
  }

  .fullWidth p {
    font-size: 14px;
  }

  .quill {
    height: unset;
  }

  /* .css-1dtoofl-MuiPaper-root {
    width: 100%;
  } */
  .MuiDataGrid-scrollbar.MuiDataGrid-scrollbar--horizontal {
    height: 8px !important;
  }
}

.css-15hdpml-MuiPaper-root-MuiAccordion-root {
  box-shadow: none !important;
}