:root {
  --mobile-max-width: 700px;
  --primary-color: rgb(0, 123, 255);
  --font-stack: "Roboto", sans-serif;
  --one-spacing-unit: 16px;
  --std-bckgrnd: rgba(0, 123, 255,0.5);
  --std-bckgrnd: rgba(255, 255, 255,1);
  --std-btn-color: rgba(255, 255, 255,1);
  --std-btn-bckgrnd: linear-gradient(135deg, rgb(74, 144, 226), rgb(20, 64, 175));
  --std-btn-bckgrnd-hover: linear-gradient(135deg, rgb(20, 64, 175), rgb(74, 144, 226));
  --std-btn-red-color: rgba(255, 255, 255,1);
  --std-btn-red-bckgrnd: linear-gradient(135deg, rgb(226, 74, 74), rgb(253, 8, 8));
  --std-btn-red-bckgrnd-hover: linear-gradient(135deg, rgb(253, 8, 8), rgb(226, 74, 74));
  --std-btn-disabled-color: rgba(0, 0, 0,1);
  --std-btn-disabled-bckgrnd: linear-gradient(135deg, rgb(80, 79, 79), rgb(255, 255, 255));
  --std-btn-disabled-bckgrnd-hover: linear-gradient(135deg, rgb(255, 255, 255), rgb(80, 79, 79));
  --std-input-color:darkblue;
  --std-input-bckgrnd:palegoldenrod;
  --off-screen-left:-5000px;
  --busy-animation-overlay-bckgrnd: rgba(0, 0, 0, 0.75);
  --busy-animation-container-bckgrnd: rgba(255, 255, 255, 1);
  --busy-animation-dot-bckgrnd: #3498db;
  --busy-animation-dot-bckgrnd: var(--std-bckgrnd);
  --busy-animation-dot-size: 12px;
  --busy-animation-dot-bounce-scale: 1.5;
  --busy-animation-dot-bounce-opacity: 1;
  --busy-animation-dot-bounce-opacity-min: 0.6;
  --busy-animation-dot-bounce-duration: 1.5s;
  --busy-animation-dot-bounce-easing: ease-in-out;
  --busy-animation-dot-bounce-delay-1: 0s;
  --busy-animation-dot-bounce-delay-2: 0.2s;
  --busy-animation-dot-bounce-delay-3: 0.4s;
  color: goldenrod;
  color: rgba(8, 200, 8, 0.4);
  color: rgb(67, 248, 67);
}

@media (max-width: 700px) {
  .mobile-no {
    display: none !important;
  }
}
@media (min-width: 700px) {
  .desktop-no {
    display: none !important;
  }
}
input,
select,
textarea,
button {
  font: inherit; /* inherit font-size and font-family from body/html */
  line-height: inherit; /* keeps consistent spacing */
  padding: 0.1em 0.2em; /* scales with font-size */
  box-sizing: border-box;
}

/* Global root defaults */
.bold {
  font-weight: bold;
}

.section-heading {
  font-size: 1.1rem;
  text-align: center;
}

.section-heading-point-to-point {
  margin-bottom: 0 !important;
}

.tinymce-textarea {
  color: var(--primary-color);
  border: 1px solid black;
  padding: 5px;
}

.tinymce-textarea strong {
  padding: 0;
  margin: 0;
  border: none;
}

.tinymce-textarea li {
  margin-left: 40px;
}

.std-btn {
  font-size: 1rem;
  display: inline-block;
  padding: 0px 6px;
  margin: 6px 0px;
  background: var(--std-btn-bckgrnd);
  color: var(--std-btn-color);
  text-align: center;
  border: 1px solid blue;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}
.std-btn:hover {
  transform: scale(1.05);
  background: var(--std-btn-bckgrnd-hover);
}
.std-btn:disabled {
  background: var(--std-btn-disabled-bckgrnd);
  color: var(--std-btn-disabled-color);
  border: 1px solid black;
}
@media (max-width: 700px) {
  .std-btn {
    font-size: 1.5rem;
    padding-right: 15px;
    margin-right: 10px;
  }
}

.std-btn-red {
  font-size: 1rem;
  display: inline-block;
  padding: 0px 6px;
  margin: 6px 0px;
  background: var(--std-btn-red-bckgrnd);
  color: var(--std-btn-red-color);
  text-align: center;
  border: 1px solid red;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}
