.navbar-header button.rounded-circle,
.overview-deliveries .rounded-circle {
    background: #fff;
}

.navbar-search {
  position: relative;
  display: block !important;
}


.navbar-search input {
  max-width: 600px;
  width: 100%;
}


#customers-status {
    font-size: 12px;
    font-weight: 300;
}






#subdivisionFees tbody td {
  vertical-align: middle;
  font-size: 0.9rem;
}

.alias-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  margin: 0 0.25rem 0.25rem 0;
  border-radius: 999px;
  font-size: 0.75rem;
  background-color: #252f3f;
  border: 1px solid #b6d4fe;
  gap: 0.25rem;
}

.alias-badge .alias-remove {
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  opacity: 0.7;
}

.alias-badge .alias-remove:hover {
  opacity: 1;
}

.alias-input-wrapper {
  position: relative;
}

.btn-close.white {
  filter: invert(1);
}







/** USERS.PHP **/
.user-avatar-preview {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  position: relative;
}

.user-avatar-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
}

.user-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-sm-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #6c757d;
}


.role-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.role-item {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}


/** SINGLE DELIVERY PAGE **/
.overview-deliveries .card-header .badge {
  padding: 5px !important;
  font-size: 16px !important;
  font-weight: normal !important;
}





/** DELIVERIES PAGE **/
#delivery-refresh-fab {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    display: none; /* JS will switch to flex when visible */
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    background: #0d6efd; /* Bootstrap primary-ish */
    color: #fff;
    cursor: pointer;
    z-index: 9999;
}

#delivery-refresh-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}


/* Adjust this to fit your header height */
#map {
  height: calc(100vh - 64px); /* or 100vh if you want full screen */
  max-height: 400px;
}


#mapSummary {
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.4;
}


#mapSummary .list-group li {
  border: 0 !important;
  border-bottom: 1px solid !important;
  border-color: #d1d5db33 !important;
}

#mapSummary .list-group li:last-of-type {
    border-bottom: 0px !important;
}


/* FIX: don't let global img styles break Leaflet tiles */
.leaflet-container img.leaflet-tile,
.leaflet-container img.leaflet-marker-icon,
.leaflet-container img.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
  width: 256px !important;
  height: 256px !important;
  object-fit: none !important;
}

.leaflet-container {
  background: #0f172a; /* or any bg you like */
  background: red; /* or any bg you like */
}
