@import "./assets/variables.css";
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap");
@import "./assets/country-flag.css";

.card-header-font {
  font-size: 16px !important;
  font-weight: bold !important;
}

.hiddenable-element {
  display: none !important;
}
.visible:has(.hiddenable-element) .hiddenable-element {
  display: inline !important;
}

.v-card-title-color {
  background-color: #f1f1f1 !important;
}

.single-tab {
  font-size: 18px !important;
  font-weight: 600;
}

.tab-text {
  padding-left: 32px !important;
  padding-right: 32px !important;
  padding-top: 22.5px !important;
  padding-bottom: 22.5px !important;
}

.unselected-tab {
  color: #949494 !important;
}

.text-column {
  text-align: left;
}

.pagination .page-item.active .page-link {
  background-color: var(--table-background-color) !important;
  border-color: var(--table-background-color) !important;
}

.rounded-table {
  background-color: white;
  border-bottom: 1px var(--table-border-color) !important;
  text-align: center !important;
  border-radius: 10px !important;
}

.rounded-table .table.b-table > tfoot > tr > [aria-sort="ascending"],
.rounded-table .table.b-table > thead > tr > [aria-sort="ascending"] {
  background-image: url("/images/sort-ascending.svg");
}

.rounded-table .table.b-table > tfoot > tr > [aria-sort="descending"],
.rounded-table .table.b-table > thead > tr > [aria-sort="descending"] {
  background-image: url("/images/sort-descending.svg");
}

.rounded-table .table.b-table > tfoot > tr > [aria-sort="none"],
.rounded-table .table.b-table > thead > tr > [aria-sort="none"] {
  background-image: url("/images/sort-none.svg");
}

.rounded-table .b-table thead {
  background: var(--table-background-color) !important;
  color: white;
  font-weight: normal !important;
  cursor: pointer !important;
}

.rounded-table .b-table tr {
  border-left: 1px var(--table-border-color) !important;
  border-right: 1px var(--table-border-color) !important;
  border-radius: 10px !important;
  cursor: pointer;
}

.rounded-table .b-table .tr b-table-details {
  border-left: 1px var(--table-border-color) !important;
  border-right: 1px var(--table-border-color) !important;
  border-bottom: 3px var(--table-border-color) !important;
  background: white !important;
  cursor: default;
}

.full-height-page {
  height: 100vh;
  display: flex;
  flex-direction: column;

  .fixed-header-table-wrapper {
    overflow: hidden;
    display: flex;
    min-height: 200px;
  }
}

.vehicle-image {
  height: 50px;
  width: 50px;
}

.user-image {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

@media print {
  #demo {
    padding-left: 0px !important;
  }
}

#demo {
  padding-left: 300px;
  transition: 0.3s ease;
}

#demo.collapsed {
  padding-left: 56px;
}

pre {
  font-family: Consolas, monospace;
  color: #000;
  background: #fff;
  border-radius: 2px;
  padding: 15px;
  line-height: 1.5;
  overflow: auto;
}

@font-face {
  font-family: "EURORegular";
  src: url("./fonts/EURORegular.woff2");
}

@font-face {
  font-family: "FeFont";
  src: url("./fonts/FE-FONT.TTF");
}

.lang-img {
  width: 30px;
  height: 30px;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px !important;
  color: rgba(0, 0, 0, 0.8) !important;
  background-color: rgba(247, 250, 255) !important;
}

.overflowable {
  overflow: auto;
  overflow-x: hidden;
}

.overflow-y {
  overflow-y: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.thumbnail {
  border-radius: 5px;
  transition: 0.3s;
}

.thumbnail:hover {
  opacity: 0.7;
}

.datepicker-error {
  border: 1px solid #d32f2f;
}

.gap-2 {
  gap: 8px;
}

/* #region Users Activities TImeline */
.users-activities-gstc .confirmed-activity {
  width: calc(100% - 14px);
  margin: 4px 8px;
  display: flex;
  justify-content: center;
  position: relative;
}

.users-activities-gstc .background-item-full-view {
  padding-top: 50% !important;
}

.users-activities-gstc .background-item {
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
  font-size:36px;
  opacity:0.2;
  position:absolute;
  padding-top:10px;
  justify-content: center;
}

.users-activities-gstc .frontline-item {
  position: relative;
  z-index:2;
  width:100%;
}

.users-activities-gstc .item-wrapper {
  width: calc(100% - 14px);
  margin: 4px 8px;
}

.users-activities-gstc .one-line {
  width: 100%;
  text-wrap: nowrap;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 400;
}

.users-activities-gstc .ref-no {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-wrap: nowrap;
  margin-right: 4px;
}

.users-activities-gstc .driving-days {
  width: 18px;
  height: 18px;
  border: 1px solid;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 16px;
}

.users-activities-gstc .driving-days-overdue {
  font-weight: bold;
  background-color:red;
  color:white;
}
.users-activities-gstc .empty-or-stacked-activities-overdue {
  font-weight: bold;
  background-color:yellow;
  color:black;
}

.users-activities-gstc .comments {
  background: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: bold;
  margin: -4px -8px;
  padding: 0 8px;
}

.users-activities-gstc .activity-comment{
  border-top: 1px solid black;
}

.users-activities-gstc .row-title-container a {
  --height: 40px;
}

.users-activities-gstc .activity-group-icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  /* white */
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(225deg) brightness(100%) contrast(100%);
}

.users-activities-gstc .gstc__chart-timeline-items-row-item-label {
  mask-image: unset !important;
  -webkit-mask-image: unset !important;
  margin: unset !important;
}

/* #endregion */

.gstc__list-column-row {
  background-color: rgba(249, 250, 251) !important;
  border-right: rgba(211, 211, 211, 0.5) dotted !important;
}