#notification-container {
  position: fixed;
  top: 60px; /* Just below navbar */
  right: 1rem;
  width: 320px;
  max-width: 90vw;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notification {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.8);
  color: white;
  border-radius: 8px;
  overflow: hidden;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-family: 'Nunito', sans-serif;
  animation: slideInRight 0.3s ease forwards;
  user-select: none;
}

@keyframes slideInRight {
  from {opacity: 0; transform: translateX(100%);}
  to {opacity: 1; transform: translateX(0);}
}

@keyframes slideOutRight {
  from {opacity: 1; transform: translateX(0);}
  to {opacity: 0; transform: translateX(100%);}
}

.notification-icon {
  font-size: 1.8rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.notification-message {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  height: auto !important;
  overflow: hidden !important;
}

.notification-message iframe {
  display: block !important;      /* ensure block display */
  height: 60px !important;         /* set desired height */
  max-height: 80px !important;     /* max height */
  width: 100% !important;           /* full width */
  border: none !important;          /* no border */
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
  overflow: hidden !important;
}

.notification-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}

.notification-user {
  margin-right: 0.5rem;
}

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

.notification-actions {
  margin-left: 1rem;
  flex-shrink: 0;
}

.notification-actions button,
.notification-action-button {
  background: #4CAF50;
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  user-select: none;
  transition: background-color 0.3s ease;
  text-decoration: none; /* For action-link buttons */
  display: inline-block;
}

.notification-actions button:hover,
.notification-actions button:focus,
.notification-action-button:hover,
.notification-action-button:focus {
  background-color: #388E3C;
  outline: none;
}

.notification-close {
  margin-left: 0.75rem;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.6;
  flex-shrink: 0;
  align-self: flex-start;
  background: none;
  border: none;
  color: white;
  user-select: none;
}

.notification-close:hover,
.notification-close:focus {
  opacity: 1;
  outline: none;
}
