:root {
  --color-evergreen: #0C3B2E;
  --color-fern: #527850;
  --color-sage-green: #6D9773;
  --color-sage-green-light: #e2eee4;
  --color-dark-coffee: #4A2C1D;
  --color-toffee-brown: #8B5E3C;
  --color-copperwood: #B46617;
  --color-honey-bronze: #F9B136;
  --color-jasmin: #FFE08A;
  --color-jasmin-opacity-50: rgba(255, 224, 138, 0.5);
  --color-deep-crimson: #971C24;
  --color-deep-crimson-dark: #791a20;
  --color-deep-crimson-light: #CC0F35;
  --color-bright-snow: #FAFAFA;
  --color-deep-teal: #16697A; 
  --color-deep-teal-inverse: #E6F3F5;
  --color-overview-green: #00A36C;
  --color-bulma-grey: hsl(0, 0%, 48%);
  --color-bulma-grey-light: hsl(0, 0%, 71%);
  --color-bulma-grey-lighter: hsl(0, 0%, 86%);
  --color-bulma-grey-dark: hsl(0, 0%, 29%);
  --color-bulma-text-link: hsl(217, 71%, 53%);
  --color-bulma-text-link-dark: hsl(229, 53%, 47%);
}

/* species page gallery */
@media (max-width: 768px) {
  .gallery-container {
    width: 100%;  
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 769px) {
  .gallery-container {
    width: 100%; 
    max-width: 50%; 
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .gallery-container-capture  {
    width: 100%;  
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 769px) {
  .gallery-container-capture {
    width: 100%; 
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .gallery-container-content  {
    width: 100%;  
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 769px) {
  .gallery-container-content {
    max-width: 65%; 
    margin: 0 auto;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}

@media (hover: none) {
  .zoom-icon {
    opacity: 1;
    background: rgba(0, 0, 0, 0.25);
  }
}

.gallery-slide {
  display:none;
}

.gallery-figure {
  position: relative;
  cursor: pointer;
}

.zoom-icon,
.edit-thumbnail-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.edit-thumbnail-icon {
  border-radius: 8px;
}

.gallery-figure:hover .zoom-icon,
.thumbnail-figure:hover .edit-thumbnail-icon {
  opacity: 1;
}


.prevBtn, .nextBtn {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
/*  margin-top: -22px;*/
  margin-top:-1rem;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(109,151,115,0.7);
}


.nextBtn {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prevBtn:hover, .nextBtn:hover {
  background-color: rgba(0,0,0,0.4);
  color:white;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 1px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

.scaled-image {
  object-fit:cover; 
  width: 100%; 
  height: 100%;
}

.tabs li.is-active a  {
  color:var(--color-copperwood);
}

.tabs li a:hover {
  color: var(--color-sage-green);
}
/* end of species page */


/* buttons */
.button.button-primary {
    background-color: var(--color-sage-green);
    /*#527853;*/
    border-color: var(--color-sage-green);
    color: white;
}

.button.button-primary:hover {
    /* background-color: #0C3B2E; */
    /*#527853;*/
    /* border-color: #0C3B2E; */
    background-color: var(--color-toffee-brown);
    border-color: var(--color-toffee-brown);    
    color: white;
}

.button.button-primary.is-outlined {
  background-color: var(--color-bright-snow);
  border-color: var(--color-sage-green);
  color: var(--color-evergreen);
}

.button.button-primary.is-outlined:hover{
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: white;
}

.button-link {
    color: #AA5656;
}

.button.button-search {
    background-color: var(--color-sage-green);
    border-color: var(--color-sage-green);
    color: white;
}

.button.button-search:hover {
    background-color: var(--color-toffee-brown);
    border-color: var(--color-toffee-brown);    
    color: white;
}

.button.button-filter {
  color: var(--color-evergreen);
  border-color: var(--color-evergreen);
}

.button.button-filter:hover {
  color: white;
  border-color: var(--color-evergreen);
  background-color: var(--color-sage-green);
}

.button.button-brown {
  background-color: var(--color-toffee-brown);
  border-color: var(--color-toffee-brown);
  color: white;
}

.button.button-brown:hover {
  background-color: var(--color-copperwood);
  border-color: var(--color-copperwood);
  color: white;
}

.button.button-darkgreen{
  color: white;
  border-color: var(--color-evergreen);
  background-color: var(--color-evergreen);
}

.button.button-red{
  color: var(--color-bright-snow);
  border-color: var(--color-deep-crimson);
  background-color: var(--color-deep-crimson);
}
/* progress bar */
/* .bar-progress::-webkit-progress-bar {
    background-color: #527853;
} */
.bar-progress {
  background-image: linear-gradient(to right, var(--color-fern) 30%, #ededed 30%) !important;
}

.bar-progress-inprogress {
  background-image: linear-gradient(to right, var(--color-honey-bronze) 30%, #ededed 30%) !important;
}

.bar-progress-completed {
  background-image: linear-gradient(to right, var(--color-overview-green) 30%, #ededed 30%) !important;
}

.list-task-progress.bar-progress::-webkit-progress-bar {
  background-color: white; /* white instead of grey */
}

.bar-progress::-webkit-progress-value {
  background-color: var(--color-fern);
}

.bar-progress::-moz-progress-bar {
  background-color: var(--color-fern);
}

.bar-progress::-ms-fill {
  background-color: var(--color-fern);
}


.bar-progress-inprogress::-webkit-progress-value {
  background-color: var(--color-honey-bronze);
}

.bar-progress-inprogress::-moz-progress-bar {
  background-color: var(--color-honey-bronze);
}

.bar-progress-inprogress::-ms-fill {
  background-color: var(--color-honey-bronze);
}

.bar-progress-completed::-webkit-progress-value {
  background-color: var(--color-overview-green);
}

.bar-progress-completed::-moz-progress-bar {
  background-color: var(--color-overview-green);
}

.bar-progress-completed::-ms-fill {
  background-color: var(--color-overview-green);
}

/* nav bar */
/* .navbar .orchidNav .navbar-dropdown .navbar-link .navbar-item:hover {
    background-color: #527853 !important;   
    color: #ffffff !important; 
} */

/* .navbar .navbar-menu .navbar-dropdown .navbar-item:hover,
.navbar .navbar-menu .navbar-dropdown a.navbar-item:hover {
    background-color: #527853 !important;
    color: white !important;
} */


#myaccount-dropdown-content .navbar-link:hover,
#myaccount-dropdown-content:hover > .navbar-link,
#myaccount-link:hover {
    background-color: var(--color-evergreen) !important;
    color: white !important;
}

#myaccount-dropdown-content .navbar-link:hover h3,
#myaccount-link:hover h3 {
    color: white !important;
}

.navbar-dropdown .navbar-item:hover {
    background-color: var(--color-fern) !important;
    color: white !important;
}


/* .navbar-item a.navbar-link {
    /* color: #363636;  */

/* } */

.navbar-link:not(.is-arrowless)::after {
    /* border-color: #363636; */
    border-color: white;
}

#sidenav-menu .menu-label,
#sidenav-menu .menu-list li>a {
  color: white;
}

#sidenav-menu .menu-list li>a:hover{
  background-color: var(--color-sage-green);
  color: white;
  font-weight: 500;
}

#navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9000;
}

#mainSidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: var(--color-evergreen) !important;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

#mainSidenav .closebtn {
  position: absolute;
  font-size: 35px;
  top: 0;
  right: 1rem;
  color: white;
}

#desktop-view-burger {
  display: flex !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 1rem;
}

#touch-view-burger{
  margin-left: 0;
}

/* links */
.custom-link {
    color: var(--color-copperwood);
    /*#B99B6B;*/
}

.custom-link:hover {
    color: var(--color-sage-green);
    /*#527853;*/
}

.link-white {
    color: white;
}

/* pagination */
.pagination-link.is-active, .pagination-link.is-current {
    background-color: var(--color-evergreen);
    color: #fff;
}

.pagination-link:hover {
    cursor: pointer;
}

/* cards */
.card-equal-height {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.is-bottom-right {
  position: absolute !important;
  bottom: 0.75rem;
  right: 0.75rem;
}

.is-bottom-left {
  position: absolute !important;
  bottom: 0.75rem;
  left: 0.75rem;
}

.is-bottom-bar {
  position: absolute;
  bottom: 0.75rem;
  left: 1.3rem;
  right: 1rem;
}

.is-bottom-bar-mobile {
  position: absolute;
  bottom: 0.75rem;
  left: 40%;
  right: 1rem;
}

#map {
  min-height: 400px;
  width: 100%;
  margin: 0 auto;
}

.parkIm {
  border-bottom: 12px solid var(--color-evergreen);
  min-height: 300px;
  min-width: 300px;
}

.tag.is-green {
  background-color:var(--color-evergreen); 
  color:white;
}

.tag.is-yellow {
  background-color: var(--color-jasmin); 
  color:#1F1F1F;;
}

.tag.is-pastel-green {
  background-color: #AAB9AB; 
  color:white;
}

.home-orchid-img {
  object-fit: cover;
  border-radius: 10px;
}

.table-vertical-center td, .table-vertical-center th {
  vertical-align: middle;
}

.modal {
  overflow: hidden;
}

.modal-content {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#modalImage {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.disabled-input {
  opacity: 0.5;
  pointer-events: none;
}

.modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(109,151,115,0.7);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.7rem 0.7rem;
  cursor: pointer;
  border-radius: 3px;
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

.manual-selection-btn {
  background-color: #7a7a7a;  
}

.manual-selection-btn:hover {
  background-color: #b5b5b5;  
}

#speciesDropdown {
    position: relative;
    width: 100%;
}

#speciesDropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

#speciesDropdown .dropdown-content {
    width: 100%; 
}

.species-images {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
}
.species-images img {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

#map-route {
  height: 600px;
  width: 100%;
  border: 1px solid #DFDFDF;
  border-radius: 10px;
}

.break-text {
  white-space: normal;
  overflow-wrap: break-word;
}

.card.inner-card {
  background: var(--color-bright-snow);
  border: 1px solid #e5e5e5;
  box-shadow: none;
  border-radius: 6px;
}

.card.inner-card-border-sm {
  background: var(--color-bright-snow);
  border: 1px solid #e5e5e5;
  box-shadow: none;
  border-radius: 4px;
}

.card.preview.inner-card {
  background: white;
  border: 1px solid #e5e5e5;
  box-shadow: none;
  border-radius: 6px;
}

.overview-cards {
  cursor: pointer;
  height: 100%;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-cards.is-active.green {
  border: 3px solid var(--color-overview-green);
}

.overview-cards.is-active.red {
  border: 3px solid var(--color-deep-crimson-light);
}

.overview-cards.is-active.yellow {
  border: 3px solid var(--color-honey-bronze);
}

.overview-cards.is-active.teal {
  border: 3px solid var(--color-deep-teal);
}

.overview-cards.is-active.grey {
  border: 3px solid var(--color-bulma-grey-dark);
}

.overview-cards .card-content {
  height: 100%;
}

.overview-cards:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


.capture-management-padding {
  padding-top: 3rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 3rem;
}

.rejection-reason-padding,
.closed-note-padding {
  padding-top: 0.5rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.cm-forms-padding {
  padding-top: 2rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  .capture-management-padding,
  .cm-forms-padding {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 2rem;
  }

  .rejection-reason-padding {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 0;
  }
}

.fullwidth-desktop {
  width: 100% !important;
}

@media screen and (max-width: 1023px) {
  .fullwidth-touch {
    width: 100% !important;
  }

  .fullwidth-desktop {
    width: fit-content !important;
  }
}

@media screen and (max-width: 768px) {
  .fullwidth-mobile {
    width: 100% !important;
  }
}


/* custom css for daterangepicker */
.daterangepicker {
  z-index: 20 !important;
}

.daterangepicker td.available {
  color: black !important;
}

.daterangepicker td.off, 
.daterangepicker td.off.in-range, 
.daterangepicker td.off.start-date, 
.daterangepicker td.off.end-date {
  background-color: #fff !important;
  border-color: transparent !important;
  color: #999 !important;
}

.daterangepicker td.available:hover, 
.daterangepicker th.available:hover {
  background-color: var(--color-sage-green) !important;
  color: white !important;
}


.daterangepicker td.in-range {
  background-color: #dcf0dfb7 !important;
  color: black !important;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
  background-color: var(--color-sage-green) !important;
  color: white !important;
}

.daterangepicker.show-calendar .ranges {
  width: fit-content !important;
}

.daterangepicker .ranges li {
  color: black !important;
  width: 100% !important;
}

.daterangepicker .ranges li.active {
  background-color: var(--color-sage-green) !important;
  color: white !important;
}


.daterangepicker.show-ranges:not(.show-calendar) .ranges li:first-child {
  border-top-left-radius: 3px !important;
  border-top-right-radius: 3px !important;
}

.daterangepicker.show-ranges:not(.show-calendar) .ranges li:last-child {
  border-bottom-left-radius: 3px !important;
  border-bottom-right-radius: 3px !important;
}

.daterangepicker .drp-selected {
  margin: 0.25rem;
}

.daterangepicker .drp-buttons .btn {
  padding: 5px 10px !important;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  margin-left: none !important;
  margin: 0.25rem !important;
}

.daterangepicker .applyBtn {
  background-color: var(--color-sage-green);
  color: white;
}

.daterangepicker .applyBtn:hover {
  background-color: var(--color-toffee-brown);
}

.daterangepicker .cancelBtn:hover {
  background-color: #dbdbdb;
} 

.daterangepicker select.monthselect, 
.daterangepicker select.yearselect{
  border: 1px solid #b5b5b5 !important;
  cursor: pointer;
  border-radius: 3px !important;
}

.daterangepicker select.monthselect:focus, 
.daterangepicker select.yearselect:focus {
  border: 2px solid var(--color-sage-green) !important;
  cursor: pointer;
  border-radius: 3px !important;
}

.daterangepicker .daterange-reset-btn{
  background-color: var(--color-toffee-brown) !important;
  color: white;
}

.daterangepicker .daterange-reset-btn:hover {
  background-color: var(--color-copperwood) !important;
}

.daterangepicker .calendar-table th.prev:hover,
.daterangepicker .calendar-table th.next:hover {
  background-color: #eee !important;
}

.daterangepicker select.hourselect, 
.daterangepicker select.minuteselect, 
.daterangepicker select.ampmselect {
  border: 1px solid #b5b5b5 !important;
  cursor: pointer;
  border-radius: 3px !important;
  background-color: var(--color-bright-snow) !important;
}

.daterangepicker select.hourselect:focus, 
.daterangepicker select.minuteselect:focus, 
.daterangepicker select.ampmselect:focus {
  border: 2px solid var(--color-sage-green) !important;
  cursor: pointer;
  border-radius: 3px !important;
}

.filter-dropdowns>.daterangepicker .calendar-table {
  width: 100% !important;
}

.daterangepicker.single.show-calendar .drp-calendar.left.single {
  height: 255px !important;
}

.daterangepicker.single.show-calendar .drp-calendar.left.single:has(.calendar-time[style*="display: none"]){
  height: 220px !important;
}

@media (min-width: 564px) {
  .daterangepicker.show-ranges .ranges ul {
    width: 100%;
  }
}

@media screen and (min-width: 730px) {
  .daterangepicker.show-ranges.show-calendar .drp-calendar.left,
  .daterangepicker.show-ranges.show-calendar .drp-calendar.right{
    height: 330px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .daterangepicker.single.show-calendar .drp-calendar.left.single {
    height: 285px !important;
  }

  .daterangepicker.single.show-calendar .drp-calendar.left.single:has(.calendar-time[style*="display: none"]){
    height: 250px !important;
  }

  .daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    line-height: 28px !important;
  }

  .daterangepicker.show-calendar .drp-buttons {
    display: block;
  }
}

.delete-image-btn,
.hide-image-btn {
  transition: all 0.2s ease;
}

.delete-image-btn:hover {
  opacity: 1;
  transform: scale(1.05);
  background: rgba(220, 53, 69, 1) !important;
}

.hide-image-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}


.delete-image-btn:active {
  transform: scale(0.95);
}

/* Hide delete button on placeholder images */
.gallery-figure:has(img[src*="empty-image.png"]) .delete-image-btn {
  display: none;
}

.float-approval-buttons{
  margin: 1rem 0;
}

#btn_accept{
  width: 50%;
}

#btn_reject{
  width: 50%;
}