.std-btn-red:hover {
  transform: scale(1.05);
  background: var(--std-btn-red-bckgrnd-hover);
}
.std-btn-red:disabled {
  background: var(--std-btn-disabled-bckgrnd);
  color: var(--std-btn-disabled-color);
  border: 1px solid black;
}
@media (max-width: 700px) {
  .std-btn-red {
    font-size: 1.5rem;
    padding-right: 15px;
    margin-right: 10px;
  }
}

.std-frm-flex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensures vertical alignment */
}
.std-frm-flex-wrapper .std-frm-flex-item {
  display: flex;
  flex-direction: row;
  align-items: center; /* Ensures vertical alignment */
  gap: 10px;
}
.std-frm-flex-wrapper .std-frm-flex-item label {
  min-width: 120px; /* Adjust width based on longest label */
  text-align: right;
  width: 120px;
  display: inline-block;
}
.std-frm-flex-wrapper .std-frm-flex-item input {
  flex: 1; /* Takes up remaining space */
  width: 120px;
}

.std-frm-grid {
  display: grid;
  grid-template-columns: 150px auto; /* First column for labels, second for inputs */
  align-items: center;
}
.std-frm-grid label {
  text-align: right; /* Align text properly */
  padding-right: 10px;
}
.std-frm-grid input {
  width: 120px;
}

/* Basic styles for the dialog and backdrop */
.custom-alert #custom-alert-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  background: var(--std-bckgrnd);
}
.custom-alert #custom-alert-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  background: var(--std-bckgrnd);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.custom-alert #custom-alert-dialog button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: var(--std-bckgrnd);
  color: white;
  cursor: pointer;
}
.custom-alert #custom-alert-dialog button:hover {
  background: var(--std-bckgrnd);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: black;
  background: rgba(0, 0, 0, 0.75);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-overlay .popup-container {
  background: var(--std-bckgrnd);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 4;
}
.popup-overlay .popup-container input {
  color: darkblue;
  color: var(--std-input-color);
  background: var(--std-input-bckgrnd);
  padding: 5px;
  width: 100%;
}
.popup-overlay .popup-container button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: rgb(0, 123, 255);
  color: white;
  cursor: pointer;
  margin-left: 15px;
  margin-right: 15px;
}
.popup-overlay .popup-container .normal-prompt {
  max-width: 100%;
}
.popup-overlay .popup-container .error-prompt {
  max-width: 100%;
  color: red;
}

.passcodeForm {
  position: fixed;
  left: var(--off-screen-left);
}
.passcodeForm .code-input-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.passcodeForm .code-input-input {
  display: flex;
  flex-direction: row;
  width: 30px !important;
  height: 30px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  background: var(--std-bckgrnd);
  transition: border-color 0.2s;
}
.passcodeForm .code-input-input:focus {
  color: darkblue;
  border-color: #007BFF;
}
.passcodeForm button {
  padding: 10px 20px;
  background: var(--std-bckgrnd);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.passcodeForm button:disabled {
  background: var(--std-bckgrnd);
  cursor: not-allowed;
}
@media (max-width: 700px) {
  .passcodeForm .code-input input {
    width: 40px;
    height: 40px;
  }
}

.section-trip-counter .autocomplete-address-container, .section-search .autocomplete-address-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section-trip-counter .autocomplete-address-container input, .section-search .autocomplete-address-container input {
  color: var(--std-input-color);
  background: var(--std-input-bckgrnd);
  width: 80%;
  margin: auto;
  padding: 5px;
}
.section-trip-counter .autocomplete-address-input, .section-search .autocomplete-address-input {
  background-color: red;
}
.section-trip-counter .map-container, .section-search .map-container {
  position: relative; /* Keeps it inside the document flow */
  width: 95%;
  height: 80%;
  background-color: black;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.75);
  margin: 20px auto; /* Centers it within a parent container */
}
.section-trip-counter .map-container .map, .section-search .map-container .map {
  width: 100%;
  height: 100%;
  background-color: palegoldenrod;
  border-radius: 10px;
}
.section-trip-counter .map-container .close-map-btn, .section-search .map-container .close-map-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  background-color: red;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.video-container {
  position: relative;
  display: block;
  align-items: center;
  min-width: 50%;
  min-height: 100%;
  overflow: hidden;
  touch-action: none; /* prevent native gestures, enables custom touch handling */
  padding: 0;
  border: none;
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  user-select: none;
  pointer-events: none;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: contain;
}
.video-container .controls-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  bottom: 10px;
  max-width: 400px;
  margin-left: 20px;
}
.video-container .controls-wrapper label {
  text-align: center;
}
.video-container .controls-wrapper input {
  text-align: center;
  width: 90%;
  max-width: 390px;
}

