/* Mobile styles for screen width 768px and below */
@media (max-width: 768px) {

    /* Adjustments for nav-tabs inside searchbar on small screens */
    .searchbar-1 .nav-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
        border: none;
        background-color: transparent;
        padding: 0;
    }

    .searchbar-1 .nav-tabs .nav-item {
        flex: 0 0 auto;
        /* Don't stretch */
    }

    .searchbar-1 .nav-tabs .nav-link {
        font-size: 11px;
        padding: 0.35rem 0.95rem;
        border-radius: 999px;
        background-color: #e9ecef;
        border: none;
        color: #1a1919;
        width: auto;
        text-align: center;
    }

    .searchbar-1 .nav-tabs .nav-link span {
        display: none;
    }

    .searchbar-1 .nav-tabs .nav-link.active {
        background-color: #233058;
        color: #ffffff !important;
    }

    .searchbar-1.mt-3 {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .mobile-trigger-text {
        color: #333333;
        /* Or any color you prefer */
        font-weight: bold;
        font-size: 0.8rem;
    }

    .mobile-trigger-text:hover {
        color: #000000;
    }

   /* Backdrop */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.custom-modal-content {
  background-color: white;
  width: 100%;
  height: 100%;
  max-width: 430px;
  margin: auto;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
}

/* List item styling */
.custom-modal-content .list-group-item {
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Back button */
.custom-modal-content .btn-link {
  font-size: 1rem;
  color: #ff385c;
  text-decoration: none;
  padding: 0;
  margin-bottom: 1rem;
}

/* Title & Header */
.custom-modal-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Slide-in animation */
@keyframes slideIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* AsyncSelect dropdown fix */
.css-13cymwt-control,
.css-t3ipsp-control {
  min-height: 48px !important;
  border-radius: 12px !important;
  border-color: #ddd !important;
  box-shadow: none !important;
}

.list-search{
color: #000000;
}
.list-group-item {
  border: none;
  padding: 12px 16px;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.list-group-item:hover {
  background-color: #f8f8f8;
}
.modal-step {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 100%;
  opacity: 0;
 
  pointer-events: none;
}

.modal-step.active {
  left: 0;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.custom-modal-content {
  position: relative;
  overflow: hidden;
}



}