@media screen and (min-width: 1550px) {
  .float-approval-buttons{
    top: 3rem; 
    right: 3rem; 
    position: absolute;
    margin: 0;
  }
}

/* Card Container */
.dataset-card {
  transition: transform 0.2s ease;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Hover Effect */
.dataset-card:hover {
  transform: translateY(-4px);
}

.dataset-preview,
.task-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: var(--color-bright-snow);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  display: grid;
  gap: 3px;
}

.dataset-preview.grid-1,
.task-preview.grid-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.dataset-preview.grid-2,
.task-preview.grid-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.dataset-preview.grid-3,
.task-preview.grid-3 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.dataset-preview.grid-3 .preview-cell:nth-child(1),
.task-preview.grid-3 .preview-cell:nth-child(1) {
  grid-row: 1 / 3;
}

.dataset-preview.grid-4,
.task-preview.grid-4 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.dataset-preview.grid-4 .preview-cell:nth-child(1),
.task-preview.grid-4 .preview-cell:nth-child(1) {
  grid-row: 1 / 4;
}

.preview-cell {
  position: relative;
  overflow: hidden;
}

.preview-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.preview-cell .more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .5px;
  pointer-events: none;
}

.tag-stack {
  position: absolute;
  top: 10px;
  left: 10px;
}

