﻿:root {
  --free-speech-red: #AE0000;
  --peach-pink: #ff66b3;
}

.overdue-count {
  color: var(--free-speech-red);
}

.bg-bs-orange {
  background-color: var(--bs-orange) !important;
}

.bg-bs-pink {
  background-color: var(--peach-pink) !important;
}

.icon-blue {
  color: var(--bs-blue) !important;
}

.icon-large {
  font-size: 1.3rem;
}

.custom-authentication-bg {
  background-image: url("../images/Haztrack_login_bg_3.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

body.custom-authentication-bg .account-pages {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
}

.description-cell {
  max-height: 100px;
  max-width: 200px; /* Suitable for smaller screens */
  overflow-x: hidden;
}

/* Medium screens */
@media (min-width: 992px) { 
  .description-cell {
    max-width: 300px; /* Optimal for midium screens */
  }
}

/* Large screens */
@media (min-width: 1200px) { 
  .description-cell {
    max-width: 500px; /* Wider for large screens */
  }

}

/* Very large screens */
@media (min-width: 2400px) { 
  .description-cell {
    max-width: 800px; /* Wider for very large screens */
  }
}

.location-cell div {
  max-height: 100px;
  max-width: 200px; /* Suitable for smaller screens */
  overflow-x: hidden;
}

/* Medium screens */
@media (min-width: 992px) {
  .location-cell div {
    max-width: 300px; /* Optimal for midium screens */
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .location-cell div {
    max-width: 300px; /* Wider for large screens */
  }

}

/* Very large screens */
@media (min-width: 2400px) {
  .location-cell div {
    max-width: 600px; /* Wider for very large screens */
  }
}

.hover-icon-container {
  position: relative; /* Ensure the parent is positioned */
  display: flex; /* Use flexbox to center children */
  align-items: center; /* Center children vertically */
  justify-content: center; /* Center children horizontally */
  height: 100%; /* Make sure the container takes up all the available height */
  width: 100%; /* Make sure the container takes up all the available width */
}

/* This will initially hide the icon but allow for transition effects */
  .hover-icon-container .hover-icon {
    transition: visibility 0s, opacity 0.3s linear;
    visibility: hidden; /* Initially hide the icon */
    opacity: 0; /* Initially make the icon fully transparent */
    width: 100%; /* Make the icon take up all the horizontal space */
    height: 100%; /* Make the icon take up all the vertical space */
    font-size: inherit; /* Inherit the font size from the parent container */
    display: flex; /* Using flex to center the icon inside the <a> */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
  }

.hover-icon .iconify {
  width: 70%; /* Width of icon to fill its container */
  height: 70%; /* Height of icon to fill its container */
  display: block; /* Change display to block to allow width and height */
}

/* This will initially show the text */
.hover-icon-container .default-text {
  transition: visibility 0s, opacity 0.3s linear;
  visibility: visible; /* Initially show the text */
  opacity: 1; /* Initially make the text fully opaque */
  position: absolute; /* Absolute positioning to layer on top of the icon */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* CSS for when the container is hovered over */
.hover-icon-container:hover .hover-icon {
  visibility: visible; /* Show the icon */
  opacity: 1; /* Make the icon fully opaque */
}

.hover-icon-container:hover .default-text {
  visibility: hidden; /* Hide the text */
  opacity: 0; /* Make the text fully transparent */
}

.validation-summary-errors ul {
  list-style-type: none; /* Removes bullet points */
  padding-left: 0; /* Removes the left padding */
}

.validation-summary-errors li {
  margin-bottom: 5px; /* Adds some spacing between messages */
}

.form-control[readonly] {
  background-color: #EEF2F7;
}

.form-control[readonly]:focus {
  background-color: #EEF2F7;
}

.vjmap-custom-button {
  background-color: #fff;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 5px;
  width: 100%;
  z-index: 20; /* Higher z-index to be on top of the canvas */
}

.vjmap-custom-button.selected {
  background-color: #C1D0FB;
}

.vjmap-custom-button-container {
  border: 1px solid #000;
  margin: 7px;
  z-index: 10;
  position: absolute;
  background-color: #fff;
  padding: 10px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.configuration-item-box {
  position: absolute;
  right: 0; /* Align to the right edge of the modal */
  top: 0px;
  padding: 0px;
  transform: translateX(101%); /* Move it outside the modal */
  width: 500px; /* Adjust as needed */
}

.inactive-item-row {
  background-color: #d1d1d1 !important; /*Grey */
}

[data-theme="dark"] input[readonly]{
  background-color: #2b2b2b !important;
  color: #ffffff !important;
  opacity: 1; 
  border-color: #444 !important; 
}

.action-icon {
  width: 1.4em;
  height: 1.4em;
}