:root {
  --primarycustom: #010932;
  --dangercustom: #e200e6;
  --primarymaincustom: #010932;
  --primaryaccentcustom: #85c2ff72;
}
body {
  font-size: 14px !important;
}

a {
  color: var(--primarycustom) !important;
  text-decoration: none;
  background-color: transparent;
}

.bg-custom-beige {
  background-color: #f0f0f0;
}

.bg-custom-pink {
  background-color: #ecc9e2;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nav-icon {
  width: 20px;
  margin-right: 4%;
}

.sidebar .nav-item .nav-link {
  padding: 0.5rem 1rem !important;
}

.nav-item > .nav-link > span {
  /* font-weight: 700; */
  /* font-size: 1.1rem !important; */
}

.collapse-item {
  /* padding: 0rem 1rem !important; */
  /* font-size: 1rem !important; */
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
  background-color: var(--dangercustom);
}

.nav-link.active {
  background-color: var(--primarymaincustom);
  border-right: 5px solid var(--dangercustom);
}

.styled-table thead tr {
  background-color: var(--primaryaccentcustom);
  color: var(--primarycustom);
  text-align: left;
}

.badge-danger {
  color: #fff;
  background-color: var(--dangercustom) !important;
}

.badge-primary {
  color: #fff;
  background-color: var(--primarycustom) !important;
}

.badge-success {
  color: #fff;
  background-color: var(--primarycustom) !important;
}

.text-danger-custom {
  color: var(--dangercustom) !important;
}

.text-info-custom {
  color: var(--primarycustom) !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
  font-weight: normal;
  background-color: var(--primarymaincustom) !important;
  border-right: 5px solid var(--dangercustom) !important;
}

table th:first-child {
  border-radius: 5px 0 0 0;
}

/* table th {
  font-weight: normal !important;
  border-top: 1px solid white !important;
} */

table th:last-child {
  border-radius: 0 5px 0 0;
}

.styled-table tbody tr:hover {
  /* font-weight: 500; */
  color: var(--primarycustom);
}
.canvas {
  cursor: crosshair;
}

.pointer {
  cursor: pointer !important;
}

.aitems-center {
  align-items: center;
}

.pagination-container {
  color: white;
  /* font-weight: 600; */
  background-color: var(--primarycustom);
  padding: 3px 3px;
  border-radius: 0 0 5px 5px;
  margin-top: 0.5rem;
  align-items: baseline;
}

.acontent-center {
  align-content: center;
}

.items-space-around {
  align-content: space-around;
}

.table thead th {
  vertical-align: middle !important ;
  border-top: 0;
}

.table td,
.table th {
  padding: 0.42rem !important;
}

.modal-content {
  border-radius: 1.5rem !important;
}

.bg-modal {
  border-radius: 10px;
}

.bg-black {
  background-color: black !important;
}

.bg-custom-danger {
  background-color: var(--primarycustom);
  color: white;
  padding: 0.2rem 1px 0.2rem 0;
  border-radius: 3px;
  align-content: center;
}

.bg-custom-unselected {
  background-color: #dedede;
  padding: 0.2rem 1px 0.2rem 0;
  align-content: center;
}

.w-20 {
  width: 20% !important;
}

.bg-core-pink {
  background-color: #c64c9c !important;
}

.bg-core-blue {
  background-color: var(--primarycustom) !important;
}

.bg-core-lime {
  background-color: #4ac4d2 !important;
}

.text-core-pink {
  color: #c64c9c !important;
}

.text-core-blue {
  color: var(--primarycustom) !important;
}

.text-core-lime {
  color: #4ac4d2 !important;
}

.bg-main {
  background-color: var(--primarycustom) !important;
}

.btn-success {
  color: #fff;
  background-color: var(--primarycustom) !important;
  border-color: var(--primarycustom) !important;
}

.btn-info {
  color: #fff;
  background-color: var(--primarycustom) !important;
  border-color: var(--primarycustom) !important;
}

.btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-header .close {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1;
  padding: 1rem 1rem !important;
  color: #000;
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.btn-primary {
  color: #fff;
  background-color: var(--primarycustom) !important;
  border-color: var(--primarycustom) !important;
}

 a.btn {
  color: #fff !important; 
}

.topbar {
  height: 3rem;
}

.justify-end {
  justify-content: end;
}

.justify-right {
  justify-content: end;
}

.form-control {
  /* height: calc(1.75rem + 2px) !important; */
  font-size: 14px !important;
}

#formContent {
  position: relative;
}

textarea.form-control {
  height: auto !important;
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
  background-color: var(--primarycustom) !important;
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
  background-color: #04469c88 !important;
}

.btn-success.focus,
.btn-success:focus {
  box-shadow: 0 0 0 0.2rem #04469cbf !important;
}

.btn-danger {
  color: var(--dangercustom) !important;
  background-color: var(--dangeraccentcustom) !important;
  border-color: transparent !important;
}

.bg-grey {
  background-color: #eaecef !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff !important;
  text-decoration: none;
  background-color: #194499 !important;
}

.text-primary-custom {
  color: var(--primarycustom) !important ;
}

#inputGroupPrepend2 {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.btn {
  padding: 0.1rem 0.7rem !important;
  font-size: 14px !important;
}

.badge {
  font-size: 75% !important;
}

/* Fuel SLider styling */

/* Container styling */
.fuel-slider-container {
  max-width: 300px;
  margin: 1rem auto;
  position: relative;
}

/* Make the slider track fill a red→green gradient */
.fuel-slider-container .mat-slider-track-fill {
  background: linear-gradient(to right, red, orange, yellow, green);
  height: 6px; /* thicker track */
}

/* Light gray background track */
.fuel-slider-container .mat-slider-track-background {
  background-color: #f3f3f3;
  height: 6px;
}

/* Knob style */
.fuel-slider-container .mat-slider-thumb {
  background-color: #002e7d; /* e.g. deep blue */
  border: 2px solid #fff; /* white border circle */
}

/* Additional label styling */
.fuel-slider-container .slider-scale {
  font-size: 0.85rem;
}

.restriction-icon {
  width: 40px;
  height: 40px;
}

.logo {
  width: 120px; /* Adjust size of the logo */
  height: auto;
}

.small {
  font-size: 12px; /* Smaller text under icons */
}

.mx-2 {
  margin-left: 10px;
  margin-right: 10px; /* Add space between items */
}

.ms-2 {
  margin-left: 10px; /* Space between icon and text */
}

.mx-3 {
  margin-left: 15px;
  margin-right: 15px; /* Space between restriction items */
}

.mb-0 {
  margin-bottom: 0; /* Remove bottom margin from text */
}

/*fuel slider design*/

.fuel-container {
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fuel-label,
.fuel-type {
  width: 20%;
  font-size: 14px;
}

.fuel-type .fuel-value {
  font-weight: bold;
}

.slider-container {
  width: 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  gap: 8px;
}

.slider-text {
  font-size: 12px;
  color: gray;
  margin-bottom: 5px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
}

.fuel-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, red 25%, yellow 50%, green 100%);
  border-radius: 5px;
  outline: none;
  margin-bottom: 10px;
}

.fuel-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: navy;
  border-radius: 50%;
  cursor: pointer;
}

.fuel-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: navy;
  border-radius: 50%;
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 5px;
}
/* muted content */

/* Container Styling */
.slider-container-muted {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  gap: 8px;
}

/* Slider Text Styling */
.slider-text-muted {
  font-size: 14px;
  color: #6c757d; /* Muted text color */
  margin-bottom: 8px;
}

/* Slider Wrapper */
.slider-wrapper-muted {
  width: 100%;
  position: relative;
}

/* Slider Styling */
.fuel-slider-muted {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #ddd, #ddd); /* Gray background */
  border-radius: 5px;
  outline: none;
  cursor: not-allowed; /* Disabled state cursor */
}