.tag-stack-bottom-left{
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.tag-back {
  position: absolute;
  top: -3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid white;
  background-color: hsla(48, 100%, 96%, 0.459);
  z-index: 0;
}

.capture-total-images-tag {
  position: relative;
  display: inline-block;
  padding: 1px 7px 1px 1px;
  border-radius: 4px;
  background-color: var(--color-jasmin);
  border: 1px solid white;
  color: black;
  z-index: 1;
}

.task-card {
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.report-card {
  transition: all 0.3s ease;
}

.task-card:hover,
.report-card:hover {
  transform: translateY(-4px);
}

.flex-column-card {
  display: flex;
  flex-direction: column;
}

.flex-column-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.has-border-left-crimson {
  border-left: 4px solid var(--color-deep-crimson-light) !important;
}

.has-border-left-yellow {
  border-left: 4px solid var(--color-honey-bronze) !important;
}

.has-border-left-green {
  border-left: 4px solid var(--color-overview-green) !important;
}

.has-border-left-teal {
  border-left: 4px solid var(--color-deep-teal) !important;
}

.has-border-left-grey {
  border-left: 4px solid var(--color-bulma-grey-light) !important;
}

.custom-icon{
  color: var(--color-bulma-text-link) !important;
}

.bold-icon {
  text-shadow: 
    0.1px 0 0 currentColor, 
    0 -0.1px 0 currentColor, 
    -0.1px 0 0 currentColor, 
    0 0.1px 0 currentColor;
}

.text-field-containers,
#non-editable-captures-length {
  padding: 7px 10px; 
  border: 1px solid lightgrey; 
  border-radius: 4px;
  background-color: white;
}

.selected-captures-text-field:hover{
  border: 1px solid var(--color-bulma-grey-light);
}

#due-date-field:hover .custom-icon,
#modal-due-date-field:hover .custom-icon {
  color: hsl(0, 0%, 21%) !important;
}


.selection-area {
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  min-height: 50px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.captures-selection-area {
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  min-height: 200px;
  /* max-height: 560px; */
  overflow-y: auto;
  /* margin-bottom: 15px; */
}

.selection-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
}
.selection-item:hover { 
  background-color: #f9f9f9; 
}

.selection-item:last-child { 
  border-bottom: none; 
}

.selection-item input[type="checkbox"] {
  margin-right: 15px;
  transform: scale(1.2);
}

a.custom-breadcrumb{
  color: var(--color-copperwood);
}

a.custom-breadcrumb:hover{
  color: var(--color-sage-green);
}

.captures-editable#manage-dataset-modal {
  height: 100vh !important;
}

.captures-editable#manage-dataset-modal .modal-card {
  width: 98% !important;
  height: 100% !important;
}

.gallery-figure.hidden-image::after {
  content: attr(data-excluded-text);
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  border-radius: inherit;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 16px;
  text-align: center;
}


.half-opacity {
  opacity: 0.5;
}

.no-pointer {
  cursor: default;
}

.filter-dropdown-content {
  width: 900px;
}

.filter-dropdown-divider {
  border-right: 1px solid var(--color-bulma-grey-lighter);
}

@media screen and (max-width: 1320px) {
  .filter-dropdown-content {
    width: 800px;
  }
}

@media screen and (max-width: 1023px) {
  [id$="captures-list-filter"].filter-dropdown-content {
    width: 500px;
  }
  #dataset-create-filter.filter-dropdown-content {
    width: 400px;
  }
  .filter-dropdown-divider{
    border-right: none;
  }
}

@media screen and (max-width: 800px) {
  [id$="captures-list-filter"].filter-dropdown-content {
    width: 350px;
  }
}

@media screen and (max-width: 480px) {
  [id$="captures-list-filter"].filter-dropdown-content {
    width: 280px;
  }
}

.is-danger {
  background-color: var(--color-deep-crimson) !important; 
  border-color: var(--color-deep-crimson) !important;
  color: var(--color-bright-snow) !important;
}

.is-danger.is-light {
  background-color: #feecf0 !important; 
  border-color: transparent !important;
  color: var(--color-deep-crimson-light) !important;
}

.button.is-danger:hover {
  background-color: var(--color-deep-crimson-dark) !important;
  border-color: var(--color-deep-crimson-dark) !important;
  color: var(--color-bright-snow) !important;
}

button.is-danger.is-light.is-loading,
button.is-danger.is-light.is-loading span {
  color: transparent;
}

.has-background-danger {
  background-color: var(--color-deep-crimson) !important; 
  border-color: var(--color-deep-crimson) !important;
  color: var(--color-bright-snow) !important;
}

.is-teal {
  background-color: var(--color-deep-teal) !important; 
  border-color: var(--color-deep-teal) !important;
  color: var(--color-bright-snow) !important;
}

.is-teal.is-light {
  background-color: var(--color-deep-teal-inverse) !important;
  border-color: transparent !important;
  color: var(--color-deep-teal) !important;
}

.is-high {
  background-color: #d9480f !important; 
  border-color: #d9480f !important;
  color: var(--color-bright-snow) !important;
}

.is-mid {
  background-color: #1c7ed6 !important; 
  border-color: #1c7ed6 !important;
  color: var(--color-bright-snow) !important;
}

.is-low {
  background-color: var(--color-bulma-grey) !important; 
  border-color: var(--color-bulma-grey) !important;
  color: var(--color-bright-snow) !important;
}

.wild-icon-container {
  position: absolute !important;
  background-color: var(--color-bright-snow);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid var(--color-evergreen);   */
}

.is-top-left {
  top: 10px;
  left: 10px;
}

.is-top-right {
  top: 10px;
  right: 10px;
}

/* .is-bottom-left {
  bottom: 10px;
  left: 10px;
}

.is-bottom-right {
  bottom: 10px;
  right: 10px;
} */

.wild-icon-container>span.icon>img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.quick-result-buttons {
  white-space: normal;
  word-wrap: break-word;
  border: 1px solid var(--color-bulma-grey-lighter); 
  border-radius: 4px; 
  padding: 6px 10px; 
  height: 100%;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.2s ease;
}

.quick-result-buttons:hover {
  border: 1px solid var(--color-bulma-grey-light);
}