.canvas-container-heading {
  margin-top: 10px;
  display: none;
}

.canvas-upload-container-heading {
  margin-top: 10px;
  display: none;
}

.canvas-container {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  touch-action: none; /* prevent native gestures, enables custom touch handling */
  padding: 0;
  border: none;
}
.canvas-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.canvas-upload-container {
  position: relative;
  display: none;
  align-items: center;
  width: 300px;
  width: 100%;
  height: 200px;
  height: 100%;
  height: auto;
  overflow: hidden;
  border: 2px solid var(--header-bckgrnd);
  touch-action: none; /* prevent native gestures, enables custom touch handling */
}

.image-upload-selection-heading {
  margin-top: 10px;
}

.section-search .search-criteria {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
}
.section-search .search-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--std-input-color);
  background: var(--std-input-bckgrnd);
  width: 80%;
  margin: auto;
  padding: 5px;
}
.section-search .search-results {
  background-color: lightgrey;
  border: 1px solid var(--header-bckgrnd);
  border-radius: 5px;
  padding: 3px;
}
.section-search .record-card {
  border: 1px solid grey;
  padding: 10px;
  margin-bottom: 5px;
  width: 250px;
  width: 100%;
  background: var(--std-bckgrnd);
  box-shadow: 2px 2px 5px rgba(128, 128, 128, 0.1);
}
.section-search .record-card .photo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

.section-note .toolbar, .record-card-edit-note .toolbar {
  margin-top: 10px;
}
.section-note .tox-editor-header, .record-card-edit-note .tox-editor-header {
  border: 1px solid black !important;
  border-radius: 6px !important;
  margin: 5px !important;
  background: lightgrey !important;
}
.section-note .tox-toolbar__primary, .record-card-edit-note .tox-toolbar__primary {
  background: lightgrey !important;
}
.section-note .tox-menubar, .record-card-edit-note .tox-menubar {
  background: lightgrey !important;
}
.section-note .tox-promotion, .record-card-edit-note .tox-promotion {
  display: none !important;
}
.section-note .tox-toolbar__group, .record-card-edit-note .tox-toolbar__group {
  background: lightgrey !important;
}
.section-note .tox-toolbar__group button, .record-card-edit-note .tox-toolbar__group button {
  background: var(--std-btn-bckgrnd) !important;
  margin-right: 5px !important;
}
.section-note .tox-toolbar__group button span svg, .record-card-edit-note .tox-toolbar__group button span svg {
  fill: white !important;
}
.section-note .tox-toolbar__group button span svg path, .record-card-edit-note .tox-toolbar__group button span svg path {
  border: 2px solid red !important;
}
.section-note .tox-toolbar__group button:hover, .record-card-edit-note .tox-toolbar__group button:hover {
  background: var(--std-btn-bckgrnd-hover) !important;
  transform: scale(1.05);
}
.section-note .tox-toolbar__group .tox-tbtn--enabled, .record-card-edit-note .tox-toolbar__group .tox-tbtn--enabled {
  background: white !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}
.section-note .tox-toolbar__group .tox-tbtn--enabled span svg, .record-card-edit-note .tox-toolbar__group .tox-tbtn--enabled span svg {
  fill: navy !important;
}

.tiny-mce-arrow-left {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  background-color: #007BFF;
  padding: 2px;
  border-radius: 4px;
  color: red;
  fill: black;
}
.tiny-mce-arrow-left .arrow-svg {
  width: 16px;
  height: 16px;
  fill: blue;
  transition: fill 0.2s ease;
}

.tiny-mce-arrow-left::before {
  content: "" !important;
}

.section-save .save-address {
  border: 1px solid black;
  border-radius: 6px;
  padding: 10px;
}
.section-save .save-note_0 {
  border: 1px solid black;
  border-radius: 6px;
  min-height: 48px;
}
.section-save .save-canvas {
  border: 1px solid black;
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
}

.upload-image-container {
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
}
.upload-image-container .upload-image-file #imageInput {
  display: none;
}
.upload-image-container .upload-image-file .file-name {
  margin-left: 10px;
  font-style: italic;
}

.display-none {
  display: none;
}

.display-as-total {
  color: black !important;
  font-weight: bold;
  background-color: silver;
}

td {
  vertical-align: bottom;
}