/* Thumb Styling */
.fuel-slider::-webkit-slider-thumb-muted {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #000; /* Black thumb */
  border-radius: 50%;
  cursor: not-allowed; /* Disabled cursor */
}

.fuel-slider::-moz-range-thumb-muted {
  width: 15px;
  height: 15px;
  background: #000; /* Black thumb */
  border-radius: 50%;
  cursor: not-allowed; /* Disabled cursor */
}

/* Slider Labels */
.slider-labels-muted {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  margin-top: 4px;
  color: #6c757d; /* Muted text color */
}

/* Vehicle Diagram Css*/

.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  height: 742px;
  position: relative;
}

.btn-sm {
  font-size: 14px;
  padding: 5px 10px;
}

/* Modal styling */
.modal-everything {
  background-color: white; /* Ensure modal has a solid white background */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-body {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Canvas styling */
#signatureCanvas {
  border: 1px solid #000; /* Ensure a clear border for the canvas */
  width: 100%; /* Set canvas to cover the modal width */
  height: 200px; /* Set a fixed height for the canvas */
}

/* Button alignment */
.modal-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

button {
  padding: 10px 20px;
}

.checkbox-display {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between the checkbox and the text */
  color: grey; /* Greyed-out text */
  cursor: not-allowed; /* Indicates non-editable */
}

.checkbox-icon {
  width: 16px;
  height: 16px;
  border: 1px solid grey;
  border-radius: 3px;
  background-color: lightgrey;
  position: relative;
}

.checkbox-icon::after {
  content: "✔"; /* Checkmark for a selected checkbox */
  color: grey;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.disabled-field {
  background-color: #e9ecef; /* Light grey background */
  color: #6c757d; /* Dark grey text */
  cursor: not-allowed; /* Show disabled cursor */
}

@import "bootstrap/dist/css/bootstrap.min.css";
/*
.comment-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: #007bff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
} */
/*
.comment-input {
  position: absolute;
  z-index: 101;
  background: white;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */
/*
.comment-list {
  max-height: 300px;
  overflow-y: auto;
} */
/*
/*
.comment-card {
  border-left: 3px solid #007bff;
  margin-bottom: 10px;
} */

.rotated-image {
  transform: rotate(90deg);
  display: block;
}

.comment-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: #007bff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.comment-input {
  position: absolute;
  z-index: 101;
  background: white;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-list {
  max-height: 300px;
  overflow-y: auto;
}

.comment-card {
  border-left: 3px solid #007bff;
  margin-bottom: 10px;
}

.card {
  font-size: 14px;
}

label {
  margin-right: 10px;
}

input[type="range"]:disabled {
  background-color: #e0e0e0; /* Light grey background */
  cursor: not-allowed; /* Prevent interaction */
  opacity: 0.6; /* Reduced opacity for a "disabled" look */
}

input[type="range"]:disabled::-webkit-slider-thumb {
  background-color: #b0b0b0; /* Grey color for the thumb */
  cursor: not-allowed;
}

input[type="range"]:disabled::-moz-range-thumb {
  background-color: #b0b0b0; /* Grey color for the thumb */
  cursor: not-allowed;
}

input[type="range"]:disabled::-ms-thumb {
  background-color: #b0b0b0; /* Grey color for the thumb */
  cursor: not-allowed;
}
.page-break {
  page-break-before: always; /* Forces the start of a new page */
  height: 0; /* Avoid unnecessary space */
  margin: 0;
  padding: 0;
  border: none; /* No visible line */
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
}

@media print {
  .page-break {
    page-break-before: always;
  }
}

.fs-small {
  font-size: 0.8rem;
} /* Small text */
.fs-medium {
  font-size: 1rem;
} /* Default size */
.fs-large {
  font-size: 1.25rem;
} /* Large text */
.fs-xl {
  font-size: 2rem;
} /* Extra large text */
