@font-face {
  font-family: 'BrandonText-Bold';
  src: url('/fonts/BrandonText-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Black';
  src: url('/fonts/BrandonText-Black.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Medium';
  src: url('/fonts/BrandonText-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Regular';
  src: url('/fonts/BrandonText-Regular.otf') format('opentype');
}
@keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.icon-spin {
  -webkit-animation: icon-spin 2s infinite linear;
  animation: icon-spin 2s infinite linear;
}
html {
  font-size: 16px;
}
html,
body {
  position: fixed;
  height: 100%;
  width: 100%;
}
#modal-root,
#error-modal {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.modal-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  width: 100vw;
  height: 100%;
  justify-content: center;
  align-items: stretch;
}
input.visit-input {
  font-family: BrandonText-Medium, Lato, sans-serif;
  font-size: 1.1rem;
  border: none;
}
input.visit-input:focus {
  outline: none;
}
body {
  font-family: Lato, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
#root {
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
}
.fade-enter {
  opacity: 0;
}
.fade-enter.fade-enter-active {
  transition: 300ms linear;
  opacity: 1 !important;
}
.fade-enter-done {
  opacity: 1 !important;
}
.fade-exit {
  opacity: 1 !important;
}
.fade-exit.fade-exit-active {
  opacity: 0;
  transition: 3000ms linear;
}
.fade-in-enter,
.fade-in-appear {
  transform: translateY(2rem);
  opacity: 0;
}
.fade-in-enter.fade-in-enter-active,
.fade-in-appear.fade-in-appear-active {
  transition: 200ms linear;
  transform: none;
  opacity: 1;
}
.slide-next-enter {
  transform: translateX(100%);
}
.slide-next-enter.slide-next-enter-active {
  transition: 200ms linear;
  transform: unset;
}
.slide-next-exit {
  transform: translateY(-100%);
}
.slide-next-exit.slide-next-exit-active {
  transition: 200ms linear;
  transform: translate(100%, -100%);
}
.slide-previous-enter {
  transform: scale(0.9);
}
.slide-previous-enter.slide-previous-enter-active {
  transition: 200ms linear;
  transform: unset;
}
.slide-previous-exit {
  transform: translateX(-100%);
}
.slide-previous-exit.slide-previous-exit-active {
  transition: 200ms linear;
  transform: translateX(-100%) scale(0.6);
}
.fly-in-enter,
.fly-in-appear {
  transform: translateY(100%);
}
.fly-in-enter.fly-in-enter-active,
.fly-in-appear.fly-in-appear-active {
  transition: 200ms linear;
  transform: none;
}
.fly-in-exit {
  transform: none;
}
.fly-in-exit.fly-in-exit-active {
  transition: 200ms linear;
  transform: translateY(100%);
}
.slide-in-enter,
.slide-in-appear {
  transform: translateX(100%);
}
.slide-in-enter.slide-in-enter-active,
.slide-in-appear.slide-in-appear-active {
  transition: 200ms linear;
  transform: none;
}
.slide-in-exit {
  transform: none;
}
.slide-in-exit.slide-in-exit-active {
  transition: 200ms linear;
  transform: translateX(100%);
}
.ant-pro-form-collapse-button {
  font-size: 0;
}
.ant-pro-form-collapse-button::after {
  content: "Filters";
  font-size: 14px;
  color: #ffffff;
  background-color: #1677ff;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #1677ff;
  cursor: pointer;
  display: inline-block;
  margin-left: 8px;
  text-align: center;
}
/*
.expand-hide-enter.expand-hide-enter-active {
  padding: 0 !important;
  height: 0;
  transition: 200ms linear;
}

.expand-hide-enter-done {
  padding: 0 !important;
  height: 0;
}

.expand-enter.expand-enter-active {
  background: white;
  transition: 200ms linear;
  margin-top: 0;
  /* transform: translateY(-100%); */
/*}

.expand-enter-done {
  background: white;
  margin-top: 0;
  transform: translateY(-100%);
}*/

.serviceability-info .ant-collapse-content > .ant-collapse-content-box {
  padding: 0;
}
.selected-row {
  background-color: #e6f7ff !important;
}
.serviceability-data-table .ant-table.ant-table-small .ant-table-tbody > tr > td {
  padding: 2px 0px;
}

@font-face {
  font-family: 'BrandonText-Bold';
  src: url('/fonts/BrandonText-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Black';
  src: url('/fonts/BrandonText-Black.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Medium';
  src: url('/fonts/BrandonText-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'BrandonText-Regular';
  src: url('/fonts/BrandonText-Regular.otf') format('opentype');
}
#modal-root,
#error-modal {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.modal-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  width: 100vw;
  height: 100%;
  justify-content: center;
  align-items: stretch;
}
input.visit-input {
  font-family: BrandonText-Medium, Lato, sans-serif;
  font-size: 1.1rem;
  border: none;
}
input.visit-input:focus {
  outline: none;
}
body {
  font-family: Lato, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.App {
  text-align: center;
}
.App-logo {
  animation: App-logo-spin infinite 6s linear;
  height: 40vmin;
  pointer-events: none;
}
.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}
.App-link {
  color: #61dafb;
}
@keyframes App-logo-spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
.App {
  font-family: sans-serif;
  text-align: center;
}
.hidden {
  display: none;
}
.ant-layout-header {
  padding: 0 16px !important;
  z-index: 10 !important;
}
p {
  margin: 0;
  padding: 0;
  margin-bottom: 0 !important;
}
svg {
  vertical-align: baseline;
}
.ant-layout-sider-trigger {
  display: none;
}

.low-confidence {
  background-color: #ffccc7 !important;
  /* Light Red */
}
.medium-confidence {
  background-color: #fff1b8 !important;
  /* Light Yellow */
}
.high-confidence {
  background-color: #d9f7bf !important;
  /* Light Green */
}
.custom-row:hover > td {
  background-color: inherit !important;
  /* Prevent color change on hover */
}

/* Replace main drag text */
.center-package-import-modal .ant-upload.ant-upload-drag p.ant-upload-text {
  font-size: 0;
}
.center-package-import-modal .ant-upload.ant-upload-drag p.ant-upload-text::after {
  content: 'Drag and drop a package file here or click to select a file';
  font-size: 14px;
  color: #000;
  font-weight: 600;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
}
/* Replace the subtext hint */
.center-package-import-modal .ant-upload.ant-upload-drag p.ant-upload-hint {
  font-size: 0;
  position: relative;
}
.center-package-import-modal .ant-upload.ant-upload-drag p.ant-upload-hint::after {
  content: 'Only .xlsx and .csv files are supported';
  font-size: 12px;
  color: #666;
  font-weight: 600;
  left: 0;
  top: 20px;
  width: 100%;
  text-align: center;
}
/* Customize the icon (optional) */
.center-package-import-modal .ant-upload.ant-upload-drag .anticon {
  color: #1890ff;
  /* Change icon color */
  font-size: 28px;
  /* Change icon size */
}

.tab {
  margin-bottom: 2rem;
}
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner-table .ant-table-middle {
  overflow-x: auto !important;
}
.package-table .ant-table-middle {
  overflow-x: auto !important;
}
.approval-request-table .ant-table-middle {
  overflow-x: auto !important;
}

