.notification-centre {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.notification-card {
  background: #fff;
  border: 1px solid #ccc;
  border-left: 6px solid #333;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.user-info {
  display: flex;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.name {
  font-weight: bold;
  color: #333;
}

.notification-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #666;
}

.ellipsis-button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.notification-title {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
}

.notification-body {
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

.notification-body a {
  color: #0066cc;
  text-decoration: underline;
}

.notification-footer {
  margin-top: 15px;
}

.ack-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
}

.ellipsis-wrapper {
  position: relative;
}

.ellipsis-menu {
  position: absolute;
  top: 25px;
  right: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 120px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ellipsis-menu li {
  border-bottom: 1px solid #eee;
}

.ellipsis-menu li:last-child {
  border-bottom: none;
}

.ellipsis-menu button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
}

.ellipsis-menu button:hover {
  background-color: #f5f5f5;
}

.ack-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

#notificationcenter-item-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-truncate-one-line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* limit to 1 line */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  /* allows clamp to work properly */
}



#notificationcenter-item-title {
  font-size: 1rem;
  min-height: 48px;
}

#notificationcenter-item-content {
  min-height: 63px;
}

#notificationcenter-list-item {
  cursor: pointer;
}

#notificationcenter-card-header {
  cursor: pointer;
  color: gray
}

#notification-center-alltab {
  font-weight: bold;
  color: black
}

.selected-item {
  background-color: "#F0F9FF"
}

.nonotif-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  height: 419px;
  min-height: 150px;
}

.nonotif-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #65686c;
}

.nonotif-title {
  font-weight: bold;
}

.nonotif-subtext {
  margin-top: 0.25rem;
  font-size: 13px;
  color: #65686c;
}

.page-header {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
}

.page-title {
  font-size: 20px;
  font-weight: bold;
}

.search-wrapper {
  position: relative;
  width: 220px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Search icon */
.search-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  transition: opacity 0.2s ease;
}

/* Search bar */
.search-box {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.search-box.active {
  opacity: 1;
  visibility: visible;
}

.search-box input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 6px 8px;
  outline: none;
  border-radius: 4px 0 0 4px;
}

.search-btn {
  background: #002f9e;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

#notification-center-details .card {
  --bs-card-border-width: 0;  
  border: none !important;    
  box-shadow: none !important; 
  flex: 1;
  height: auto;
}

.notificationSection {
  display: flex;
  align-items: stretch;
}

#notification-center-preview,
#notification-center-details {
  display: flex;
  flex-direction: column;
}

.notification-container {
  min-height: 500px; /* matches your list max-height */
  display: flex;
}

@media (max-width: 576px) {
  /* .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  } */

  .page-title {
    font-size: 18px;
    word-break: break-word;
  }

  /* .search-wrapper {
    width: 100%;
    justify-content: flex-start;
  } */

  .search-box input {
    width: 100%;
  }
}

/*  */
#notification-center-details > .card {
    height: 100% !important;
  }
 .notificationSection {
      /* height: calc(100vh - 120px); */
    overflow: hidden;
 }

.notification-container {
  display: flex;
  width: 100%;                 
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

/* Base snackbar container */
.snackbar {
  visibility: hidden;
  min-width: 250px;
  max-width: 400px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 14px 16px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 9999;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.snackbar.show {
  visibility: visible;
  animation: fadein 0.3s, fadeout 0.3s 3.2s;
}

.snackbar span {
  margin-bottom: 6px;
}

.snackbar-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0%;
  border-radius: 0 0 4px 4px; 
  transition: width 3s linear;
}
  
@media (min-width: 769px) {
 
 #backBtn {
    display: none !important;  /* hide back button on desktop */
  }
}
@media (max-width: 768px) {
  #notification-center-details > .card {
    height: 50vh !important;
  }
   #notification-center-preview{
    padding:2px;
  }
  div#notification-center-details{
    margin-left:18px;
  }
  .panel {
  flex: 0 0 100%;              
  max-width: 100%;
  overflow-y: auto;
  }
  
  .page-title,
  .search-wrapper {
    flex: 1; /* makes them equal width */
  }
}
@media only screen and (min-width: 932px) and (orientation: landscape){
 .tdx-header-bar-container,.tdx-page-info{
  display:block !important;
 }
 .page-header{
  display:flex;
 }
}
@media only screen and (min-width: 844px) and (orientation: landscape)
{ 
 #notificationContainer{
    transform:unset !important;
  }
}
