.notifications-container { max-width: 560px; margin: 50px auto; padding: 30px; background: white; border-radius: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.notifications-header { margin-bottom: 18px; text-align: center; }
.notifications-header h1 { margin-bottom: 10px; color: #f00; font-size: 2rem; }
.notifications-header p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.page-status { margin-bottom: 14px; padding: 12px; border-radius: 8px; background: #f8d7da; color: #721c24; font-size: 14px; }
.notifications-toolbar { display: flex; justify-content: flex-end; min-height: 1.6em; margin-bottom: 8px; }
.link-button { padding: 0; border: none; background: none; color: #f00; font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.link-button:disabled { color: #999; cursor: not-allowed; }
.notifications-loading, .notifications-empty { padding: 32px 0; color: #666; text-align: center; }
.notifications-empty p { margin: 0 0 8px; }
.notifications-hint { font-size: 0.9rem; }
.notification-list { display: grid; gap: 10px; }
.notification { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #eee; border-left: 4px solid #ddd; border-radius: 10px; color: #333; text-decoration: none; transition: box-shadow 0.2s ease; }
.notification:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.notification--unread { border-left-color: #f00; background: #fff8f8; }
.notification-title { font-size: 0.95rem; }
.notification--unread .notification-title::before { content: '●'; margin-right: 6px; color: #f00; font-size: 0.7em; vertical-align: middle; }
.notification-message { font-size: 0.95rem; overflow-wrap: anywhere; }
.notification-meta { color: #666; font-size: 0.85rem; }
.back-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; }
.back-links a { color: #666; text-decoration: none; font-size: 14px; }
.back-links a:hover { color: #f00; }

@media (max-width: 680px) {
  .notifications-container { margin: 20px 12px; padding: 22px 18px; }
  .notifications-header h1 { font-size: 1.6rem; }
  .back-links { flex-direction: column; align-items: center; }
}
