@import "https://fonts.googleapis.com/css?family=Roboto:500,900italic,900,400italic,700italic,300,700,500italic,300italic,400";

/* https://framework7.io/icons/ */

@font-face {
  font-family: 'Framework7 Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Framework7 Icons'), local('Framework7Icons-Regular'),
    url('../fonts/Framework7Icons-Regular.woff2') format('woff2'), url('../fonts/Framework7Icons-Regular.woff') format('woff'), url('../fonts/Framework7Icons-Regular.ttf') format('truetype');
}

.f7-icons,
.framework7-icons {
  font-family: 'Framework7 Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: 'liga';
  -moz-font-feature-settings: 'liga=1';
  -moz-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

/* Styles for the popover container and the link inside it */
.final-step-popover .driver-popover-description .support-link,
.support-link {
  color: #007bff;
  /* A standard blue color for links */
  text-decoration: underline;
  /* Add an underline */
  cursor: pointer;
  /* Ensure the cursor is a pointer (hand icon) */
}

/* Optional: Add hover effect for better user experience */
.final-step-popover .driver-popover-description .support-link:hover,
.support-link:hover {
  color: #0056b3;
  /* A darker blue on hover */
}

.custom-dropdown::-webkit-scrollbar {
  width: 8px;
}

.custom-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.custom-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.highlighted {
  background-color: #e5e7eb;
  /* Corresponds to Tailwind's bg-gray-200 */
}

.bold {
  font-weight: bold;
}

.grey {
  color: grey;
}

button {
  color: #ffffff;
  font-weight: 700;
  border-radius: 5px;
  background-color: rgb(37, 99, 235);
  border: 0;
}

button:hover {
  background-color: rgb(29, 78, 216);
}

.modal span {
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.modal span:nth-child(2) {
  animation-delay: .2s;
}

.modal span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes blink {
  0% {
    opacity: .2;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: .2;
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.saving {
  animation: spin 2s infinite linear;
  background-color: red;
  color: white !important;
  border-radius: 50%;
}

.tabulator-body {
  margin: 0;
  overflow: hidden;
}

html,
.tabulator-body {
  line-height: 20px;
}

.tabulator-body,
.tabulator-body input,
.tabulator-body input::-webkit-datetime-edit,
.tabulator-body textarea {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial;
}

.tabulator-body,
.tabulator-body input,
.tabulator-body input::-webkit-datetime-edit {
  padding: 0 !important;
}

.tabulator-body input::-webkit-datetime-edit {
  letter-spacing: -1px;
}

.tabulator-body input.picker[type="date"] {
  position: relative;
}

.tabulator-body input.picker[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  color: transparent;
  background: transparent;
}

.hidden {
  visibility: hidden;
  display: none !important;
}

.tab {
  font-weight: 500;
  font-size: 14px;
  font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
  letter-spacing: 0.4px;
  height: 36px;
  color: #80868B;
  background-color: rgb(241, 243, 244);
  line-height: normal;
  text-align: center;
  width: auto;
  padding: 9px 11px 9px 11px;
  min-width: 30px;
  display: block;
  box-sizing: border-box;
  border: none;
  background: #f9fbfd;
}

.tab:hover {
  background-color: #e8ebee;
  border-radius: 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}

.border-right {
  border-right: 1px solid #ccc !important;
  border-radius: 0;
}

.border-left {
  border-left: 1px solid #ccc !important;
  border-radius: 0;
}

.tab.active {
  color: rgb(11, 87, 208);
  background-color: rgb(225, 233, 247);
  box-shadow: none;
  border-radius: 0;
  z-index: 1;
}

.menu-button {
  padding: 4px 10px !important;
  letter-spacing: inherit !important;
  font-weight: normal;
  height: 24px !important;
  line-height: 16px;
  min-width: inherit;
}

.menu-item {
  height: 32px;
  padding: 0 16px;
  line-height: 32px;
}

.menu-item:hover,
.menubar-item:hover:not(.disabled):not(.primary),
.menubar-item.clicked {
  /* background-color: rgba(158, 158, 158, .2); */
  cursor: pointer;
}

.menubar-item {
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  white-space: nowrap;
}

.menubar-item.disabled {
  color: #80868B;
}

/* .material-icons,
.material-icons-outlined {
  font-size: 18px;
  color: rgb(85, 85, 85);
  cursor: pointer;
} */

.small {
  font-size: 14px;
}

#snackbar,
#dialog-snackbar {
  display: flex;
  justify-content: space-between;
  visibility: hidden;
  min-width: 250px;
  max-width: 100vw;
  background-color: #323232;
  color: #fff;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 10;
  left: 30px;
  bottom: 40px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px;
}

#snackbar.show,
#dialog-snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}

#snackbar-action,
#dialog-snackbar-action {
  margin-left: 16px;
  color: rgb(0, 151, 137);
  cursor: pointer;
  background-color: transparent;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

dialog {
  box-shadow: 'rgba(60, 64, 67, 0.15) 0px 4px 8px 3px';
  border: 0px;
  border-radius: 10px;
  min-width: 150px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

dialog textarea {
  max-height: 70vh;
}

/* .dialog-button {
font-family: "Google Sans", "Roboto", "Helvetica Neue", Helvetica, Arial;
;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.25px;
line-height: 16px;
text-align: center;
background-color: white;
color: rgb(17, 129, 63);
height: 36px;
width: auto;
border: 1px solid #c8e7d1;
padding: 9px 24px 11px 24px;
min-height: auto;
min-width: 72px;
display: block;
cursor: pointer;
box-sizing: border-box;
border-radius: 4px;
} */

/* .dialog-button:hover {
background-color: #F8FCF9;
border-radius: 3px;
} */

.primary,
.dialog-button.primary {
  background-color: rgb(17, 129, 63);
  color: white;
  border-radius: 3px;
}

.primary:hover,
.dialog-button.primary:hover {
  background-color: #2A8947;
  border-radius: 3px;
}

.tabulator-alert-state-dialog {
  font-weight: normal !important;
  box-shadow: 'rgba(60, 64, 67, 0.15) 0px 4px 8px 3px';
}

.tabulator-tableholder::-webkit-scrollbar {
  width: 12px;
  height: 13px;
}

.tabulator-tableholder::-webkit-scrollbar-track-piece {
  background-color: white;
  box-shadow: inset 0 0 2px rgb(217, 217, 217);
}

.tabulator-tableholder::-webkit-scrollbar-thumb {
  background-color: #dcdcdc;
  border: 1.5px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 10px;
}

.tabulator-tableholder::-webkit-scrollbar-thumb:hover {
  background-color: rgba(189, 192, 197);
}

.tabulator-tableholder::-webkit-scrollbar-button:horizontal:increment {
  /* Right */
  display: block;
  background-color: rgb(243, 243, 243);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 20 20' fill='rgb(155, 155, 155)' width='18px' height='13px'%3E%3Cpath d='M10 17l5-5-5-5v10z'/%3E%3Cpath d='M0 24V0h24v24H0z' fill='none'/%3E%3C/svg%3E");
  border-right: 1px solid rgb(218, 220, 224);
  border-left: 1px solid rgb(218, 220, 224);
  border-top: 1px solid rgb(218, 220, 224);
}

.tabulator-tableholder::-webkit-scrollbar-button:horizontal:decrement {
  /* Left */
  display: block;
  background-color: rgb(243, 243, 243);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 20 20' fill='rgb(155, 155, 155)' width='18px' height='13px'%3E%3Cpath d='M14 7l-5 5 5 5V7z'/%3E%3Cpath d='M24 0v24H0V0h24z' fill='none'/%3E%3C/svg%3E");
  border-left: 1px solid rgb(218, 220, 224);
  border-top: 1px solid rgb(218, 220, 224);
}

.tabulator-tableholder::-webkit-scrollbar-button:vertical:increment {
  /* Down */
  display: block;
  background-color: rgb(243, 243, 243);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 20 20' fill='rgb(155, 155, 155)' width='13px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  border-left: 1px solid rgb(218, 220, 224);
  border-top: 1px solid rgb(218, 220, 224);
  border-bottom: 1px solid rgb(218, 220, 224);
}

.tabulator-tableholder::-webkit-scrollbar-button:vertical:decrement {
  /* Up */
  display: block;
  background-color: rgb(243, 243, 243);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 20 20' fill='rgb(155, 155, 155)' width='13px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M7 14l5-5 5 5z'/%3E%3C/svg%3E");
  border-left: 1px solid rgb(218, 220, 224);
  border-top: 1px solid rgb(218, 220, 224);
}

#tabs::-webkit-scrollbar {
  height: 0px;
  background: transparent;
}

.blank-tab {
  overflow: scroll;
  height: calc(100vh - 100px);
  width: 100vw;
  border: 1px solid #999;
}

.fake-link {
  color: rgb(0, 0, 238);
  cursor: pointer;
  text-decoration: underline;
}

.tabulator {
  font-size: 13px;
  background-color: #f3f3f3;
}

/* .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
white-space: normal;
} */

.tabulator-cell .text-left {
  width: 100%;
  /* Ensure the child takes the full width of the parent cell */
  text-align: left;
  /* Explicitly align text left */
}

.tabulator-row {
  min-height: 32 px;
}

.tabulator-row .tabulator-cell {
  padding: 1px 2px 1px 2px;
}

.tabulator-row.tabulator-row-odd.row-gray {
  background-color: rgba(212, 212, 212);
}

.tabulator-row.tabulator-row-odd.row-red {
  background-color: rgba(247, 227, 225);
}

.tabulator-row.tabulator-row-odd.row-orange,
.tabulator-row.tabulator-row-odd .tabulator-cell.cell-orange {
  background-color: rgba(254, 243, 220);
}

.tabulator-row.tabulator-row-odd.row-green {
  background-color: rgba(222, 239, 230);
}

.tabulator-row.tabulator-row-odd.row-blue {
  background-color: rgba(228, 237, 249);
}

.tabulator-row.tabulator-row-even.row-gray {
  background-color: rgba(201, 201, 201);
}

.tabulator-row.tabulator-row-even.row-red {
  background-color: rgba(235, 220, 224);
}

.tabulator-row.tabulator-row-even.row-orange,
.tabulator-row.tabulator-row-even .tabulator-cell.cell-orange {
  background-color: rgba(242, 236, 218);
}

.tabulator-row.tabulator-row-even.row-green {
  background-color: rgba(210, 232, 229);
}

.tabulator-row.tabulator-row-even.row-blue {
  background-color: rgba(217, 230, 248);
}

.tabulator-row.tabulator-row-odd.row-gray:hover,
.tabulator-row.tabulator-row-odd.row-red:hover,
.tabulator-row.tabulator-row-odd.row-orange:hover,
.tabulator-row.tabulator-row-odd.row-green:hover,
.tabulator-row.tabulator-row-odd.row-blue:hover,
.tabulator-row.tabulator-row-even.row-gray:hover,
.tabulator-row.tabulator-row-even.row-red:hover,
.tabulator-row.tabulator-row-even.row-orange:hover,
.tabulator-row.tabulator-row-even.row-green:hover,
.tabulator-row.tabulator-row-even.row-blue:hover,
.tabulator-row.tabulator-row-odd .tabulator-cell.cell-orange:hover,
.tabulator-row.tabulator-row-even .tabulator-cell.cell-orange:hover {
  background-color: #bbb;
}

.tabulator-row.tabulator-row-odd.row-gray.tabulator-selected,
.tabulator-row.tabulator-row-odd.row-red.tabulator-selected,
.tabulator-row.tabulator-row-odd.row-orange.tabulator-selected,
.tabulator-row.tabulator-row-odd.row-green.tabulator-selected,
.tabulator-row.tabulator-row-odd.row-blue.tabulator-selected,
.tabulator-row.tabulator-row-even.row-gray.tabulator-selected,
.tabulator-row.tabulator-row-even.row-red.tabulator-selected,
.tabulator-row.tabulator-row-even.row-orange.tabulator-selected,
.tabulator-row.tabulator-row-even.row-green.tabulator-selected,
.tabulator-row.tabulator-row-even.row-blue.tabulator-selected,
.tabulator-row.tabulator-row-odd.tabulator-selected .tabulator-cell.cell-orange,
.tabulator-row.tabulator-row-even.tabulator-selected .tabulator-cell.cell-orange {
  background-color: #9abcea;
}

/* img:hover {
filter: brightness(75%);
transition: all 0.5s ease;
} */

.table-error {
  padding: 0 16px 0 16px;
  display: none;
  font-weight: bold;
  color: red;
}