/* Navbar below here */

input#searchbox {
  position: absolute;
  margin-top: 9px;
  width: 100px;
  display: none;
}

select#daysinschedule {
  position: absolute;
  margin-top: 9px;
  height: 21px;
  margin-left: 100px;
}

img.button-refresh-orders {
  height: 12px;
  margin-top: 3px;
  padding: 10px 16px;
  margin-left: 10px;
}

a#logout {
  float: right;
  font-size: small;
  user-select: none;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  overflow: hidden;
  background-color: #333;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  user-select: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .navbar img:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Login screen below here */
.login-container {
  width: 500px;
  max-width: 90%;
  margin: 0 auto;
  background-image: url(mercom_w500_h400.png);
  border-radius: 10px;
}

.row {
  margin-top: 20px;
}
  
.card {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.login-card-header {
  padding: 10px 20px;
  max-width: 80%;
  margin: auto;
}

.login-card-body {
  padding: 20px;
  max-width: 80%;
  margin: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.submit {
  margin-top: 30px;
}
  
label {
  font-weight: bold;
}
 
input#opmerking {
  height: 5rem;
}

input#input-email, input#input-password {
  width: 100%;
  border-radius: 5px;
  height: 30px;
  border-width: 0px;
  border-color: #afb1af;
  text-indent: 10px;
  opacity: 0.9;
}
  
textarea:focus, input:focus{
  outline: none;
}

button.btn.btn-primary.login {
  width: 101%;
  height: 40px;
  border-radius: 10px;
  border-width: 0px;
  background-color: #919191;
  color: white;
  opacity: 0.9;
}

img.img-fluid.login-logo {
  width: 100%;
  margin-top: 20px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CSS portal below here */

.table-container {
    overflow-x: auto;
    white-space: nowrap; /* Prevents text wrapping in cells */
}

.table {
    width: 100%; /* Table takes 100% of container width */
}

.scroll-btn {
    cursor: pointer;
}

.date-container {
    font-weight: 600;
}

.card.next {
    -ms-flex: 0 0 230px;
    flex: 0 0 230px;
    padding: 0;
    vertical-align: top;
} 

.card-width {
    min-width: 300px;
}

.card-height-header {
    height: 0.5rem;
}

td#card_header_first {
  /* mercom logo   */
  height: 2.8rem;
}

.card-height-row {
  /* min-height: 20rem; */
}

.cards.odd.header {
    background-color: #e7e2e7;
}

.cards.even.row {
    background-color: #e5efd5;
} 

.cards.odd.row {
    background-color: #cae1a4;
}

.card.first.day {
  height: 20rem;
}

.card.first.logo {
    /* height: 30px; */
    background-image: url(images/mercom_logo_alleen_m_h35px.png);
    background-repeat: no-repeat;
    background-position: center;
}

.day_formatted {
    text-align: center;
    font-weight: 600;
    width: 50%;
    color: #4b4846;
}

.date_formatted {
    text-align: center;
    font-weight: 600;
    width: 50%;
    color: #4b4846;
}

.left {
    float: left;
    width: 100px;
}

.right {
    float: right;
    width: calc(100% - 100px);
}

.employee {
    text-align: center;
    height: 20px;
    font-weight: 600;
}

.license_plate.rows {
    display: none; /* show license plate in rows */
}

.license_plate {
    text-align: center;
    height: 30px;
    background-image: url(images/licenseplate_h30px.png);
    background-repeat: no-repeat;
    background-position: center;
    font-weight: 600;
    font-family: system-ui;
    user-select: none;
}   

.identifier {
  text-align: left;
  padding-left: 10px;
  font-family: system-ui;
  vertical-align: top;
  font-size: xx-small;
  white-space: normal !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  user-select: none;
}

.legend {
  height: 8px;
  margin-top: 5px;
  width: 20px;
  padding: 10px 16px;
  float: left;
  margin-left: 10px;
  border: none;
}

.legend.legend-yellow {
  background-color: #e7d92a;
}

.legend.legend-red {
  background-color: #d21111;
}

.legend.legend-purple {
  background-color: #b50ae0;
}

.legend.legend-green {
  background-color: #0d922c;
}

.legend.legend-white {
  background-color: #ffffff;
}

.message {
    text-align: left;
    padding-left: 10px;
    font-family: system-ui;
    height: 75px;
    vertical-align: top;
    font-size: initial;
    white-space: normal !important;
    word-break: normal !important;
    word-wrap: break-word !important;
    user-select: none;
}

