body {
  background-color: #393e46;
}

.navbar {
  background-color: #00adb5;
}

.logo {
  height: 40px;
  width: auto;
}

.select2-container {
  z-index: 99999 !important; /* Ensure Select2 is above everything */
}

.select2-dropdown {
  z-index: 99999 !important;
}

.modal .select2-container {
  width: 100% !important; /* Ensure Select2 fits inside the modal */
}

/* Container for locations */
#location-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: flex-start;
  flex-direction: column; /* Stack items vertically */
}

/* Location input group */
.location-group {
  display: flex;
  gap: 5px;
  align-items: center;
}

/* Input fields */
.location-group input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Add & Remove buttons */
.add-btn,
.remove-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.remove-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  width: fit-content;
}

.add-btn:hover {
  background-color: #0056b3;
}

.remove-btn:hover {
  background-color: #c82333;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast Message */
.toast {
  position: relative;
  background: #d4edda; /* Soft Green */
  color: #155724;
  padding: 12px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 250px;
  max-width: 350px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Show Animation (Fade-in & Slide-in) */
.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* Hide Animation (Fade-out & Slide-out) */
.toast.hide {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

/* Progress Bar */
.toast .progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #155724; /* Dark Green */
  width: 100%;
  animation: toastProgress linear forwards;
}

/* Keyframe for Progress */
@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
