* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #1e293b;
}

.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 45px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 32px;
  padding-left: 8px;
}

.logo-icon {
  fill: #7c3aed;
  width: 28px;
  height: 28px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: #64748b;
  transition: all 0.2s ease;
}

.nav-item.active {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.sidebar-footer {
  font-size: 13px;
  color: #94a3b8;
  padding-left: 8px;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 40px 48px;
  max-width: 1400px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.page-header p {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 28px;
}

/* Categories Bar */
.categories-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn i {
  width: 16px;
  height: 16px;
}

.category-btn:hover {
  background-color: #f1f5f9;
}

.category-btn.active {
  background-color: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* Loader */
.loader {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.loader.hidden {
  display: none;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* News Grid & Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #e2e8f0;
}

.news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
}

.badge-bbc {
  background-color: #f3e8ff;
  color: #7c3aed;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.news-time {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-time i {
  width: 14px;
  height: 14px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: #7c3aed;
}

.news-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

  /* Home Header */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.home-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
}

.add-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: #7c3aed;
  border: none;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  transition: all 0.2s ease;
}

.add-post-btn:hover {
  background-color: #6d28d9;
  transform: translateY(-1px);
}

.add-post-btn i {
  width: 22px;
  height: 22px;
}
/* Modale creazione post */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close i {
  width: 20px;
  height: 20px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.form-group input[type="file"] {
  font-size: 13px;
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 14px;
}

.preview-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.preview-rect {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.hidden {
  display: none;
}

.publish-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background-color: #7c3aed;
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.publish-btn:hover {
  background-color: #6d28d9;
}

/* Griglia post */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.post-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.post-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-logo-placeholder i {
  width: 18px;
  height: 18px;
}

.post-date {
  font-size: 13px;
  color: #94a3b8;
}

.post-photo {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.post-caption {
  padding: 14px 16px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}
/* Autenticazione */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.auth-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.auth-box h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  text-align: center;
}

.auth-box .form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 14px;
}

.auth-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
}

.auth-success {
  color: #16a34a;
  font-size: 13px;
  margin-bottom: 12px;
}

.auth-toggle {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #64748b;
}

.auth-toggle a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

/* Logout */
.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: none;
  color: #64748b;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
}

.logout-btn:hover {
  background-color: #f1f5f9;
}

.logout-btn i {
  width: 18px;
  height: 18px;
}

/* Profilo */
.profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.profile-card .preview-circle {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
}

.profile-logo-placeholder-lg {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background-color: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-logo-placeholder-lg i {
  width: 80px;
  height: 80px;
}

.profile-card .form-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 14px;
}

/* Post header aggiornato */
.post-header-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-author {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.delete-post-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
}

.delete-post-btn:hover {
  background-color: #fef2f2;
  color: #ef4444;
}

.delete-post-btn i {
  width: 18px;
  height: 18px;
}
/* Avatar cliccabile nel profilo */
.avatar-upload-btn {
  position: relative;
  width: 90px;
  height: 90px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-bottom: 20px;
  display: block;
}

.avatar-upload-btn .preview-circle,
.avatar-upload-btn .profile-logo-placeholder-lg {
  width: 90px;
  height: 90px;
  margin-bottom: 0;
}

.avatar-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #7c3aed;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.avatar-overlay i {
  width: 14px;
  height: 14px;
}
.profile-logo-placeholder-lg.hidden {
  display: none !important;
}
/* Menu tre puntini sui post */
.post-menu {
  position: relative;
}

.post-menu-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
}

.post-menu-btn:hover {
  background-color: #f1f5f9;
}

.post-menu-btn i {
  width: 18px;
  height: 18px;
}

.post-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  min-width: 150px;
  z-index: 10;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  text-align: left;
}

.menu-item:hover {
  background-color: #f8fafc;
}

.menu-item i {
  width: 16px;
  height: 16px;
}

.menu-item-danger {
  color: #ef4444;
}

