.algolia-autocomplete {
  width: 100%;
  z-index: 500;
}

.algolia-autocomplete .aa-input,
.algolia-autocomplete .aa-hint {
  width: 100%;
}

.algolia-autocomplete .aa-hint {
  color: #999;
}

.algolia-autocomplete .aa-dropdown-menu {
  width: 100%;
  background-color: #fff;
  border: 1px solid #999;
  border-top: none;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
  cursor: pointer;
  padding: 20px 4px;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
  background-color: #b2d7ff;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em {
  font-weight: bold;
  font-style: normal;
}

body {
  /* Location of the image */
  background-image: url(Backgrounds/Image-Desktop.jpg);

  /* Background image is centered vertically and horizontally at all times */
  background-position: center center;

  /* Background image doesn't tile */
  background-repeat: no-repeat;

  /* Background image is fixed in the viewport so that it doesn't move when 
     the content's height is greater than the image's height */
  background-attachment: fixed;

  /* This is what makes the background image rescale based
     on the container's size */
  background-size: cover;

  /* Set a background color that will be displayed
     while the background image is loading */
  background-color: #464646;
}

@media only screen and (max-width: 767px) {
  body {
    /* The file size of this background image is 93% smaller
       to improve page load speed on mobile internet connections */
    background-image: url(Backgrounds/Image-Tablet.jpg);
  }
}

.center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.699);
  border-radius: 25px;
  padding: 10px;
}

.center1 {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
  background-color: rgba(0, 0, 0, 0.699);
  border-radius: 25px;
  padding: 10px;
}

.col-sm-6 {
  margin-top: 25px;
}

.col-sm-12 {
  margin-top: 25px;
}

.row {
  margin-left: 25px;
  margin-right: 25px;
}

/* .center2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.699);
  border-radius: 25px;
  padding: 10px;
} */
.pac-container {
  z-index: 100000;
}

.success-message-box {
  background-color: #28a745;
  color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  margin: 0 auto;
  max-width: 80%;
  position: relative;
}

.checkmark-circle {
  background-color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #28a745;
}

.gray-mask {
  background-color: rgba(128, 128, 128, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.success-message-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#changeDateSuccessMessage {
  background-color: #4CAF50;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.circle-check {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.circle-check i {
  color: #4CAF50;
  font-size: 24px;
}

.success-text {
  color: #fff;
  font-size: 16px;
}

.confirmation-message {
  display: none;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.confirmation-message span {
  font-weight: bold;
}

#changeSiteModal .modal-content {
  position: relative;
}

#changeSiteModal .completion-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.completion-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #28a745;
  color: white;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
}

.completion-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.drop-zone {
  border: 5px dashed #000;
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: Arial, sans-serif;
  padding: 20px;
  cursor: pointer;
  border-radius: 5px;
  /* Match the modal border-radius */
  box-sizing: border-box;
  /* Include padding and border */
}

.drop-text {
  text-align: center;
  pointer-events: none;
  font-size: 1.2em;
}

.drop-zone i {
  font-size: 2em;
  margin-bottom: 10px;
}

.drop-zone:hover {
  background-color: #f2f2f2;
}

.uploaded-file {
  display: none;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.delete-icon {
  display: none;
  position: absolute;
  top: -26px;
  /* Extend into the padding area */
  right: 3px;
  /* Extend into the padding area */
  color: red;
  cursor: pointer;
  font-size: 10px;
  /* Smaller delete icon */

}

.excel-icon {
  display: none;
  color: green;
  font-size: 50px;
}

.modal-dialog {
  transition: max-width 0.3s ease-out;
  /* Animate the max-width property */
}

.modal-wide {
  max-width: 80%;
}

.border-line {
  border-right: 1px solid #dee2e6;
}

#rightColumn {
  border-left: 1px solid #dee2e6;
  /* You can adjust this color as needed */
  margin-left: 10px;
}

#rightrightColumn {
  border-left: 1px solid #dee2e6;
  /* You can adjust this color as needed */
}

.pill {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  background-color: #007bff;
  color: #fff;
  border-radius: 20px;
}

.dropdown-menu {
  z-index: 200000;
  /* or some other high value */
}

