.filter_session_container {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 20px 0;
  border-radius: 12px;
  width: 100%;
  /* background-color: #38bdf8; */
}

.filter-group {
  flex: 1;
  /* min-width: 140px; */
}

.filter-search-group {
  width: 60%;
}

.filter-select-group {
  display: flex;
  gap: 0.75rem;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 5px 0.85rem;
  /* background-color: #0f172a; */
  color: var(--text_color);
  /* border: 1px solid #334155; */
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
  margin: 0;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #38bdf8;
}
.notifications_time_finished {
  position: fixed;
  top: 70px;
  right: 20px;
  transform: translate(0%, -1000%);
  width: 100%;
  max-width: 550px;
  margin-bottom: 1rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  pointer-events: none;
}

/* Slide down into view */
.notifications_time_finished.show {
  transform: translate(0%, 0%);
  pointer-events: auto;
}

/* Smooth transition for expanding / collapsing list content */
.notifications_time_finished .exceeded-list {
  max-height: 250px; /* Adjust based on max list size */
  overflow-y: auto;
  opacity: 1;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease,
    padding 0.3s ease;
}

/* Minimized state: Hide list content, keep header visible at the top */
.notifications_time_finished.minimized .exceeded-list {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.has-notifications {
  color: var(--background_red);
  animation: pulse 1s infinite alternate ease-in-out;
  font-variation-settings: "FILL" 1;
}

.alert-exceeded-banner {
  background: #450a0a;
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 1rem;
  color: #fca5a5;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #f87171;
  margin-bottom: 0.2rem;
}

.icon-alert {
  font-size: 1.4rem;
  color: #ef4444;
}

.exceeded-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exceeded-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  background: #18181ba4;
  padding: 0 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(239, 68, 68, 0.2);
  transition: background-color 0.2s ease;
}

.exceeded-item:hover {
  background: #27272a;
}

.street-info {
  font-size: 0.85rem;
  color: #d4d4d8;
  flex: 1;
  margin: 0 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overtime-badge {
  font-weight: 700;
  color: #f87171;
  font-size: 0.85rem;
}

.close_alerts {
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--text_white);
  cursor: pointer;
}

.close_alerts span {
  color: #f87171;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .alert-exceeded-banner {
    padding: 10px;
  }

  .alert-header {
    font-size: 0.75rem;
  }

  .icon-alert {
    font-size: 0.7rem;
  }
  .overtime-badge {
    font-size: 0.75rem;
  }

  .notifications_time_finished {
    top: 65px;
    right: 0;
    width: calc(100% - 10px);
  }

  .filter_session_container {
    flex-direction: column;
  }

  .filter-search-group {
    width: 100%;
  }
}
