/* Notifications Styles */
.notifications-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--secondary-bg);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.page-title {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0;
}

.notification-count-header {
  font-size: 1.1rem;
  color: var(--text-color-secondary);
  font-weight: 500;
}

.notifications-list {
  background: var(--secondary-bg);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.notification-item {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--background-color);
  transition: background-color 0.2s ease;
}

.notification-item:hover {
  background-color: var(--tab-hover-bg);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-avatar {
  margin-right: 16px;
  flex-shrink: 0;
}

.notification-main-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.notification-content {
  flex: 1;
}

.notification-message {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.4;
}

.notification-time {
  font-size: 0.85rem;
  color: var(--text-color-secondary);
  margin-top: 4px;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}

.btn-accept-notification,
.btn-decline-notification {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-accept-notification {
  background-color: var(--link-color);
  color: var(--button-text-color);
}

.btn-decline-notification {
  background-color: transparent;
  border: 1px solid var(--danger-color);
  color: var(--danger-color);
}

.btn-accept-notification:hover {
  background-color: var(--link-hover) !important;
}

.btn-decline-notification:hover {
  background-color: var(--danger-bg) !important;
}

.notifications-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* Bookshelf modal styles */
.save-bookshelf-btn {
  padding: 12px 24px;
  background-color: var(--link-color);
  color: var(--button-text-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.save-bookshelf-btn:hover {
  background-color: var(--link-hover);
}

.btn-add-to-bookshelf {
  background-color: var(--link-color) !important;
}

.btn-add-to-bookshelf:hover {
  background-color: var(--link-hover) !important;
}

/* Small dismiss button */
.btn-dismiss-small {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: var(--text-color);
}

.btn-dismiss-small:hover {
  background-color: var(--danger-bg);
  border-color: var(--danger-color);
  color: var(--danger-color);
}

/* Utility classes for inline styles */
.text-link { color: var(--link-color); }
.text-primary { color: var(--text-color); }
.text-secondary { color: var(--text-color-secondary); }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--bg-light); }