.selected-option {
  font-weight: bold;
}

.inline-container {
  display: flex;
  align-items: center;
}

.label-text {
  margin-right: 5px;
}

.example-data {
  white-space: nowrap;
  overflow: auto;
  text-overflow: ellipsis;
  width: 200px;
}


.spinner-border {
  width: 3rem;
  height: 3rem;
}

.disable-pointer-events {
  pointer-events: none;
  overflow: hidden;
}

.loading-mask {
  display: none;
  /* This will align child elements in a row */
  position: fixed;
  z-index: 99999;
  /* Make sure it's on top of everything else */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  /* This will center the child elements both horizontally and vertically */
}


.loading-mask-content {
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  width: 60%;
  /* Adjust this as needed */
  margin: auto;
}

.loading-spinner img {
  width: 100px;
  /* adjust as needed */
  height: 100px;
  /* adjust as needed */
  animation: spin 2s linear infinite;
}

.loading-status {
  margin-top: 20px;
  margin-bottom: 20px;
}

.loading-progress {
  width: 100%;
}

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

  100% {
    transform: rotate(360deg);
  }
}



.modal-full {
  min-width: 100%;
}

.modal-full .modal-content {
  min-height: 100vh;
}

/* Ensures the dropdown menu appears under the entire button group */
.btn-group .dropdown-menu {
  width: 100%;
  /* Full width of the button group */
}

/* Custom Dropdown Menu Styles */
.dropdown-menu {
  background-color: #f8f9fa;
  /* Light background */
  border: 1px solid #e3e3e3;
  /* Light gray border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
  font-family: Arial, sans-serif;
  /* Professional font */
  font-size: 0.9rem;
  /* Appropriate font size */
}

.dropdown-item {
  color: #333;
  /* Darker text color for contrast */
  padding: 0.5rem 1rem;
  /* Comfortable padding */
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e7e7e7;
  /* Light gray background on hover */
  color: #212529;
  /* Slightly darker text */
}

.dropdown-divider {
  margin: 0.5rem 0;
  /* Space around dividers */
}


.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.grid-box {
  flex: 1 1 auto;
  /* Allow boxes to grow and shrink */
  max-width: 200px;
  /* Maximum width for larger screens */
  margin: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  /* Rounded corners */
  padding: 15px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.7);
  /* Translucent white */
  backdrop-filter: blur(5px);
  /* Glass effect */
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* White border for glass effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 120px;
  /* Fixed height for all boxes */
  margin: 5px;
}

.grid-box:hover {
  transform: translateY(-5px);
  /* Lift the box up slightly */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  /* More pronounced shadow on hover */
}

.grid-box.active {
  background-color: rgba(0, 123, 255, 0.7);
  /* Translucent bootstrap primary color */
  color: white;
  border-color: rgba(0, 123, 255, 0.5);
  /* Matching border color */
}

.grid-box i {
  font-size: 24px;
  /* Icon size */
  margin-bottom: 8px;
  /* Space between icon and text */
}

