

@media (min-width: 768px) {
  .events-details-save {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  div.dataTables_length {
    display: none;
  }
  .events-available-mobile {
    padding-bottom: 0px;
  }
}

.resource-header {
  display: flex;
  min-height: 80px;
  align-items: center;
}

[data-permission][readonly] {
  background: #eceff17a;
  color: #a8aab4;
  background-color: transparent;
  border-color: #e5e6e8;
  pointer-events: none;
}

.mobile-fixed-button {
  background: #23313b;
  height: 70px;
  width: 70px;
  border-radius: 100px;
  position: fixed;
  bottom: 20px;
  z-index: 99999;
  right: 20px;
  color: #ffffff;
  box-shadow: 0 0.125rem 0.375rem 3px rgb(38 43 67 / 18%);
}

/* Target Select2 elements when the original select has class "not-set" */
.callsign-dropdown.not-set + .select2 .select2-selection {
  border-color: #fa2f63 !important; /* Red border */
  color: #fa2f63 !important; /* Red text */
}
.callsign-dropdown.not-set + .select2 .select2-selection .select2-selection__placeholder {
  border-color: #fa2f63 !important; /* Red border */
  color: #fa2f63 !important; /* Red text */
}

@media (max-width: 1199.98px) {
  .layout-navbar {
    margin-top: -65px;
    padding-top: 70px;
    height: 140px;
  }
}

.layout-container {
  background: #f7f7f9;
  overflow-y: auto;
  max-height: none;
  position: absolute;
}

.layout-wrapper {
  position: relative;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  /* overflow: hidden; */
  background: white;
  /* z-index: 1000; */
}

.events-datatables tr{
  cursor: pointer;
}

@media (max-width: 1199.98px) {
  #toggleContainer {
    display: none;
  }
}

@media (max-width: 768px) {
  #events-table .dataTables_filter input {
    width: calc(100vw - 70px)!important;
    margin: 0px!important;
  }
}

/* Make the DataTables search box wider */
#events-table .dataTables_filter input {
  width: 300px;
  max-width: 100%;
  margin: 0px!important;
}


.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.profile-photo {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out, border 0.2s ease-in-out;
}

.profile-photo:hover {
  transform: scale(1.05);
}

.profile-photo.selected {
  border: 4px solid #007bff;
  transform: scale(1.1);
}

.swal2-popup {
  padding: 20px;
  text-align: center;
}

.fc-daygrid-dot-event {
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  text-overflow: ellipsis;
  -webkit-overflow-scrolling: touch;
}

.allocation-staff {
  background: #7CB342;
  border-radius: 100px;
  font-size:11px;
  outline: 2px solid;
}

.allocation-vehicle {
  background: #42abb3;
  border-radius: 100px;
  font-size:11px;
  outline: 2px solid;
}

.allocation-asset {
  background: #656a6b;
  border-radius: 100px;
  font-size:11px;
  outline: 2px solid;
}

@font-face {
  font-family: 'Licenz';
  src: url('../../assets/vendor/fonts/licenz/Licenz.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.licence-plate {
  font-family: 'Licenz';
  color: #000000;
  border: 1.5px solid black;
  border-radius: 6px;
  padding: 4px 8px 1px 7px;
}

.avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #4a5568; /* neutral background */
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-transform: uppercase;
}

.bp-avatar.avatar-large .avatar-initials {
  width: 70px;
  height: 70px;
  font-size: 20px;
}

.notes-column {
  max-width: 250px; /* Adjust width as needed */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-content {
  max-height: 3.6em; /* Optional: Limit visible height */
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Event Resources Table - Drag & Drop Styles */
.heading-row[draggable="true"] {
  cursor: move;
  transition: background-color 0.2s ease;
}

.heading-row:hover {
  background-color: #f0f0f0 !important;
}

.dragging-heading {
  opacity: 0.5;
  border: 2px dashed #696cff !important;
  background-color: #e7e7ff !important;
}

.drag-handle {
  cursor: move;
  color: #999;
  transition: color 0.2s ease;
}

.drag-handle:hover {
  color: #696cff;
}

tr[draggable="true"]:not(.heading-row):hover {
  background-color: #f8f9fa;
  cursor: grab;
}

tr[draggable="true"]:not(.heading-row):active {
  cursor: grabbing;
}

.dragging {
  opacity: 0.4;
  background-color: #e7e7ff !important;
}

.heading-row .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}