.week-day-selector {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.week-day-selector label {
  position: relative;
}
.week-day-selector label input[type=radio] {
  display: none;
}
.week-day-selector label span {
  cursor: pointer;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f5f5f5;
  transition: all 0.2s ease;
}
.week-day-selector label input[type=radio]:checked + span {
  background-color: #007bff;
  background: var(--std-btn-bckgrnd);
  color: white;
}
.week-day-selector label span:hover {
  color: white;
  background-color: #e0e0e0;
  background: var(--std-btn-bckgrnd-hover);
}
@media (max-width: 700px) {
  .week-day-selector label span {
    padding: 0px 12px;
    font-size: 1.5rem;
    border: 1px solid blue;
  }
}

.htmlDetailsSummaryHeading {
  color: blue;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

:root {
  --header-color: rgb(255, 255, 250);
  --header-bckgrnd: rgb(50, 50, 50);
  --footer-color: rgb(255, 255, 250);
  --footer-bckgrnd: rgb(50, 50, 50);
  --color: rgb(0, 0, 0);
}

html, body {
  /* Ensures <body> can fill the entire viewport height */
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure body takes at least full viewport height */
  font-family: sans-serif;
  color: var(--color);
  width: 100vw; /* Use viewport width */
}

#home-body {
  margin-left: 10px;
}

ul {
  margin-left: 15px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw; /* Use viewport width */
  height: auto;
  padding: 5px;
  color: var(--footer-color);
  background-color: var(--footer-bckgrnd);
  z-index: 9999;
  display: flex;
  justify-content: space-around;
  align-items: center;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling */
  /* Flex layout for controls START */
}
footer .footer-controls-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* important for absolute positioning inside */
  padding: 0 1rem;
}
footer {
  /* Icon style START */
}
footer .footer-control {
  padding: 0 5px;
  cursor: pointer;
  height: 30px;
}
footer .footer-control:hover {
  border: 2px solid white;
}
footer {
  /* Icon style END */
  /* Flex layout for controls END */
}

main {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

section {
  position: absolute;
  top: 0;
  left: 0px;
  right: 0;
  bottom: 0;
  flex: 1;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  padding: 1rem;
}

section.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.25s;
}

.section-heading {
  font-weight: 900;
}

.section-heading-point-to-point {
  margin-bottom: 0 !important;
}

/* header css START */
/* General header styling */
.header {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--header-color);
  background-color: var(--header-bckgrnd);
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  user-select: none;
  /* Top row layout */
}
.header .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  /* Icon container on left */
}
.header .top-row .sign-in-out-icon-container {
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  outline: none;
  /* Padlock icon styling */
}
.header .top-row .sign-in-out-icon-container .icon {
  height: 30px;
  border-radius: 5px;
  display: block;
}
.header .top-row .sign-in-out-icon-container:hover {
  outline: 2px solid white;
  outline-offset: 2px;
  border-radius: 5px;
}
.header .top-row .sign-in-out-icon-container:focus {
  outline: none; /* remove default outline */
  animation: pulse 0.4s ease;
}
.header .top-row {
  /* App name centered */
}
.header .top-row .app-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none; /* So clicks pass through */
}
.header .top-row {
  /* Spacer div to balance flexbox */
}
.header .top-row .header-spacer {
  width: 40px; /* !!! same width as icon container class "sign-in-out-icon-container"*/
  color: grey;
  font-size: x-small;
}
.header {
  /* Second row */
}
.header .second-row {
  text-align: center;
  font-size: small;
  font-weight: normal !important;
  font-style: italic;
}
.header .second-row div a {
  color: inherit;
  text-decoration: none;
}
.header {
  /* Email row */
}
.header .email-row {
  display: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Define the pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}
/* header css END */
.off-screen-placeholder {
  position: fixed;
  left: -5000px;
}

.text-align-center {
  text-align: center;
}

.margin-left-20px {
  margin-left: 20px;
}

.margin-left-40px {
  margin-left: 40px;
}

.list-style-type-none {
  list-style-type: none;
}

.busy-animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}
.busy-animation-overlay .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: rgb(255, 255, 255);
  background: var(--std-bckgrnd);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 5;
}
.busy-animation-overlay .dot {
  width: 12px;
  height: 12px;
  background-color: #3498db;
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
  z-index: 5;
}
.busy-animation-overlay .dot:nth-child(1) {
  animation-delay: 0s;
}
.busy-animation-overlay .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.busy-animation-overlay .dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
}

.sessionDashItem {
  color: grey;
  font-size: small;
  z-index: 10000;
}

.sessionDashItemPulse {
  animation: popAndRevert 1.5s forwards;
}