.square-icon {
    background-color: var(--color-evergreen);
    color: var(--color-bright-snow);
    border-radius: 10%;
    width: 50px;
    height: 50px;
}

.square-icon-form {
    background-color: var(--color-evergreen);
    color: var(--color-bright-snow);
    border-radius: 10%;
    width: 40px;
    height: 40px;
}

#content-image-preview .img-wrapper {
  position: relative;
  width: 180px;
  height: 250px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

#report-image-preview .img-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

#header-photo-preview .img-wrapper,
#attraction-photo-preview .img-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

#content-image-preview .img-wrapper img,
#header-photo-preview .img-wrapper img,
#attraction-photo-preview .img-wrapper img,
#report-image-preview .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content-image-preview .remove-btn,
#header-photo-preview .remove-btn,
#attraction-photo-preview .remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#report-image-preview .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

.customise-content-display{
  white-space: normal;
  word-wrap: break-word;
}

/* Quilljs rich text editor styling */
.ql-toolbar {
  border: 1px solid var(--color-bulma-grey-lighter) !important;
  border-radius: 4px 4px 0 0;
  background-color: #f5f5f5;
  border-bottom: none !important;
}

.ql-container {
  border: 1px solid var(--color-bulma-grey-lighter) !important;
  border-radius: 0 0 4px 4px;
}

.ql-container:hover{
  border: 1px solid var(--color-bulma-grey-light) !important;
}

.ql-editor{
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1rem;
  min-height: 150px;
  max-height: 500px;
  overflow-y: auto;
  color: black !important;
}

.ql-editor a {
  color: var(--color-copperwood) !important;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ql-editor a:hover {
  color: var(--color-sage-green) !important;
  text-decoration: underline;
}

.ql-editor.ql-blank::before {
  color: var(--color-bulma-grey-light) !important;
  font-style: normal !important;
  font-size: 0.95rem;
  opacity: 1;
}

.ql-container:focus-within {
  border: 1px solid rgb(50, 115, 220) !important;
  box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.ql-toolbar.ql-snow .ql-formats button.ql-remove-background {
  position: relative;
}

.ql-toolbar.ql-snow .ql-formats button.ql-remove-background::before{
  content: "\f12d";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  color: var(--color-bulma-grey-dark);
  font-size: 14px;
}

.ql-toolbar.ql-snow .ql-formats button.ql-remove-background:hover::before {
  color: var(--color-bulma-text-link);
}

/* follow bulma data-tooltip styles */
.ql-toolbar.ql-snow .ql-formats button.ql-remove-background:hover::after {
  box-sizing: border-box;
  content: "Remove highlight color";
  position: absolute;
  display: inline-block;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  
  background: rgba(74, 74, 74, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2px;

  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 0.75rem;
  white-space: nowrap;
  max-width: 	15rem;
  z-index: 1020;
  pointer-events: none;
}

.no-arrow-tooltip[data-tooltip]:not(.is-disabled),
.no-arrow-tooltip[data-tooltip]:not(.is-loading),
.no-arrow-tooltip[data-tooltip]:not([disabled]){
  font-weight: normal !important;
}

.no-arrow-tooltip[data-tooltip]:not(.is-disabled)::after, 
.no-arrow-tooltip[data-tooltip]:not(.is-loading)::after, 
.no-arrow-tooltip[data-tooltip]:not([disabled])::after {
  display: none;
}

.park-operation-day input[type="checkbox"]{
  transform: scale(1.3);
}

.park-widgets input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 0.5rem;
}

.logs ul {
  list-style: none;
}

.logs ul li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}

/* custom bullet */
.logs ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-bulma-grey-dark);
  border-radius: 50%;
}

/* connecting line (from this bullet downward) */
.logs ul li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 18px;
  width: 2px;
  height: 100%;
  background: var(--color-bulma-grey-lighter);
}

.logs.empty-log ul li::before {
  background: var(--color-bulma-grey-light);
}

/* connecting line (from this bullet downward) */
.logs.empty-log ul li::after {
  background: var(--color-bulma-grey-lighter);
}

/* remove line from last item */
.logs ul li:last-child::after {
  display: none;
}

/* cal-heatmap custom styles */
.ch-plugin-calendar-label .ch-plugin-calendar-label-text,
.ch-domain-container .ch-domain-text {
  font-size: 12px !important;
}

#ch-tooltip {
  background-color: var(--color-bright-snow) !important;
  color: var(--color-bulma-grey-dark) !important;
  font-size: 1rem !important;
  text-align: left !important;
  padding-left: 0.8rem !important;
  padding-right: 0.8rem !important;
}

.customize-content-display.content {
  overflow-wrap: anywhere;
  text-align: justify;
  color: black;
}

.customize-content-display.content .ql-align-center {
  text-align: center !important;
}

.customize-content-display.content .ql-align-right {
  text-align: right !important;
}

.customize-content-display.content .ql-align-justify {
  text-align: justify !important;
}

.customize-content-display.content .ql-align-left {
  text-align: left !important;
}

.customize-content-display.content a {
  color: var(--color-copperwood) !important;
  text-decoration: underline !important;
  transition: color 0.3s ease;
}

.customize-content-display.content a:hover {
  color: var(--color-sage-green) !important;
  text-decoration: underline !important;
}

.ribbon {
  position: fixed;
  top: 85px;
  right: -90px;
  width: 400px;
  text-align: center;
  background: var(--color-bulma-grey-light);
  color: white;
  font-weight: bold;
  padding: 10px 0;
  transform: rotate(45deg);
  z-index: 2000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  #panorama-modal > .modal-card {
    width: 90vw;
  }
}

.button-language {
  border: none !important;
  background-color: var(--color-bright-snow);
}

.button-language.is-active {
  border: none !important;
  background-color: var(--color-honey-bronze);
  color: var(--color-evergreen)
}

.button-language:hover {
  border: none !important;
  background-color: #7DB83B;
  color: var(--color-evergreen)
}

.panorama-selection-col {
  width: 200px;
}

@media screen and (max-width: 1023px){
  .panorama-selection-col {
    width: 100%;
    margin-top: 0.75rem;
  }
}

#edit-thumbnail-modal .modal-card {
  width: 700px;
}

@media screen and (max-width: 1023px){
  #edit-thumbnail-modal .modal-card{
    width: 90%;
  }
}

.thumbnail-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 2px dashed var(--color-sage-green);
  border-radius: 0.25rem;
}

.thumbnail-preview img {
  width: 250px;
  height: 250px;
  border-radius: 0.25rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.thumbnail-list {
  /* display: flex;
  gap: 1rem;
  flex-wrap: wrap; */
  padding-top: 6px;
}

.thumbnail-item {
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.thumbnail-item {
  object-fit: cover;
}

.thumbnail-item:hover {
  transform: translateY(-2px);
}

.thumbnail-item.active {
  border: 3px solid var(--color-honey-bronze);
}

@media screen and (max-width: 768px) {
  #setsContainer .level-left+.level-right {
    margin-top: 1.0rem !important;
  }
}

#setup-tour-modal .modal-card,
#adjust-map-modal .modal-card {
  width: 780px;
}

@media screen and (max-width: 820px) {
  #setup-tour-modal .modal-card,
  #adjust-map-modal .modal-card {
    width: 90vw;
  }
}

.attraction-preview-cards.is-active {
  border: 3px solid var(--color-honey-bronze) !important;
  border-radius: 8px !important;
}

.danger-zones {
  border-left: 1px solid var(--color-bulma-grey-lighter);
  border-top: none;
}

.danger-zones.no-left-border {
  border-left: none;
  border-top: none;
}

@media screen and (max-width: 1024px) {
  .danger-zones {
    border-left: none;
    /* border-top: 1px solid var(--color-bulma-grey-lighter);
    padding-top: 2rem; */
  }

  .add-another-button-right {
    margin-top: 1rem;
  }
}

.tag:not(body).is-medium.has-tag-wrap {
  height: fit-content !important;
  padding-left: .75em;
  padding-right: .75em;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  padding-top: .25rem !important;
  padding-bottom: .25rem !important;
  text-align: left !important;
}