/* Style for the text inside the box to control overflow */
.grid-box span {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Media query for tablets */
@media (max-width: 768px) {
  .grid-box {
    flex: 1 1 calc(50% - 10px);
    /* 2 columns for tablets */
    max-width: calc(50% - 10px);
  }
}

/* Media query for phones */
@media (max-width: 576px) {
  .grid-box {
    flex: 1 1 calc(33.333% - 10px);
    /* 3 columns for phones */
    max-width: calc(33.333% - 10px);
  }
}

/* Media query for very small screens */
@media (max-width: 400px) {
  .grid-box {
    flex: 1 1 calc(50% - 10px);
    /* 2 columns for very small screens */
    max-width: calc(50% - 10px);
  }
}

.vehicle-details {
  display: flex;
  flex-direction: column;
  margin: 0;
  /* Reset any default margins */
  padding: 0;
  /* Reset any default padding */
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-weight: bold;
  /* margin-right is removed to keep the small screen layout unchanged */
}

.detail-info {
  text-align: right;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .vehicle-details {
    /* Flex direction and wrap are not needed since it's already set to column and no wrapping is required for single items */
    justify-content: space-between;
    /* This will only affect nested flex containers */
    background-color: #f9f9f9;
    /* Light background for the whole details section */
  }

  .detail-item {
    flex-basis: calc(50% - 20px);
    /* Adjust to 50% for 2 columns, minus padding */
    padding: 10px;
    /* Padding for each item for spacing */
    margin-bottom: 10px;
    /* Consistent bottom margin for items */
    border-bottom: 1px solid #eaeaea;
    /* Light border for separation */
  }

  /* Zebra-striping for better readability on larger screens */
  .detail-item:nth-child(odd) {
    background-color: #ffffff;
    /* White for odd items */
  }

  .detail-item:nth-child(even) {
    background-color: #f2f2f2;
    /* Lighter grey for even items */
  }

  .detail-row {
    flex-basis: 100%;
    /* Full width for the row with multiple items */
  }

  /* Align the label and info side by side within .detail-row for larger screens */
  .detail-row .detail-label,
  .detail-row .detail-info {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    /* Consistent right margin */
    margin-bottom: 0;
    /* Reset bottom margin for inline elements */
  }
}

/* Stacked layout for smaller screens */
@media (max-width: 767px) {
  .detail-item {
    margin-bottom: 5px;
  }
}

.dynamic-section {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.headings {
  display: flex;
  font-weight: bold;
  padding: 10px;
  background-color: #f7f7f7;
}

.wash-item,
.headings {
  display: flex;
  align-items: center;
}

.wash-heading,
.wash-name,
.system-comment,
.user-comment {
  display: flex;
  align-items: center;
  text-align: left;
}

.wash-heading,
.wash-name {
  flex: 0 0 30%;
  /* Adjust the percentage to match the layout */
}

.system-comment,
.user-comment {
  flex: 0 0 25%;
}

.allowed-icon {
  color: #28a745;
  /* Bootstrap 'success' green */
  margin-right: 10px;
  width: 20px;
}

.disallowed-icon {
  color: #dc3545;
  /* Bootstrap 'danger' red */
  margin-right: 10px;
  width: 20px;
}

.fa-question-circle {
  color: #28a745;
  /* Bootstrap 'success' green */
  margin-right: 10px;
  width: 20px;
}

.photo-required-icon {
  color: #dc3545;
  /* Bootstrap 'danger' red */
  margin-right: 10px;
  width: 20px;
}

.wash-name {
  padding-right: 10px;
}

.system-comment {
  padding-right: 10px;
}

.user-comment {
  flex-grow: 1;
  padding: 5px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  resize: none;
  /* Prevent manual resizing */
  overflow: hidden;
  /* Hide the scrollbar */
  min-height: 20px;
  /* Adjusted minimum height for a single line */
  line-height: normal;
  /* Ensure line height is normal for single line appearance */
  font-size: 16px;
  /* Adjust font size as needed */
}


/* ... existing styles ... */

.green-background {
  background-color: #d4edda;
  /* Light green background */
}

.red-background {
  background-color: #f8d7da;
  /* Light red background */
}

.yellow-background {
  background-color: #fcfcb5;
  /* Light red background */
}

/* Ensure text color contrasts well with the background */
.green-background .user-comment,
.red-background .user-comment {
  color: #495057;
  /* Darker text color for readability */
}

.title-small-screens {
  display: none;
  /* Hide by default */
  font-weight: bold;
  padding: 10px;
  margin-bottom: 10px;
}

/* Styles for larger screens remain unchanged */

@media (max-width: 767px) {
  .headings {
    display: none;
    /* Hide headings on small screens */
  }

  .title-small-screens {
    display: block;
    /* Show title on small screens */
  }

  .dynamic-section {
    /* Adjust the container's padding, margin, etc., if needed */
  }

  .wash-item {
    flex-direction: column;
    /* Stack elements vertically */
    align-items: flex-start;
    /* Align items to the start */
    padding: 10px;
    /* Adjust padding for smaller screens */
    border-bottom: 1px solid #eaeaea;
    /* Optional: Add a border for separation */
  }

  .wash-item .wash-name {
    font-weight: bold;
    /* Make wash name bold */
    display: flex;
    align-items: center;
    /* Align icon with text */
    margin-bottom: 5px;
    /* Space between wash name and system comment */
  }

  .wash-item .allowed-icon,
  .wash-item .disallowed-icon {
    margin-right: 10px;
    /* Space between icon and wash name */
    font-size: 1.2em;
    /* Adjust the size of the icon */
  }

  .wash-item .system-comment {
    font-size: 0.85em;
    /* Smaller text for system comment */
    color: #6c757d;
    /* Lighter color for system comment */
    margin-bottom: 5px;
    /* Space between system comment and user comment box */
  }

  .wash-item .user-comment {
    width: 100%;
    /* Full width for user comment box */
    margin-bottom: 10px;
    /* Space after the comment box */
  }
}

#upload-container {
  display: flex;
  flex-wrap: wrap;

}

#upload-box {
  width: 100px;
  height: 100px;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  cursor: pointer;
}