/* Azioni post: like e commenti */
.post-actions {
  display: flex;
  gap: 16px;
  padding: 10px 16px 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.action-btn i {
  width: 20px;
  height: 20px;
}

.like-btn.liked {
  color: #ef4444;
}

.like-btn.liked i {
  fill: #ef4444;
}

/* Modale commenti */
.comments-list {
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  padding: 10px 12px;
  background-color: #f8fafc;
  border-radius: 10px;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.comment-text {
  font-size: 14px;
  color: #334155;
  margin-top: 2px;
}

.comment-form {
  display: flex;
  gap: 8px;
}

.comment-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 14px;
}

.comment-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: #7c3aed;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-send-btn i {
  width: 18px;
  height: 18px;
}
.logo-img {
  width: 65px;
  height: 65px;
  border-radius: 25px;
  object-fit: cover;
}
/* Pulsante menu mobile */
.menu-toggle-btn {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  width: 42px;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-toggle-btn i {
  width: 22px;
  height: 22px;
  color: #334155;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 140;
}

.sidebar-overlay.active {
  display: block;
}

/* Sidebar scorrevole su schermi piccoli */
@media (max-width: 768px) {
  .menu-toggle-btn {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 150;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    padding-top: 76px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* Toggle Email/Telefono */
.contact-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.toggle-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #64748b;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.toggle-btn.active {
  background-color: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}

.auth-box-wide {
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
}

.field-hint {
  font-size: 12px;
  margin-top: 2px;
}

.hint-ok {
  color: #16a34a;
}

.hint-error {
  color: #ef4444;
}

.otp-info {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  text-align: center;
}

.auth-box textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 60px;
}
/* Nuovo layout profilo */
.profile-page {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  left: 10px;
}

.profile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.profile-username-block {
  flex: 1;
}

.profile-username {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.profile-avatar-block {
  flex-shrink: 0;
}

.profile-avatar-lg {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
}

.profile-stats {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
}

.profile-bio {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 20px;
  text-align: center;
}

.edit-profile-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background-color: #f3e8ff;
  color: #7c3aed;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 24px;
}

.edit-profile-btn:hover {
  background-color: #e9d5ff;
}

.profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
/* Profilo centrato */
.profile-page {
  margin: 0 auto;
}

.profile-bio {
  text-align: center;
}

.profile-card {
  margin: 0 auto 24px;
}

/* Sezione post del profilo */
.profile-posts-section {
  margin-top: 8px;
}

.profile-posts-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  text-align: center;
}
/* Barra di ricerca a pillola espandibile */
.search-bar-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 10px 16px;
  width: 140px;
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.search-bar-container:hover,
.search-bar-container:focus-within {
  width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  color: #334155;
  width: 100%;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
}

.search-result-item:hover {
  background-color: #f8fafc;
}

.search-result-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.search-result-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-avatar-placeholder i {
  width: 16px;
  height: 16px;
}

.search-empty {
  padding: 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* Su mobile, evita che la barra spinga via il pulsante + */
@media (max-width: 480px) {
  .search-bar-container {
    width: 100px;
  }
  .search-bar-container:hover,
  .search-bar-container:focus-within {
    width: 200px;
  }
}
a.search-result-item {
  text-decoration: none;
  color: inherit;
}
.following-btn {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
}
/* Pulsanti compatti profilo */
.profile-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  justify-content: center;
}

.btn-compact {
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #f3e8ff;
  color: #7c3aed;
  border: none;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  width: auto;
}

.btn-compact:hover {
  background-color: #e9d5ff;
}

.btn-compact-secondary:hover {
  background-color: #e2e8f0;
}

/* Barra header profilo con notifiche */
.profile-header-bar {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 12px;
}

.notification-bell-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notif-icon {
  width: 28px;
  height: 28px;
}

.notif-outline {
  fill: none;
  stroke: #334155;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.notif-liquid-fill,
.notif-olive-fill {
  fill: none;
}

.notification-bell-btn.has-notifications .notif-liquid-fill {
  fill: #d6249f;
}

.notification-bell-btn.has-notifications .notif-olive-fill {
  fill: #4d7c0f;
}

.notif-badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* Pannello notifiche */
.notifications-panel {
  position: absolute;
  top: 50px;
  right: 0;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #f1f5f9;
  z-index: 100;
  padding: 16px;
}

.notifications-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
}

.notification-item.unread {
  background-color: #f5f3ff;
}

.notification-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.notification-avatar-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-avatar-placeholder i {
  width: 16px;
  height: 16px;
}

.notification-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}