/* Base notification styles */
.corner-notification {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  max-width: 24rem;
  width: calc(100% - 3rem);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
}

.corner-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Title styles */
.corner-notification-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding-right: 1.5rem;
  color: #1a1a1a;
  line-height: 1.4;
}

/* Close button styles */
.corner-notification-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out;
}

.corner-notification-close:hover {
  opacity: 1;
}

/* Content styles */
.notification-content {
  color: #4a5568;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.notification-content p {
  margin: 0 0 0.75rem;
}

.notification-content p:last-child {
  margin-bottom: 0;
}

/* Make sure links in the notification stand out */
.notification-content a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.notification-content a:hover {
  color: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .corner-notification {
    bottom: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    padding: 1rem;
  }

  .corner-notification-title {
    font-size: 1rem;
  }

  .notification-content {
    font-size: 0.875rem;
  }
}
