/* Header Styles */
header {
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 7vh;
  z-index: 999;
  background-color: #dae2e5; /* Grey background */
}

.container-fluid {
  display: flex;
  justify-content: space-between;
}

.navbar-brand {
  padding: 0;
}

.d-flex.right {
  align-items: center;
}

.navbar-brand,
.text-black {
  margin-left: 1rem;
  color: #000 !important; /* Black text */
  text-decoration: none; /* Remove underline */
  font-size: 1rem;
}

.logo-text {
  display: flex;
  align-items: center;
  font-size: 1rem; /* Adjust the font size as needed */
  height: 1.2rem;
}

.lodge-case {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;

  width: 8.375rem;
  height: 2.188rem;

  background-color: #303e45;
  border-radius: 15px;
  font-size: 0.938rem;
}

.lodge-case:hover {
  background-color: #384d58;
}

.lodge-case a {
  color: #e9e9e9 !important;
}

.btn:focus {
  box-shadow: none;
}

.right img {
  width: 2.188rem;
  height: auto;
  /* margin-right: 1rem; */
}

.dropdown-menu {
  z-index: 1000 !important;
}

.dropdown-item:active {
  background-color: #303e45 !important;
}

.profile-photo {
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center;
  /* background-color: #fff !important; */
  image-rendering: -webkit-optimize-contrast !important; /* Applies smoothing */
  image-rendering: optimizeQuality !important; /* Applies smoothing */
}

/* CSS RELATED TO NOTIFICATION */
#notification-bell {
  position: relative;
  cursor: pointer;
}

#notification-icon {
  width: 35px;
  height: 35px;
}

#notification-count {
  position: absolute;
  top: -7px;
  right: 9px;
  background:#8F0000;
  color: white;
  border-radius: 48%;
  padding: 3px 6px;
  font-size: 9px;
}

#notification-dropdown {
  position: absolute;
  top: 45px;
  right: 100px;
  width: 500px;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: #f1f1f1;
}

.notification-title {
  font-weight: lighter;
  padding-left: 20px;
  color: #023F53;
}

.mark-as-read-text {
  font-size: 0.9rem;
  color: #0072B2;
  font-weight: lighter;
  cursor: pointer;
}

.notification-subtitle {
  color: #023F53;
  font-weight: bold;
  text-align: right;
}

.notification-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.notification-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;  /* Prevent dot from shrinking */
  border-radius: 50%;  /* Ensure dot is circular */
  margin-right: 10px;
}
.dot-low, .dot-medium {
  background: #138800;
}

.dot-high {
  background: #8F0000;
}

.dot-read {
  background: grey;
}

.notification-time{
  font-size: 0.8rem;
}

.textRead {
  color: gray;
}

.textUnread {
  color: #0072B2;
}

#see-more-button {
  display: block;
  margin: 10px auto;
  padding: 5px 20px; 
  font-size: 14px;
  text-align: center;
  background: #D9D9D9;
  cursor: pointer;
  border: none;
}

#see-more-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.notification-loading,
.notification-empty,
.notification-error {
  padding: 15px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

.notification-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.notification-loading .loading-text {
  font-weight: 500;
}

.notification-empty {
  font-style: italic;
}

.notification-error {
  color: #8F0000;
  font-weight: 500;
}

