* {
  word-wrap: break-word;
}

h1 {
  text-align: center;
  margin: -20px 0 5px;
}
body{
  font-family: 'Exo';
  color: #ddd;
  background-color: #222;
  font-size: 14px;
}
.main{
  display: flex;
  height:  calc(100vh - 100px);
  max-width: 100vw;
  overflow-x: auto;
}

select,
input[type="range"],
input[type="checkbox"] {
  cursor: pointer;
}

.vp {
  display: flex;
  margin: 10px;
  flex-direction: column;
  background-color: #ccc;
  border-radius: 5px;
  min-width: 200px;
  max-width: 260px;
}
.vehicle.Unassigned {
  background: darkorange;
}
.vehicle {
  background: royalblue;
  padding: 5px;
  border-radius: 5px
}

.vehicle-header-content{
  margin: 14px 0;
}

.max_pax {
  color: darkblue;
  font-size: 12px;
  font-weight: 900;
  margin-left: 5px;
}
.wrap_name {
  float: right;
  font-size: 10px;
  color: tan;
}
.vp_selector {
  float: right;
}
.services {
  max-height: 100%;
  overflow: auto;
}

.service {
  padding: 5px;
  color: black;
  background-color: #eee;
  border-radius: 10px 10px 10px 0;
  margin: 4px;
}

.service--resting-place{
  background-color: rgb(186, 186, 186);
}

.service.In {
  border: 3px solid darkblue;
}
.service.Out {
  border: 3px solid coral;
}
.service_id {
  font-size: 10px;
  text-align: right;
  font-weight: 900;
}
.service_effort {
  font-size: 10px;
  text-align: center;
  font-weight: 900;
  color: darkblue;
}

.route {
  font-weight: 900;
}
.time {
  margin: 3px 0px;
}
.start_time {
  font-size: 15px;
  font-weight: 900;
}
.end_time {
  font-size: 12px;
}
.plus_one_day {
  color: white;
  background-color: blue;
  padding: 3px 5px;
  margin: 2px;
  border-radius: 20%;
}

.time-wrapper-debug .time:not(.time--updated){
  opacity: 0.5;
  margin-bottom: -4px;
}

.time-wrapper-debug .arrow {
  font-size: 20px;
  font-weight: bold;
  top: 0;
}

.time--updated {
  display: flex;
  align-items: center;
  gap: 4px;
}

.service_type {
  font-size: 14px;
  color: grey;
  font-weight: bold;
}
.pax {
  float: right;
}
.client {
  font-size: 13px;
  color: peru;
  font-weight: bold;
}
.touroperator {
  font-size: 10px;
  color: rgb(217, 150, 84);
  font-weight: bold;
}
.stats {
  background-color: #333;
  height: 220px;
  min-height: 220px;
  border-radius: 0 0 3px 3px;
  width: 100%;
  margin-top: auto;
  overflow-y: auto;
  padding: 4px;
  box-sizing: border-box;
}

.effort-deviation {
  font-weight: 900;
}
.effort-deviation.True {
  color: salmon;
}
.effort-deviation.False {
  color: greenyellow;
}
.good {
  color: greenyellow;
}
.bad {
  color: salmon;
}
.effort {
  color: dodgerblue;
  font-weight: bold;
  float: right;
}

.badge {
  border-radius: 99999999999px;
  padding: 2px 8px;
  display: inline-block;
}

.badge--warning::before {
  display: inline-block;
  content: "⚠️";
}

.badge--warning {
  background-color: rgb(255, 237, 157);
}

.travel-info {
  padding: 9px;
  color: black;
  display: flex;
  gap: 6px;
  align-items: center;

}

.idle-minutes {
  margin-top: 2px;
  border-top: 1px solid grey;
  padding-top: 4px;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 6px;
}

.idle-minutes,
.travel-minutes {
  font-size: 14px;
  color: grey;
}

.arrow {
  font-size: 40px;
  top: -4px;
  position: relative;
}

.options {
  display: flex;
  gap: 20px;
}

.vehicle-header-icons{
  margin-top: 4px;
}

.icon {
  height: 22px;
  width: 22px;
  background-size: 100%;
}

.icon--small{
  height: 18px;
  width: 18px;
}

.icon--tachograph {
  background-image: url("/public/assets/tachograph.svg");
}

.icon--tachograph-grey {
  background-image: url("/public/assets/tachograph-grey.svg");
}
