.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040; 
}

/* Modal Styles */
.modal {
  z-index: 1050; /* Modal above the backdrop */
}

.modal-dialog {
  z-index: 1060; /* Modal dialog above modal content */
}

/* Input Styling */
.search-input {
  z-index: 1070; /* Ensure input is above other elements */
}

input[type="search"]:focus {
  outline: none;
  border-color: #007bff;
}
/* Input Group Styles */
.input-group-text {
  background: none;
  border: none;
}


/* Search Input Field - Ensure focusable and visible */
.search-input:focus {
  outline: none;
  border-color: #007bff; /* Add a border to show focus */
}

/* Search Suggestions Dropdown */
.list-group {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1052; /* Ensure suggestions dropdown appears above the modal */
}

.list-group-item {
  cursor: pointer;
  padding: 8px 15px;
  background-color: #fff;
}

.list-group-item:hover {
  background-color: #f0f0f0;
}
  /* Notification Icon and Badge */
  .notification-icon {
    position: relative;
  }

  /* Modal Body Styling */
.modal-body {
  padding: 20px;
  background-color: #f8f9fa;
}
  
  /* Pulse Circle (for notifications) */
  .pulse-circle {
    display: none;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background-color: #cb34e6;
    border-radius: 50%;
  }
  
  .pulsate {
    display: inline-block;
    animation: pulsate 1.5s infinite;
  }
  
  @keyframes pulsate {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }


/* Clear Search Button */
#clearSearch {
  cursor: pointer;
  display: inline-block;
  padding: 5px;
}

/* Modal Header */
.modal-header {
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  /* Pop-up Styles */
  .pop-up {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    text-align: center;
    width: 300px;
  }
  
  .pop-up-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .pop-up-body {
    margin-top: 15px;
  }
  
  .witty-line {
    font-style: italic;
    color: #555;
    margin: 10px 0;
  }
  
  .btn-navigate {
    display: inline-block;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .btn-navigate:hover {
    background-color: #45a049;
  }
  
  .btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Notification Bubble */
  .notification-bubble {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #cb34e6;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }
  
  .notification-bubble:hover {
    background-color: #a628b3;
    cursor: pointer;
  }
  
  .notification-bubble.show {
    display: flex;
  }
  
  .notification-count {
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 1;
    min-width: 20px;
    text-align: center;
    display: none;
    background: linear-gradient(135deg, #fc4dff, #a40cc6);
  }
  
  .notification-count.show {
    display: inline-block;
  }
  