.tag:not(body).has-tag-wrap {
  height: fit-content !important;
  padding-left: .75em;
  padding-right: .75em;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  padding-top: .1rem !important;
  padding-bottom: .1rem !important;
  text-align: left !important;
}

.park-columns .card {
  transition: all 0.3s ease;
}

.park-columns .card:hover {
  transform: translateY(-4px);
}

@media screen and (max-width: 500px) {
  .park-columns {
    width: 100% !important;
  }

  .park-columns .card-flex-container {
    display: flex;
    align-items: stretch;
  }

  .park-columns .card-image {
    flex: 0 0 50%;
  }

  .park-columns .card-image .image img {
    border-radius: .25rem 0 0 .25rem;
  }
  .park-columns .card-content {
    flex: 1;
  }
}

@media screen and (max-width: 768px) {
  .header-parks-selection{
    min-width: 100% !important;
  }
}

.header-park-text-field {
  padding: 7px 10px;
}

.header-park-text-field:has(#selected-header-park-display:not(.is-hidden)) {
  padding: 3px 5px;
}

.capture-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.multiline-ellipsis {
  width: 100%;
  line-height: normal;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important; /* Truncates after exactly 2 lines */
  line-clamp: 2;
  overflow: hidden !important;
}

.status-dot {
  display: inline-block;
  border-radius: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--color-bright-snow);
}

.status-dot.grey {
  background-color: var(--color-bulma-grey-light);
}

.status-dot.green {
  background-color: var(--color-overview-green);
}

.status-dot.red {
  background-color: var(--color-deep-crimson-light);
}

.status-dot.yellow {
  background-color: var(--color-honey-bronze);
}

/* Custom switch or toggle button */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: auto;
  height: 1.575em;
  font-size: 1rem;
}

.switch input {
  display: none;
}

.switch-slider {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 2.75em;
  height: 1.575em;
  background-color: var(--color-bulma-grey-light);
  transition: 0.4s;
  border-radius: 1em;
}

.switch-slider:before {
  position: absolute;
  content: "";
  width: 1.15em;
  height: 1.15em;
  left: 0.25em;
  bottom: 0.25em;
  background-color: var(--color-bright-snow);
  transition: 0.4s;
  border-radius: 50%;
}

input[type="checkbox"]:checked + .switch-slider {
  background-color: var(--color-sage-green);
}

input[type="checkbox"]:checked + .switch-slider:before {
  transform: translateX(1.125em);
}

.switch .switch-label {
  display: inline-block;
  margin-left: 0.5em;
  white-space: nowrap;
}

.switch.is-small {
  font-size: 0.75rem;
}

.switch.is-medium {
  font-size: 1.25rem;
}

.switch.is-large {
  font-size: 1.5rem;
}

.switch.is-brown input[type="checkbox"]:checked + .switch-slider {
  background-color: var(--color-copperwood);
} 

/* datasetsByUpload */
.section-heading {
  height: 2rem;
  margin-bottom: 1.5rem !important;
}

.section-card {
  margin-top: 0 !important;
}

@media screen and (max-width: 768px) {
  .section-heading {
    height: auto;
    margin-bottom: 1rem !important;
  }

  .dataset-info-column {
    margin-top: 3rem;
  }
}

.dropdown-menu {
  width: 100%;
  max-height: 440px;
}

.suggestion-field {
  position: relative;
}

#editSpeciesDropdown {
  width: 100%;
}

#editSpeciesDropdown .dropdown-menu {
  width: 100%;
  min-width: 100%;
}

#editSpeciesDropdown .dropdown-content {
  width: 100%;
  max-height: 470px;
  overflow-y: auto;
  padding: 0.35rem;
  flex: auto;
}

.species-item {
  border: 1px solid #ece6dd;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.species-item:hover {
  background-color: #f8f5ee;
  border-color: #d4b07a;
}

.species-images {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 5px;
}

.species-images img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  flex-shrink: 0;
}

#imagePreview {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.edit-image-tile {
  position: relative;
}

.edit-image-tile.is-new figure {
  outline: 2px solid var(--color-sage-green, #7a9471);
  outline-offset: 2px;
  border-radius: 8px;
}

.edit-image-tile .new-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--color-sage-green, #7a9471);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

#datasetImagesContainer,
#editDatasetImagesGrid {
  width: 100%;
}

#datasetImagesContainer .columns,
#editDatasetImagesGrid {
  margin-left: 0;
  margin-right: 0;
}

.gallery-figure {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.edit-image-tile {
  width: 100%;
  max-width: 100%;
}

.edit-dataset-modal-card {
  width: 98%;
  height: 100%;
}

@media screen and (max-width: 768px) {

  .dataset-images-box {
    padding: 1rem !important;
  }

  .edit-dataset-modal-card {
    width: calc(100vw - 1rem);
  }

  #editDatasetModal .modal-card-body {
    padding: 1rem;
  }

  #selected-dataset-actions { 
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }

  #selected-dataset-actions .fullwidth-mobile {
    width: 100%;
    flex: 0 0 100%;
  }
}


/* Logs Dashboard */
.log-search-container {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.log-search-input {
  flex: 1;
  min-width: 0;
}

.log-search-input .control,
.log-search-input .input {
  width: 100%;
}

.log-search-buttons {
  margin-bottom: 10px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {

  .log-search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .log-search-input {
    width: 100%;
  }

  .log-search-buttons {
    width: 100%;
    display: flex;
    margin: 0 !important;
    gap: 10px;
  }

  .log-search-buttons .button {
    flex: 1;
  }
}

.log-filters {
  display: grid;
  grid-template-columns: 2.5fr 1.25fr 1.25fr;
  gap: 12px;
  width: 100%;
}

.log-filter-column .input,
.log-filter-column .select select {
  height: 40px;
  min-height: 40px;
  border-radius: 4px;
  border: 1px solid var(--color-bulma-grey-lighter);
  box-shadow: none;
  font-size: 16px;
}

.log-filter-column .select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--color-bulma-text-link);
  right: 1rem;
}

.log-filter-column .control:focus-within .log-filter-icon {
  color: var(--color-evergreen);
}

#dashboard-date-picker,
#activity-date-picker{
  cursor: pointer;
}

.daterangepicker {
  margin-top: 50px !important;
}

@media screen and (max-width: 1023px) {
  .log-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .log-filters {
    grid-template-columns: 1fr;
  }
}

#dashboard-search-button,
#activity-search-button {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: var(--color-bright-snow);
}

#dashboard-search-button:hover,
#dashboard-search-button:active,
#activity-search-button:hover,
#activity-search-button:active {
  background-color: var(--color-fern);
  border-color: var(--color-fern);
  color: var(--color-bright-snow);
}

.stat-card-clickable {
  cursor: pointer;
}

.stat-card-clickable:hover {
  transform: translateY(-3px);
}

.stat-card-clickable.is-selected {
  outline: 3px solid;
}

.stat-card-clickable[data-card-action="all"].is-selected {
  outline-color: var(--color-deep-teal);
}

.stat-card-clickable[data-card-action="failed"].is-selected {
  outline-color: var(--color-deep-crimson-light);
}

.stat-card-clickable[data-card-action="slow"].is-selected {
  outline-color: var(--color-honey-bronze);
}

.stat-card-clickable[data-card-action="success"].is-selected {
  outline-color: var(--color-overview-green);
}

.tabs.is-boxed a[data-dashboard-method-tab]:hover,
.tabs.is-boxed a[data-activity-method-tab]:hover {
  color: var(--color-sage-green);
}

.tabs.is-boxed li.is-active a[data-dashboard-method-tab],
.tabs.is-boxed li.is-active a[data-activity-method-tab] {
  color: var(--color-copperwood);
}

.tabs.is-boxed li.is-active a[data-dashboard-method-tab]:hover,
.tabs.is-boxed li.is-active a[data-activity-method-tab]:hover {
  color: var(--color-sage-green);
}

#logs-overview-container .stat-card-clickable {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