#upload-box .fa-camera {
  font-size: 30px;
  color: #333;
}

.uploaded-image {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 5px;
  border: 1px solid #ccc;
  /* Optional: adds a border to the image container */
}

.uploaded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the area without distortion */
}

/* ... existing styles ... */

.progress-bar1 {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: rgb(57, 255, 20);
  /* Changed color to green */
  width: 0%;
  transition: width 0.5s ease;
  /* Smooth transition for width change */
}

.tick-icon {
  display: none;
  /* Initially hidden */
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  color: rgb(57, 255, 20);
}

@media (min-width: 992px) {
  .stacked-badges {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  .stacked-badges {
    display: flex;
    flex-direction: row;
  }
}

.photo-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1200px;
}

/* .photo-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.photo-box img {
  max-width: 100%;
  max-height: 100%;
} */
.photo-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  /* Ensures we can use absolute positioning inside */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  /* Height of the box */
}

.photo-box img {
  width: 100%;
  /* Ensures the image covers the entire width */
  height: 100%;
  /* Ensures the image covers the entire height */
  object-fit: cover;
  /* Ensures the image covers the box without distortion */
}

.photo-caption {
  position: absolute;
  bottom: 0;
  /* Aligns the caption at the bottom of the photo box */
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent background */
  color: white;
  text-align: center;
  padding: 4px 10px;
  /* Padding for text inside the caption */
  font-size: 12px;
  /* Appropriate font size for the caption */
}

/* Common styles for all photo icons */
.photo-icon {
  position: absolute;
  top: 8px;
  /* Distance from the top */
  right: 8px;
  /* Distance from the right */
  font-size: 24px;
  /* Size of the icon */
  width: 28px;
  /* Slightly larger to match font size */
  height: 28px;
  /* Slightly larger to match font size */
  display: flex;
  /* Center the icon inside */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  /* z-index: 10; */
  /* Ensures icon is above other content */
  background-color: white;
  /* Base background for icons */
  border-radius: 4px;
  /* Slight rounding for a cleaner look */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Soft shadow for depth */
  transition: transform 0.2s, box-shadow 0.2s;
  /* Smooth hover effect */
}

/* Specific styles for approved icons */
.photo-icon-approved {
  color: green;
  /* Green color for the tick */
}

/* Specific styles for flagged icons */
.photo-icon-flagged {
  color: white;
  /* Icon color */
  background-color: #dc4c64;
  /* Red background for flagged */
}

/* Specific styles for pending icons */
.photo-icon-pending {
  color: white;
  /* Icon color */
  background-color: #e4a11b;
  /* Yellow background for pending */
}

/* Hover effect for a subtle lift */
.photo-icon:hover {
  transform: translateY(-2px);
  /* Slight lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Enhanced shadow on hover */
}




.sticky-offset {
  position: sticky;
  top: 0px;
  /* Adjust this value based on the actual height of your navigation bar */
  z-index: 10;
  /* Ensure it stays on top of other content */
  background: white;
  /* Optional: ensures the text doesn't show through */
}

.col-separator {
  border-right: 1px solid #ddd;
}

.col-separator:last-child {
  border-right: none;
}



.btn-group,
.btn-group button {
  margin-right: 2px;
  /* Minimal spacing between buttons */
}

#map {
  height: 60vh;
}

#GPSViewFilterByAutoComplete {
  z-index: 10;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  /* Prevent scrolling */
}