/* 1. Define the Keyframes */
@keyframes popAndRevert {
  0% {
    /* The "Pop": happens instantly at the start */
    transform: scale(1.5);
  }
  100% {
    /* The "Slow Revert": settles back to original size */
    transform: scale(1);
  }
}
.sessionCount {
  display: none;
}

:root {
  --mobile-max-width: 700px;
}

.heading-sticky-left {
  position: sticky;
  left: 0;
  margin: auto;
}

.rsd-day-book-date-range-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.rsd-day-book-date-range-container div {
  padding-left: 5px;
}
@media (max-width: 700px) {
  .rsd-day-book-date-range-container {
    flex-direction: column;
  }
}

.rsd-day-book-buttons-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.rsd-day-book-buttons-container button {
  width: 30%;
  margin-left: 10px;
}

.rsd-day-book-buttons-container-for-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.rsd-day-book-buttons-container-for-mobile button {
  width: 30%;
  margin-left: 10px;
}
@media (max-width: 700px) {
  .rsd-day-book-buttons-container-for-mobile {
    display: flex;
  }
}

.rsd-day-book-table {
  border-collapse: collapse;
  border-spacing: 0;
  background-color: var(--std-bckgrnd);
}
.rsd-day-book-table .th-sticky-top {
  position: sticky;
  top: 0;
  color: white;
  background-color: crimson;
  background-color: var(--header-bckgrnd);
  border: 1px solid white;
  font-weight: normal;
  z-index: 2;
}
.rsd-day-book-table .th-sticky-left-0 {
  position: sticky;
  left: 0;
  z-index: 3; /* Required to stay above other cells */
}
.rsd-day-book-table .th-sticky-left-1 {
  position: sticky;
  left: 105px; /* Adjust based on width of the first column */
  z-index: 3;
}
.rsd-day-book-table td {
  position: relative;
}
.rsd-day-book-table .td-sticky-left-0 {
  position: sticky;
  background-color: white;
  left: 0;
  z-index: 2; /* Required to stay above other cells */
}
.rsd-day-book-table .td-sticky-left-0 input {
  color: white !important;
  background-color: var(--header-bckgrnd);
  border: 1 px solid red;
  font-weight: normal;
}
.rsd-day-book-table .td-sticky-left-1 {
  position: sticky;
  left: 105px; /* Adjust based on width of the first column */
  z-index: 2;
}
.rsd-day-book-table .td-sticky-left-1 input {
  color: white !important;
  background-color: var(--header-bckgrnd);
  border: 1 px solid red;
  font-weight: normal;
}

.table-selected-row-highlight {
  color: blue;
  background-color: palegoldenrod;
}

.rsd-day-book-table-summary-container {
  position: sticky;
  left: 0;
}
.rsd-day-book-table-summary-container table {
  border-collapse: collapse;
  border: 1px solid grey;
}
.rsd-day-book-table-summary-container th, .rsd-day-book-table-summary-container td {
  padding: 3px 3px;
  border: 1px solid grey;
}
.rsd-day-book-table-summary-container caption {
  font-weight: bold;
}
.rsd-day-book-table-summary-container input {
  border: none;
}

.rsd-day-book-form-container div label {
  margin-left: 3px;
  white-space: nowrap; /* prevents breaking if you want label in one line */
  overflow: hidden;
  text-overflow: ellipsis; /* adds "..." for long labels */
}
.rsd-day-book-form-container div input {
  padding: 0em;
}
.rsd-day-book-form-container div {
  /* Optional: wider screens can use horizontal layout */
}
@media (min-width: 700px) {
  .rsd-day-book-form-container div .rsd-field {
    flex-direction: row;
    align-items: center;
  }
  .rsd-day-book-form-container div .rsd-field label {
    width: 40%;
    margin-bottom: 0;
  }
  .rsd-day-book-form-container div .rsd-field input {
    width: 60%;
  }
}

.point-to-point-leaflet-map {
  height: 400px;
  border: 2px solid #ccc;
  border: 2px solid black;
  border-radius: 6px;
  background-color: aqua;
}
@media (max-width: 700px) {
  .point-to-point-leaflet-map {
    width: 100%;
  }
}

.point-to-point-google-autocomplete-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 0px;
}
@media (max-width: 700px) {
  .point-to-point-google-autocomplete-container {
    flex-direction: column;
  }
}
.point-to-point-google-autocomplete-container .point-to-point-google-autocomplete {
  color: blue;
  background-color: palegoldenrod;
  min-width: 40%;
  padding: 8px;
  margin: 4px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .point-to-point-google-autocomplete-container .point-to-point-google-autocomplete {
    width: 100%;
  }
}