#logs-overview-container .stat-card-clickable .card-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#logs-table-body tr:nth-child(even) {
  background-color: var(--color-bright-snow);
}

.log-view-button {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: var(--color-bright-snow);
}

.log-view-button:hover {
  background-color: var(--color-toffee-brown);
  border-color: var(--color-toffee-brown);
  color: var(--color-bright-snow);
}

.request-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.request-detail-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 760px) {
  .request-detail-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
  }
}

.request-id-value {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-size: 13px;
  font-weight: 500;
}

.copy-id-button {
  border-color: var(--color-bulma-grey-lighter);
  background-color: var(--color-bright-snow);
}

.copy-id-button:hover {
  border-color: var(--color-bulma-grey-light);
  background-color: var(--color-bright-snow);
}

.request-summary-box {
  padding: 1.5rem;
}

.request-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.request-date-label {
  color: var(--color-sage-green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.request-summary-divider {
  height: 1px;
  margin: 1rem 0 1.5rem;
  background-color: var(--color-bulma-grey-lighter);
}

.request-section-description {
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.request-body-container {
  overflow-x: auto;
}

.request-body-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.request-body-table th,
.request-body-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-bulma-grey-lighter);
  text-align: left;
  vertical-align: top;
}

.request-body-table th {
  width: 30%;
  font-weight: 600;
  background-color: var(--color-bright-snow);
}

.request-body-table tr:last-child th,
.request-body-table tr:last-child td {
  border-bottom: none;
}

.request-body-empty {
  color: var(--color-bulma-grey-lighter);
  font-size: 14px;
  padding: 0.5rem 0;
}

#logs-table-body .log-row {
  cursor: pointer;
}

/* Park Guide Attendance */
.park-guide-attendance-page {
  min-height: 80vh;
}

.attendance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.status-content { 
  display: flex; 
  align-items: center; 
  min-width: 0; 
  box-sizing: border-box; 
  gap: 1rem; 
}

.status-icon-wrapper {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  flex: 0 0 64px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sage-green-light);
  color: var(--color-sage-green);
  box-sizing: border-box;
}

.status-content-loader {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

#attendance-status-title, #attendance-status-description { 
  overflow-wrap: anywhere; 
  word-break: normal; 
}

.attendance-status-header {
  gap: 1rem;
}

.attendance-status-card,
.attendance-activity-card {
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.attendance-status-image {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.attendance-time-card {
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  padding: 1.5rem;
}

.attendance-time-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.attendance-time-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attendance-time-icon.attendance-icon-enabled {
  background-color: var(--color-sage-green-light);
  color: var(--color-sage-green);
}

.attendance-time-icon.attendance-icon-disabled {
  background-color: #f5f5f5;
  color: #999;
}

.attendance-action-button {
  position: relative;
  border: 1px solid #dbdbdb;
  background-color: #f5f5f5;
  color: #999;
  transition: all 0.2s ease;
}

.attendance-action-button.attendance-action-enabled {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: white;
  cursor: pointer;
}

.attendance-action-button.attendance-action-enabled:hover {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: white;
  opacity: 0.9;
}

.attendance-action-button.attendance-action-disabled {
  background-color: #f5f5f5;
  border-color: #dbdbdb;
  color: #999;
  cursor: not-allowed;
  opacity: 1;
}

.attendance-action-button.attendance-action-disabled:hover {
  background-color: #f5f5f5;
  border-color: #dbdbdb;
  color: #777;
}

.attendance-action-button.attendance-action-disabled:focus,
.attendance-action-button.attendance-action-disabled:active {
  background-color: #f5f5f5;
  border-color: #dbdbdb;
  color: #999;
  box-shadow: none;
}

.attendance-action-button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  background-color: #363636;
  color: white;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
  z-index: 20;
}

.attendance-action-button.attendance-action-enabled:hover::after {
  opacity: 1;
  visibility: visible;
}

.attendance-action-button.attendance-action-disabled:hover::before {
  opacity: 1;
}

.attendance-checkin-again-button {
  background-color: var(--color-sage-green);
  border: 1px solid var(--color-sage-green);
  color: white;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.attendance-checkin-again-button:hover {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: white;
  opacity: 0.9;
}

#checkin-modal .modal-card {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
}

#checkin-modal .modal-card-title {
  font-weight: 600;
}

#checkin-modal .modal-card-foot {
  padding: 1rem 2rem;
}

#checkin-modal .input[readonly] {
  background-color: #f8f8f8;
  cursor: default;
}

.park-filter-field .select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--color-bulma-text-link);
  right: 1rem;
}

.park-filter-field:focus-within .attendance-filter-icon {
  color: var(--color-bulma-grey-dark);
}

.park-filter-field .input {
  padding-right: 2.5em;
  background-color: #f8f8f8;
}

.park-dropdown {
  width: 100%;
}

.park-dropdown-menu {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-bulma-grey-light);
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.park-dropdown-content {
  max-height: 220px;
  overflow-y: auto;
  padding: 0;
}

.park-dropdown-content .dropdown-item {
  padding: 0.6rem 0.75rem;
  color: var(--color-bulma-text);
  cursor: pointer;
}

.park-dropdown-content .dropdown-item:hover {
  background-color: var(--color-bulma-text-link);
  color: #ffffff;
}

#checkout-modal .modal-card {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  overflow: hidden;
}

#checkout-modal .modal-card-title {
  font-weight: 600;
}

#checkout-modal .modal-card-foot {
  padding: 1rem 2rem;
}

#checkout-modal .input[readonly] {
  background-color: #f8f8f8;
  cursor: default;
}

.modal-action-footer {
  display: flex;
  justify-content: space-between;
}

.attendance-calendar-weekday {
  padding: 0.75rem 0.25rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f7f8f6;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.attendance-calendar-day {
  min-height: 115px;
  padding: 0.5rem;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.attendance-calendar-day.is-outside-month {
  background: #f8f9fa;
}

.attendance-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--color-sage-green);
}

.attendance-calendar-day-number {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.attendance-calendar-record {
  margin-top: 0.35rem;
  padding: 0.4rem;
  border-radius: 4px;
  font-size: 0.72rem;
  line-height: 1.4;
}

.attendance-calendar-record.is-complete {
  background: var(--color-sage-green-light);
  color: var(--color-evergreen);
}

.attendance-calendar-record.is-active {
  background: var(--color-jasmin);
  color: var(--color-toffee-brown);
}

.attendance-calendar-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.attendance-legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.3rem;
}

.attendance-legend-complete {
  background: var(--color-sage-green);
}

.attendance-legend-active {
  background: var(--color-honey-bronze);
}

#attendance-calendar-info {
  display: flex;
  justify-content: space-between;
}

.attendance-calendar-more {
  display: block;
  margin-top: 0.4rem;
  padding: 0.2rem 0;
  border: none;
  background: transparent;
  color: var(--color-sage-green);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.attendance-calendar-more:hover {
  text-decoration: underline;
}

.attendance-calendar-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.attendance-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(80px, 1fr));
  min-width: 700px;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}

