@font-face {
  font-family: 'Lato';
  src: local('Lato-Regular'), url('Lato-Regular.9d883d540ee2b4de8024.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Lato';
  src: local('Lato-Bold'), url('Lato-Bold.636be8de934918e38ed9.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-Regular'),
    url('Montserrat-Regular.ceb11275ab638627a643.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-SemiBold'),
    url('Montserrat-SemiBold.d5e0cc788cba9ced1fb9.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat-Bold'),
    url('Montserrat-Bold.2c155811b35513d5beaa.ttf') format('truetype');
  font-weight: bolder;
}

@media only screen and (min-width: 768px) {
  body,
  .ant-drawer {
    max-width: 768px;
    margin: auto;
  }

  .ant-anchor-wrapper-horizontal,
  .ant-segmented-wrapper {
    width: calc(100% - 16px) !important;
  }

  .ant-affix .ant-anchor-wrapper-horizontal {
    width: 100% !important;
  }
}

html {
  background-color: #eaecf0;
}

body,
.ant-input,
.ant-segmented,
.ant-radio-wrapper,
.ant-tag {
  font-family: 'Lato' !important;
  font-weight: 'normal';
}

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-select: none;
}

.ant-radio-wrapper::after {
  content: none;
}

.ant-radio-wrapper {
  width: 100%;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 20px 0px;
  border-style: solid;
  border-width: 0;
}

.ant-segmented,
.ant-anchor {
  background: #f9fafb !important;
  border-radius: 50px;
  gap: 8px;
  padding: 0;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.ant-anchor-wrapper-horizontal,
.ant-segmented-wrapper,
.ant-affix .ant-anchor-wrapper-horizontal {
  padding-bottom: 16px;
  background: white !important;
  overflow-x: auto;
  width: calc(100vw - 16px);
}

.ant-anchor-wrapper-horizontal::before {
  border-bottom: 0 !important;
}

.ant-anchor-link {
  padding: 0 !important;
}

.ant-anchor-link-disabled .ant-anchor-link-title,
.ant-anchor-link-disabled.ant-anchor-link-active .ant-anchor-link-title {
  color: rgba(0, 0, 0, 0.25) !important;
  cursor: not-allowed;
  pointer-events: none;
}

.ant-anchor-link-title {
  padding: 8px 16px !important;
  font-size: 16px !important;
  color: rgb(102, 112, 133) !important;
  line-height: 28px !important;
}

.ant-anchor-ink {
  height: 44px !important;
  border-radius: 50px !important;
  background-color: #0064dc !important;
}

.ant-anchor-link-active > .ant-anchor-link-title {
  color: white !important;
}

.ant-anchor-child .ant-anchor-child-item:first-child {
  margin-top: -64px;
  padding-top: 64px;
}

.ant-segmented .ant-segmented-item-selected,
.ant-segmented-thumb {
  background-color: #0064dc !important;
  color: white !important;
  border-radius: 50px !important;
}

.ant-segmented-item {
  padding: 8px 16px !important;
  border: none !important;
  border-radius: 50px !important;
  color: rgb(102, 112, 133);
}

.ant-segmented .ant-segmented-item-label {
  font-size: 16px !important;
  padding: 0 !important;
}

.ant-drawer-header {
  padding: 16px !important;
}

.ant-drawer-content-wrapper {
  height: auto !important;
  max-height: 100vh !important;
  box-shadow: none !important;
}

.ant-drawer .ant-drawer-content {
  max-height: 100vh !important;
}

.ant-carousel .slick-dots {
  position: relative;
  margin-top: 16px;
}

.ant-carousel .slick-dots li {
  width: 8px !important;
  height: 8px !important;
  margin-inline: 6px;
}

.ant-carousel .slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  background: #f2f4f7 !important;
  border-radius: 4px;
  opacity: 1 !important;
}

.ant-carousel .slick-dots li.slick-active button {
  background: #003c84 !important;
}

.ant-otp .ant-otp-input {
  border-radius: 10%;
  aspect-ratio: 4/5;
  font-size: 20px;
}

.custom-panel-header {
  padding: 0 0 24px 0 !important;
  margin-top: -8px;
}

.custom-panel-header > .ant-collapse-header-text {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.ant-collapse-content-box {
  padding: 0 !important;
}

.rotate {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.react-calendar {
  border: none !important;
  width: 100% !important;
  font-family: 'Lato' !important;
}

.react-calendar__navigation__next2-button,
.react-calendar__navigation__prev2-button {
  display: none;
}

.react-calendar__navigation__label__labelText {
  font-size: 16px;
  font-weight: normal;
  font-family: 'Lato' !important;
}

.react-calendar__tile {
  color: black !important;
}

.react-calendar__tile > abbr {
  font-size: 1.2em;
}

.react-calendar__month-view__weekdays {
  padding: 12px 0px !important;
}

.react-calendar__month-view__weekdays__weekday > abbr {
  font-size: 12px;
  font-weight: normal;
  text-decoration: none;
  color: #d0d5dd !important;
  text-transform: capitalize;
}

.react-calendar__month-view__days__day--neighboringMonth {
  color: #d0d5dd !important;
}

.react-calendar__month-view__days__day--neighboringMonth:hover,
.react-calendar__navigation__label:hover,
.react-calendar__navigation button:hover {
  background: none !important;
}

.react-calendar__tile {
  max-width: initial;
  padding: 1em 0;
  text-align: center;
  color: #333;
  font-weight: 400;
  cursor: pointer;
}

.react-calendar__tile--now {
  background: none !important;
  font-weight: bold !important;
  color: #0064dc !important;
}

.react-calendar__tile--active,
.react-calendar__tile--hasActive,
.react-calendar__tile--active:enabled {
  background: #0064dc !important;
  color: white !important;
}

.react-calendar__tile--rangeStart {
  border-radius: 0px;
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
}

.react-calendar__tile--rangeEnd {
  border-radius: 0px;
  border-top-right-radius: 50px !important;
  border-bottom-right-radius: 50px !important;
}

.react-calendar__tile--range {
  border-radius: 0;
}

.react-calendar__navigation button:disabled,
.react-calendar__tile:disabled {
  color: #ddd !important;
  background: none !important;
}

ul.ant-dropdown-menu.custom-menu li.ant-dropdown-menu-item:nth-last-child(1) {
  position: sticky !important;
  bottom: 0;
  background: #fff !important;
}

.ant-switch {
  min-width: 36px;
  height: 20px;
}

.ant-switch-handle {
  height: 16px !important;
  width: 16px !important;
}

.ant-switch.ant-switch-checked .ant-switch-handle {
  inset-inline-start: calc(100% - 18px);
}

.ant-switch.ant-switch-checked {
  background: #0064dc;
}

