.w-full {
  width: 100%;
}
.h-screen {
  height: 100vh;
}
.fixed {
  position: fixed;
}
.w-4000px {
  width: 4000px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

div,
li {
  animation: fadeIn 0.03s;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  box-shadow: 0 0 11px 3px rgba(101, 118, 255, 0.1);
}
.form-label {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
}
.form-control-xl,
.select2-container .select2-selection,
.select2-container .select2-selection .select2-selection__arrow {
  height: calc(3.25rem + 2px);
  padding: 0.625rem 1.25rem;
  font-size: 19px;
  line-height: 2rem;
  border-radius: 5px;
}

.modal-dialog {
  display: grid;
}
.step-title {
  z-index: 10;
  text-align: center;
  border: 1px solid #9c8ecd;
  border-radius: 7px;
  padding: 3px;
  font-size: 10px;
}

.step-item {
  align-self: flex-start;
}

.maxcontainer {
  max-width: 100% !important;
}

.y-chat {
  border-radius: 4px;
  min-height: calc(100vh - 65px);
  max-height: calc(100vh - 650px);
}

.compose-indicator {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px 16px 16px 2px;
}

.dots .dot {
  display: inline-block;
  margin-right: 2px;
  width: 8px;
  height: 8px;
  background: #858688;
  border-radius: 100%;
  animation: fade 1.2s ease infinite;
  animation-delay: 1.2s;
}
.dots .dot:nth-child(2) {
  animation-delay: 1.32s;
}
.dots .dot:nth-child(3) {
  animation-delay: 1.44s;
}

@keyframes fade {
  0%,
  100% {
    transform: initial;
    transform: scale(1);
  }
  50% {
    opacity: 0.33;
    transform: scale(0.7);
  }
}

#bottom-navigation {
  display: block;
  z-index: 10;
  bottom: 7px;
  left: 0;
  right: 0;
  border-radius: 22px;
  /* height: 72px; */
  box-shadow: 0 0 12px 3px rgb(201 201 201) !important;
  font-size: 32px;
}

ol.stepper {
  --default-b: lightgrey;
  --default-c: black;
  --active-b: var(--primary);
  --active-c: white;
  --circle: 2em; /* size of circle */
  --b: 3px; /* line thickness */

  display: flex;
  list-style: none;
  justify-content: space-between;
  background: linear-gradient(var(--default-b) 0 0) no-repeat 50%
    calc((var(--circle) - var(--b)) / 2) / 100% var(--b);
  counter-reset: step;
  margin: 20px;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
  overflow: hidden;
}
ol.stepper li {
  display: grid;
  place-items: flex-start;
  gap: 5px;
  font-family: sans-serif;
  position: relative;
}
ol.stepper li::before {
  content: counter(step) " ";
  counter-increment: step;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  height: var(--circle);
  border: 5px solid #fff;
  box-sizing: border-box;
  background: var(--active-b);
  color: var(--active-c);
  border-radius: 50%;
  font-family: monospace;
  z-index: 1;
}
ol.stepper li.active ~ li::before {
  background: var(--default-b);
  color: var(--default-c);
}
ol.stepper li.active::after {
  content: "";
  position: absolute;
  height: var(--b);
  right: 100%;
  top: calc((var(--circle) - var(--b)) / 2);
  width: 100vw;
  background: var(--active-b);
}

@media (max-width: 600px) {
  ol.stepper {
    display: grid;
    gap: 20px;
    background: linear-gradient(var(--default-b) 0 0) no-repeat
      calc((var(--circle) - var(--b)) / 2) 50% / var(--b) 100%;
  }
  ol.stepper li {
    display: flex;
  }
  ol.stepper li.active::after {
    content: "";
    position: absolute;
    width: var(--b);
    bottom: 100%;
    left: calc((var(--circle) - var(--b)) / 2);
    top: auto;
    right: auto;
    height: 100vw;
    background: var(--active-b);
  }
}

.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 360px;
  max-width: 700px;
  max-height: 460px;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  background: transparent;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
  transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
  transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 1px solid #f4f4f4;
}

.signature-pad--body canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #c3c3c3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 8px;
}