.attendance-calendar-park-name {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.attendance-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.attendance-calendar-toolbar > .button {
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.attendance-calendar-selectors {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.5rem;
}

.attendance-calendar-selectors .select {
  flex: 1 1 0;
  max-width: 160px;
}

.attendance-calendar-selectors .select select {
  width: 100%;
  max-width: 100%;
  padding-right: 2rem;
  text-overflow: ellipsis;
}

.attendance-calendar-modal-card {
  max-width: 600px;
  max-height: calc(100vh - 2rem);
  border-radius: 8px;
}

.attendance-calendar-modal-card .modal-card-title {
  font-size: 1.15rem;
}

#attendance-calendar-modal-close {
  margin-left: auto;
}

#attendance-calendar-modal-records {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.attendance-calendar-detail-record {
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-left: 4px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.attendance-calendar-detail-record.is-complete {
  background: #e8f3e9;
  color: #285b35;
  border-left-color: #438451;
}

.attendance-calendar-detail-record.is-active {
  background: #fff2d8;
  color: #80550c;
  border-left-color: #d69b27;
}

.attendance-calendar-detail-record:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.attendance-calendar-detail-record p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.attendance-calendar-modal-card .modal-card-foot {
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  .attendance-header-content {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem;
  }

  .attendance-history-button .button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .attendance-status-header {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 480px) { 
  .status-content { 
    align-items: flex-start; 
    gap: 0.75rem; 
  } 
  
  .status-icon-wrapper { 
    width: 48px; 
    height: 48px; 
    min-width: 48px; 
    min-height: 48px; 
    flex: 0 0 48px; 
  } 

  #attendance-status-title { 
    font-size: 1.05rem; 
    line-height: 1.4; 
  } 
  
  #attendance-status-description { 
    font-size: 0.85rem; 
    line-height: 1.5; 
  } 

  .attendance-calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .attendance-calendar-selectors {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
  }

  .attendance-calendar-toolbar > .button {
    order: 2;
    flex: 1 1 0;
    height: 36px;
  }
  
  #attendance-calendar-info {
    flex-direction: column;
    align-items: flex-start;
  }

  #attendance-calendar-message {
    order: 2;
  }

  .attendance-calendar-legend {
    margin-top: 6px;
    order: 1;
  }

  .attendance-calendar-modal-card {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem;
  }

  .attendance-calendar-modal-card .modal-card-head,
  .attendance-calendar-modal-card .modal-card-body,
  .attendance-calendar-modal-card .modal-card-foot {
    padding: 0.85rem;
  }

  .attendance-calendar-detail-record {
    padding: 0.75rem;
  }
}


/* Attendance History */
.attendance-history-container {
  max-width: 1200px;
  width: 100%;
}

.attendance-history-filters {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.attendance-history-filters > div,
.attendance-filter-date,
.attendance-filter-date .control {
  min-width: 0;
  width: 100%;
}

.attendance-history-filters .input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#attendance-date-picker {
  cursor: pointer;
}

#attendance-history-container .daterangepicker {
  margin-top: -2px !important;
}

.attendance-filter-buttons {
  gap: 10px;
  margin: 0 !important;
}

.attendance-filter-buttons .button {
  height: 40px;
  margin: 0;
}

#attendance-search-button {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: var(--color-bright-snow);
}

#attendance-search-button:hover {
  background-color: var(--color-fern);
  border-color: var(--color-fern);
  color: var(--color-bright-snow);
}

@media screen and (max-width: 768px) {
  .attendance-history-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .attendance-filter-buttons .button {
    flex: 1;
    min-width: 0;
  }
}

@media screen and (max-width: 480px) {
  .attendance-history-container {
    width: 100%;
    min-width: 0;
  }

  .attendance-history-filters {
    gap: 10px;
  }

  .attendance-history-filters .input,
  .attendance-filter-buttons .button {
    font-size: 14px;
  }

  .attendance-filter-park .header-park-text-field {
    font-size: 14px;
  }
}

#attendance-summary .attendance-summary-card {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

#attendance-summary .attendance-summary-card .title + .subtitle {
  margin-top: 0.75rem !important;
  line-height: 1.4;
}

#attendance-summary .attendance-summary-card,
#attendance-summary .attendance-summary-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.attendance-record-card.attendance-history-row-selected .attendance-record-stats,
.attendance-record-card.attendance-history-row-selected .attendance-record-stats > div {
  background-color: #FFE5A3 !important;
}


@media screen and (max-width: 768px) {
  #attendance-summary .attendance-summary-card {
    min-height: 160px;
  }

  #attendance-summary .attendance-summary-card .card-content {
    padding: 1rem;
  }

  #attendance-summary .attendance-summary-card .title {
    font-size: 1.75rem;
  }

  #attendance-summary .attendance-summary-card .subtitle {
    font-size: 0.8rem;
  }
}

.attendance-history-table {
  width: 100%;
}

.attendance-history-table th,
.attendance-history-table td {
  vertical-align: middle;
  padding: 0.85rem 0.75rem;
}

.attendance-history-table tbody tr:nth-child(even) {
  background-color: var(--color-bright-snow);
}

.attendance-onsite-tag {
  background-color: var(--color-jasmin) !important;
  color: var(--color-toffee-brown) !important;
}

.attendance-completed-tag {
  background-color: var(--color-sage-green-light) !important;
  color: var(--color-evergreen) !important;
}

.attendance-record-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bulma-border, #e5e5e5);
}

.attendance-record-footer .button {
  font-weight: 500;
}

.attendance-location-modal-card {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
}

.attendance-location-map {
  width: 100%;
  height: 320px;
  border: 1px solid var(--color-bulma-grey-lighter);
  border-radius: 6px;
  background-color: var(--color-bulma-grey-lightest);
}

/* Attendance Management */
.attendance-filters {
  display: grid;
  grid-template-columns: 2.5fr 1.7fr 1.7fr auto;
  gap: 12px;
  width: 100%;
}

.attendance-filter-column .select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--color-bulma-text-link);
  right: 1rem;
}

.attendance-filter-column .control:focus-within .attendance-filter-icon {
  color: var(--color-bulma-grey-dark);
}

#attendance-management-search-button,
#attendance-records-search-button {
  background-color: var(--color-sage-green);
  border-color: var(--color-sage-green);
  color: var(--color-bright-snow);
}

#attendance-management-search-button:hover,
#attendance-records-search-button:hover {
  background-color: var(--color-fern);
  border-color: var(--color-fern);
  color: var(--color-bright-snow);
}

.auto-checkout-panel {
  border: 1px solid var(--color-bulma-grey-lighter);
  border-left: 4px solid var(--color-copperwood);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
}

.auto-checkout-header {
  display: flex;
  padding: 16px 20px;
  background: #fcfaf6;
  gap: 12px;
}

.auto-checkout-header-left {
  display: flex;
  flex: 1;
}

.auto-checkout-header-main {
  display: flex;
  align-items: center;
}

.auto-checkout-header-bottom {
  display: flex;
  align-items: center;
}

.auto-checkout-header-right {
  display: flex;
  align-items: center;
}

.auto-checkout-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8edda;
  color: var(--color-copperwood);
  border-radius: 8px;
  margin-right: 12px;
}

.auto-checkout-title-group {
  display: flex;
  flex-direction: column;
}

.auto-checkout-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.auto-checkout-title {
  font-size: 15px;
  font-weight: 700;
}

.auto-checkout-count {
  min-width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8edda;
  color: var(--color-copperwood);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  line-height: 1;
  padding: 10px;
  margin-bottom: 3px;
}

.auto-checkout-subheading {
  color: #888888;
  font-size: 12px;
  margin-top: 3px;
}

.auto-checkout-toggle {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.auto-checkout-list {
  padding: 0 20px;
}

.auto-checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #eeeeee;
}

.auto-checkout-item:last-child {
  border-bottom: none;
}

.auto-checkout-guide-info {
  display: flex;
  gap: 6px;
}

.auto-checkout-guide {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.auto-checkout-email {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.auto-checkout-context {
  display: flex;
  gap: 6px;
  color: #777777;
  font-size: 12px;
}

.auto-checkout-separator {
  color: #c0c0c0;
}

.auto-checkout-dismiss {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: #888888;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.auto-checkout-dismiss:hover {
  color: var(--color-copperwood);
  text-decoration: underline;
}

.auto-checkout-dismiss-all {
  padding: 6px 10px;
  border: 1px solid #e5d4c0;
  border-radius: 5px;
  background: transparent;
  color: var(--color-copperwood);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
}

.auto-checkout-dismiss-all:hover {
  background: #f8edda;
}

.auto-checkout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  background: #fafafa;
  border-top: 1px solid #eeeeee;
  color: #888888;
  font-size: 11px;
}

.auto-checkout-view-more {
  border: none;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  color: var(--color-bulma-text-link)
}

.auto-checkout-view-more:hover {
  text-decoration: underline;
}

.auto-checkout-list.is-scrollable {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

.stat-card-clickable[data-card-action="on_site"].is-selected {
  outline-color: var(--color-honey-bronze);
}

.stat-card-clickable[data-card-action="checked_out"].is-selected {
  outline-color: var(--color-overview-green);
}

#attendance-records-table-body tr.record-row-light td {
  background-color: #ffffff;
}

#attendance-records-table-body tr.record-row-dark td {
  background-color: #f5f7f5;
}