.td-tripdetails {
  text-align: left;
  padding-left: 10px;
  font-family: system-ui;
  vertical-align: top;
  font-size: 12px;
  white-space: normal !important;
  word-break: normal !important;
  word-wrap: break-word !important;
  user-select: none;
}

.employee.not-scheduled {
    background-color: #ff3d00;
    color: #4b4846;
}

.employee.is-scheduled {
    background-color: #e7e2e7;
    color: #4b4846;
}

/* Loader / spinner below here */

.loader {
  border: 16px solid #d1cdcd; /* light grey */
  border-top: 16px solid #ff3d00; /* Red */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: auto;
  margin-top: 70px;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

#popup {
  height: 2rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color:#bd9898;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  z-index: 10; /* Ensure popup is above other elements */
}

input#textInput {
  height: 1.5rem;
  font-size: larger;
}

input#selectedTripUuid {
  display: none;
}

/* ag grid and formr */
div#menu-bar {
  display: none;
}

.message-body {
  display: none;
}

.menu-bar {
  position: fixed;
  z-index: 999;
  width: 100%;
  padding: 10px;
  background-color: white;
}

.button-menu {
  background-color: #234d71;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  width: 175px;
}

.button-menu.disabled {
  background-color: #9ea3a8;
}

div#myGrid {
  padding-left: 10px;
  height: 790px;
  width: 1920px;
}

.input.small_width {
  width: 140px;
}

.input.medium_width {
  width: 340px;
}

.select.medium_width {
  width: 340px;
}

.input.big_width {
  width: 600px;
}

.select {
  background-color: #fff;
  border-color: #dbdbdb;
  border-radius: 4px;
  color: #363636;
}

/* override bulma css color */
.button.orderform {
  font-size: 13px;
  height: 38px;
  width: 150px;
  margin-bottom: 1rem;
  padding-left: 1rem;
  height: 38px;
  color: #fff;
}

.card.login-card.custom {
  background-color: transparent;
}

.button.orderform.create-order {
  background-color: #234d71 !important;
}

.button.orderform.update-order {
  background-color: #234d71 !important;
}

.button.orderform.delete-order {
  background-color: #bb4a35 !important;
}

.button.orderform.cancel-order {
  background-color: #bb4a35 !important;
}

div#comboFilters {
  padding-top: 60px;
  padding-left: 10px;
  padding-bottom: 1rem;
}

select#combo-week-filter {
  height: 30px;
  font-size: medium;
  width: 200px;
}

select#combo-address-filter {
  height: 30px;
  font-size: medium;
  width: 200px;
}

select#combo-status-filter {
  height: 30px;
  font-size: medium;
  width: 200px;
}

select#combo-opdrachtgever-filter {
  height: 30px;
  font-size: medium;
  width: 200px;
}

.button-remove-filter {
  padding-left: 1rem;
  height: 38px;
}

/* override bulma css for label size formr input */
.label {
  font-size: 14px !important;
  font-weight: 500;
  color: #181D1F;
}

/* override bulma css for label size formr select */
.select select {
  font-size: 14px !important;
}

.input {
  font-size: 14px !important;
}

div#versionnumber {
  font-size: smaller;
  margin-left: 20px;
}

button {
  border-radius: 4px;
}

/* override bulma css for padding */
.control.has-icons-left .input, .control.has-icons-left .select select {
  padding-left: 0.8em !important;
}

.field {
  width: 95%;
}

div#error-message {
  color: white;
  font-size: 13px;
}

.button-selected {
  background-color: #916d37;
}

.button-ordernummer {
  background-color: #916d37;
  color: black;
  font-size: 13px;
  color: white;
  margin-top: 4px;
}

div#buttonRemoveFilter {
  padding-left: 1rem;
  height: 38px;
  padding-top: 60px;
  display: none;
  margin-bottom: -32px;
}

button#button-remove-filter {
  font-size: 13px;
  background-color: #e5caca;
}

button#button-logout {
  width: 420px;
}

div#version-number {
  color: #ffffff;
  font-size: smaller;
  text-align: right;
  margin-right: 4rem;
}

body.container {
  margin-left: 1rem !important;
}

div#loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #234d71; /* Blue */
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
  display: none;
  position: fixed;
  left: 25%;
  bottom: 5%;
}

.environmentalzone-green {
  background-color: #e4f2e7 !important; /* lightgreen background */
  color: #155724 !important; /* dark green text for contrast */
  font-weight: bold;
}