.logout-form {
    display: inline;
}

.logout-button {
    margin: 0;
}
.navbar-brand img {
    height: auto;
    max-height: 50px; /* Set a max-height suitable for your design */
    text-align:center;
}
.navbar-logo {
    height: auto;
    max-height: 50px; /* Customize the height */
}

.leaf-map {
    height: 500px;
    margin-top:20px;
}
.leaflet-popup-content-wrapper {
    max-width: 150px;
    max-height: 100px;
}
.leaflet-popup-content {
    font-size: 12px;
    line-height: 1.2;
}
.leaflet-popup-tip {
    background: #fff;
}

.chart-view {
    width: 100%;        /* Make the div take the full width of its container */
    max-width: 100%;    /* Prevent the div from exceeding 100% width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.chart-view canvas {
    width: 100% !important;  /* Make the canvas take the full width of the div */
    height: auto !important; /* Maintain the aspect ratio of the canvas */
}

.maintenance-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.maintenance-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.maintenance-container p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.maintenance-container img {
    max-width: 100px;
    margin-bottom: 20px;
}

.date-btn.active {
    background-color: #5b00b3 !important; /* Highlight color */
    color: white !important;;
    border-color: #0056b3 !important;;
}

.wizard-step {
    display: none;
}
.wizard-step.active {
    display: block;
}

td.date-calendar-active {
    background-color: lightgrey;
    border-radius: 100px;
}

img.huechange { filter: hue-rotate(120deg); }

td {
    text-align: center;
    padding: 10px;
}
th {
    text-align: center;
}
/* Style for month navigation */
.month-navigation {
    text-align: center;
    margin-bottom: 20px;
}
.month-button {
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 10px;
    background-color: lightgrey;
    border: none;
}
.month-button:hover {
    background-color: grey;
    color: white;
}
.table-container {
    max-width: 500px; /* Adjust this value based on your desired max width */
    margin: 0 auto;   /* Center the table horizontally */
}
.slider-value {
  font-weight: bold;
}
.slider-container {
  margin-top: 20px;
}

.range-slider {
  position: relative;
  height: 20px;
  width: 100%;
}
.range-slider input {
  position: absolute;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: transparent;
  z-index: 2; /* Ensure both sliders are interactive */
}
/* Thumb style */
.range-slider input::-webkit-slider-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  border: none;
  cursor: pointer;
}
.range-slider input::-moz-range-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  border: none;
  cursor: pointer;
}
/* Track Style */
.range-slider .slider-track {
  position: absolute;
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  width: 100%;
  z-index: 1;
}
.range-slider .slider-range {
  position: absolute;
  height: 10px;
  background: #007bff;
  border-radius: 5px;
  z-index: 2;
}
.initial-hidden {
    display: none;
}
.room-image-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 5px;
}

.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px; /* Space for the timeline marker */
}

.timeline-item-content {
    position: relative;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.timeline-item-content h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.timeline-item-content p {
    font-size: 14px;
    margin: 5px 0;
}

.timeline-item-content small {
    font-size: 12px;
    color: gray;
}

/* Timeline Marker */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px; /* Adjust to align with the content */
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Timeline Line */
.timeline::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 2px;
    background-color: #ddd;
    height: 100%;
    z-index: -1;
}

.timeline-item:last-child::after {
    content: none;
}