.point-to-point-google-map {
  height: 460px;
  border: 2px solid #ccc;
  border: 2px solid black;
  border-radius: 6px;
  background-color: aqua;
}
@media (max-width: 700px) {
  .point-to-point-google-map {
    width: 100%;
  }
}

.route-summary-box {
  position: relative; /* Needed for the absolute pseudo-element */
  padding: 10px;
  margin-bottom: 10px;
}

.route-summary-box-color-1ee53cff {
  border: 2px solid #1ee53c;
}

.route-summary-box-color-0408fdff {
  border: 2px solid #0408fd;
}

.route-summary-box-color-fa1404ff {
  border: 2px solid #fa1404;
}

.route-summary-box-color-fa05faff {
  border: 2px solid #fa05fa;
}

.route-summary-box-color-faea06ff {
  border: 2px solid #faea06;
}

#section1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tracker-map {
  /* 1. Define a background just for debugging */
  background-color: lightblue;
  border: 1px solid blue;
  /* 2. CRITICAL: Tells the map div to take up all remaining vertical space */
  flex-grow: 1;
  /* 3. Optional, but good practice in flex containers */
  max-width: 95%;
  /* 4. Ensures the map renders correctly within the div */
  height: 460px;
  z-index: 1;
}

.tracker-controls-panel {
  width: 95%;
  padding: 10px;
  background: #f8f9fa;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.tracker-controls-panel h1 {
  margin-top: 0;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.tracker-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.tracker-buttons button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  flex: 1 1 auto;
  transition: background-color 0.2s;
  background-color: #3498db;
  color: white;
}
.tracker-buttons button:hover {
  background-color: rgb(33.1380753138, 125.1882845188, 186.8619246862);
}
.tracker-buttons button.active {
  border: 2px solid #f1c40f;
  box-shadow: 0 0 5px #f1c40f;
}
.tracker-buttons button.clear-btn {
  background-color: #e74c3c;
  margin-bottom: 20px;
}
.tracker-buttons button.clear-btn:hover {
  background-color: rgb(213.698630137, 43.8356164384, 26.301369863);
}

.tracker-log-area {
  border: 1px solid blue;
  overflow-y: auto;
  font-size: 0.9em;
}
.tracker-log-area p {
  margin: 5px 0;
  padding-left: 10px;
  border-left: 3px solid #ccc;
}

.leaflet-marker-icon.waypoint-icon {
  filter: hue-rotate(180deg) saturate(3);
}

.leaflet-marker-icon.pickup-icon {
  filter: hue-rotate(60deg) saturate(3);
}

.leaflet-marker-icon.dropoff-icon {
  filter: hue-rotate(240deg) saturate(3);
}

.leaflet-marker-icon.end-icon {
  filter: hue-rotate(0deg) saturate(3);
}

.rsd-day-book-table-for-mobile {
  border: 1px solid black;
  background-color: rgb(230, 230, 230);
  width: 90%;
}
.rsd-day-book-table-for-mobile td {
  border-bottom: 1px solid grey;
}
.rsd-day-book-table-for-mobile div {
  display: flex;
  flex-direction: column;
  flex-direction: row;
  justify-content: center;
  justify-content: space-between;
  align-items: stretch;
  padding: 2px;
}
.rsd-day-book-table-for-mobile div label {
  align-self: flex-start;
}
.rsd-day-book-table-for-mobile div input {
  color: blue;
  background-color: palegoldenrod;
  align-self: flex-end;
}
.rsd-day-book-table-for-mobile div .display-as-total {
  color: black !important;
  font-weight: bold;
  background-color: silver;
}
.rsd-day-book-table-for-mobile div .multi-input-wrapper {
  background-color: chartreuse;
  border: 1px solid green;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
}
.rsd-day-book-table-for-mobile div .multi-input-wrapper div {
  border: 1px solid red;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-items: stretch;
}
.rsd-day-book-table-for-mobile div .multi-input-wrapper div input {
  color: blue;
  background-color: palegoldenrod;
  text-align: right;
  width: auto;
  align-self: flex-end;
}
.rsd-day-book-table-for-mobile div .multi-input-wrapper div label {
  color: black;
  padding: 2px;
  align-self: flex-start;
}

.rsd-day-book-recordNumberDashboard {
  text-align: center;
  color: grey;
  font-size: small;
}

/*# sourceMappingURL=project.css.map */