#attendance-records-table-body tr:hover td {
  background-color: #f5f7f5;
}

.attendance-by-park-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.attendance-park-card {
  height: 100%;
}

.attendance-park-image .image {
  aspect-ratio: 1 / 1;
}

.attendance-park-image img {
  height: 100%;
  object-fit: cover;
}

.attendance-park-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 1rem;
  padding: 1rem;
}

.attendance-park-count-section {
  text-align: right;
  margin-top: auto;
}

.attendance-by-park-modal-card {
  width: 90%;
  max-width: 1100px;
}

.attendance-by-park-modal-card .modal-card-body {
  max-height: 70vh;
  overflow-y: auto;
}

.attendance-view-all-link {
  color: var(--color-bulma-text-link);
  font-size: 0.9rem;
}

.attendance-view-all-link:hover {
  color: var(--color-copperwood);
  text-decoration: underline;
}

#attendance-records-date-picker {
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .attendance-by-park-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .attendance-park-content {
    padding: 0.85rem;
  }

  .box.attendance-records-box {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  #attendance-management-container .hero-body > .container > .box:first-child
    h3.title {
      font-size: 1.5rem;
      line-height: 1.3;
    }

    .attendance-filters {
      grid-template-columns: minmax(0, 1fr);
      gap: 0.75rem;
    }

    .attendance-filter-column {
      width: 100%;
    }

    .attendance-filters .buttons .button {
      flex: 1 1 0;
      min-width: 0;
    }

    .auto-checkout-header {
      padding: 13px 14px;
    }

    .auto-checkout-guide-info {
      flex-direction: column;
      gap: 1px;
    }

    .auto-checkout-separator-guide {
      display: none;
    }

    .auto-checkout-list {
      padding: 0 14px;
    }

    .auto-checkout-item {
      align-items: flex-start;
      gap: 8px;
    }

    .auto-checkout-context {
      flex-direction: column;
      gap: 3px;
    }

    .auto-checkout-separator {
      display: none;
    }

    .auto-checkout-footer {
      padding: 10px 14px;
    }

    .auto-checkout-list.is-scrollable {
      max-height: 400px;
      overflow-y: auto;
      overflow-x: hidden;
      overscroll-behavior-y: contain;
    }

    #attendance-overview-container .card-content {
      padding: 0.85rem;
    }

    .attendance-by-park-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .attendance-park-content {
      padding: 0.85rem;
    }
}

@media screen and (max-width: 426px) {
  .attendance-by-park-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .auto-checkout-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "left toggle" "bottom bottom";
    align-items: start;
    padding: 12px;
  }
  
  .auto-checkout-header-main {
    align-items: flex-start;
  }

  .auto-checkout-header-bottom {
    grid-area: bottom;
    justify-content: flex-end;
  }

  .auto-checkout-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 8px;
    }

  .auto-checkout-title {
    font-size: 13px;
  }

  .auto-checkout-subheading {
    font-size: 11px;
  }

  .auto-checkout-dismiss-all {
    padding: 5px 8px;
    font-size: 11px;
  }
}

.attendance-record-card {
  border: 1px solid #e8ebe8;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.attendance-record-card .card-content {
  padding: 1rem;
}

.attendance-record-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.attendance-record-guide {
  font-weight: 700;
}

.attendance-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #6b6b6b;
}

.attendance-record-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.attendance-status-tag {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.attendance-status-tag.is-on-site {
  color: var(--color-honey-bronze);
  background: color-mix(in srgb, var(--color-honey-bronze) 14%, white);
}

.attendance-status-tag.is-checked-out {
  color: var(--color-overview-green);
  background: color-mix(in srgb, var(--color-overview-green) 14%, white);
}

.attendance-record-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f7f8f7;
  border-radius: 0.5rem;
}

.attendance-record-stat-label {
  margin-bottom: 0.2rem;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.attendance-record-stat-value {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Admin Attendance History */
.attendance-banner-header {
  display: flex;
}

.attendance-banner-heading {
  flex: 1 1 18rem;
}

.attendance-banner-heading .title {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.attendance-banner-park {
  flex: 0 1 20rem;
  max-width: 100%;
}

.attendance-banner-info {
  display: flex;
  flex-direction: column;
  margin: 1.25rem 0;
}

.attendance-banner-info-item p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-attendance-history-filters {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .attendance-banner-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .attendance-banner-heading {
    width: 100%;
    flex-basis: auto;
  }

  .attendance-banner-heading .title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0.25rem;
  }

  .attendance-banner-heading .subtitle {
    font-size: 0.95rem;
  }

  .attendance-banner-park {
    flex: 1 1 auto;
  }

  .admin-attendance-history-filters.attendance-banner-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 426px) {
  .attendance-banner-heading .title {
    font-size: 1.3rem;
  }

  .attendance-filter-buttons {
    gap: 0.4rem;
  }

  .attendance-filter-buttons .button {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 1023px) {
  .box.mb-6:has(#attendance-cards-container) {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

/* For dynamic trail map */

.map-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  background: #fff;
  color: #363636;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.map-loader.is-visible {
  opacity: 1;
  transform: none;
}

.trail-count-marker,
.report-count-marker {
  background-color: #0000FF;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 10px;
  position: relative;
  border-radius: 50%;
  transform: translateY(-8px);
  border: 2.5px solid white;
  min-width: 20px;
  height: 20px;
  text-align: center;
}

/* arrow border */
.trail-count-marker::before,
.report-count-marker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  margin-top: -1px;
}

/* arrow inside */
.trail-count-marker::after,
.report-count-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
  border-top: 7.5px solid #0000FF;
  margin-top: -2px;
}

.report-marker-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-sizing: border-box;
}


.report-map-icon-marker {
  position: relative; /* anchors the tail pseudo-elements to the circle */
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid white;
  background: #0000FF;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* white outline of the tail */
.report-map-icon-marker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  margin-top: -1px;
}

/* colored fill of the tail */
.report-map-icon-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #0000FF;
  margin-top: -2px;
}

.report-map-icon-marker.urgency-emergency {
  background: var(--color-deep-crimson);
}

/* colored fill of the tail */
.report-map-icon-marker.urgency-emergency::after {
  border-top: 8px solid var(--color-deep-crimson);
}

.report-map-icon-marker.urgency-high {
  background: #d9480f;
}

/* colored fill of the tail */
.report-map-icon-marker.urgency-high::after {
  border-top: 8px solid #d9480f;
}

.report-map-icon-marker.urgency-medium {
  background: #1c7ed6;
}

/* colored fill of the tail */
.report-map-icon-marker.urgency-medium::after {
  border-top: 8px solid #1c7ed6;
}

.report-map-icon-marker.urgency-low {
  background: var(--color-bulma-grey);
}

/* colored fill of the tail */
.report-map-icon-marker.urgency-low::after {
  border-top: 8px solid var(--color-bulma-grey);
}

.audit-action-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 16px;
}

.audit-action-icon.is-created {
    background: var(--color-sage-green-light);
    color: var( --color-fern) !important;
}

.audit-action-icon.is-updated {
    background: #f8edda;
    color: var(--color-copperwood) !important;
}

/* .audit-action-icon.is-deleted {
    background: #fee2e2;
    color: #dc2626 !important;
} */

.audit-action-icon.is-default {
    background: #f1f5f9;
    color: #475569 !important;
}


.audit-panel.is-created {
  border: 1px solid var(--color-bulma-grey-lighter);
  border-left: 4px solid var( --color-fern);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
}

.audit-panel.is-updated {
  border: 1px solid var(--color-bulma-grey-lighter);
  border-left: 4px solid var(--color-copperwood);  
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
}