p {
    padding: 0;
    margin: 0;
}

.notifications-container {
    background-color: white;
    border-radius: 13px;
    padding: 30px;
    max-width: 731px;
    max-height: 500px;
    /* Adjust max-height as needed */
    overflow-y: auto;
    /* Makes the content scrollable */
}

.single-notification-box {
    background-color: #e4f5e8;
}

@media (max-width: 39.9375em) {
    .notifications-container {
        border-radius: 0;
        padding-right: 16px;
        padding-left: 16px;
    }
}

.notifications-container .header .title {
    font-weight: 800;
    font-size: 15px;
}

@media (max-width: 280px) {
    .notifications-container .header .title {
        font-size: 13px;
    }
}

.notifications-container .header .title .unread-notifications-number {
    color: white;
    background-color: #0a317b;
    padding: 2px 13px;
    border-radius: 5px;
    margin-left: 12px;
}

@media (max-width: 280px) {
    .notifications-container .header .title .unread-notifications-number {
        font-size: 12px;
        padding: 2px 10px;
        margin-left: 5px;
    }
}

.notifications-container .header .mark-as-read .mark-as-read-button {
    color: #5e6778;
    text-decoration: none;
    -webkit-transition: all ease-in-out 200ms;
    transition: all ease-in-out 200ms;
}

@media (max-width: 280px) {
    .notifications-container .header .mark-as-read .mark-as-read-button {
        font-size: 10px;
    }
}

.notifications-container .header .mark-as-read .mark-as-read-button:hover {
    color: #0a317b;
}

.notifications-container .notifications {
    margin: 10px 0;
}

.notifications-container .notifications .single-notification-box {
    padding: 17px;
    border-radius: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
}

.notifications-container .notifications .single-notification-box .profile-picture {
    width: 45px;
    height: 45px;
    padding: 0;
}

.notifications-container .notifications .single-notification-box .profile-picture img {
    height: 100%;
}

.notifications-container .notifications .single-notification-box .clickable-image {
    border: none;
    border-radius: 6px;
}

.notifications-container .notifications .single-notification-box .clickable-image:hover {
    outline: 2px solid #e5effa;
    outline-offset: 2px;
    cursor: pointer;
}

.notifications-container .notifications .single-notification-box .notification-text {
    padding: 0 0 0 14px;
}

@media (max-width: 39.9375em) {
    .notifications-container .notifications .single-notification-box .notification-text {
        width: 100%;
        padding: 0 14px 0 14px;
    }
}

@media (max-width: 366px) {
    .notifications-container .notifications .single-notification-box .notification-text {
        width: 78%;
        padding: 0 14px 0 14px;
    }
}

.notifications-container .notifications .single-notification-box .notification-text .link {
    text-decoration: none;
    font-weight: 800;
    color: #5e6778;
    -webkit-transition: all ease-in-out 200ms;
    transition: all ease-in-out 200ms;
    margin-right: 5px;
}

.notifications-container .notifications .single-notification-box .notification-text .link:hover {
    color: #0a317b;
}

.notifications-container .notifications .single-notification-box .notification-text .name {
    color: #000000;
}

.notifications-container .notifications .single-notification-box .notification-text .description {
    color: #5e6778;
    margin-right: 5px;
}

.notifications-container .notifications .single-notification-box .notification-text .time {
    color: #939dae;
}

@media (max-width: 39.9375em) {
    .notifications-container .notifications .single-notification-box .notification-text .time {
        margin-top: 5px;
    }
}

.notifications-container .notifications .single-notification-box .notification-text .private-message {
    padding: 0px;
    border: 1px solid #e5effa;
    border-radius: 7px;
    margin-top: 5px;
    color: #1f1919;
    -webkit-transition: all ease-in-out 200ms;
    transition: all ease-in-out 200ms;
}

@media (max-width: 39.9375em) {
    .notifications-container .notifications .single-notification-box .notification-text .private-message {
        padding: 0px;
    }
}

.notifications-container .notifications .single-notification-box .notification-text .private-message:hover {
    background-color: #e5effa;
    cursor: pointer;
}

@media (max-width: 39.9375em) {
    .notifications-container .notifications .single-notification-box .comment {
        width: 70%;
    }
}

@media (max-width: 366px) {
    .notifications-container .notifications .single-notification-box .comment {
        width: 69%;
    }
}

@media (max-width: 280px) {
    .notifications-container .notifications .single-notification-box .comment {
        width: 55%;
    }
}

.notifications-container .notifications .unread {
    background-color: #f7fafd;
}

.notifications-container .notifications .unread .unread-symbol {
    font-size: 20px;
    color: #f65351;
    display: inline;
}

@media (max-width: 39.9375em) {
    .notifications-container .notifications .unread .unread-symbol {
        font-size: 16px;
    }
}

.notifications-container .notifications .read {
    background-color: none;
}

.notifications-container .notifications .read .unread-symbol {
    display: none;
}

.attribution {
    padding-top: 20px;
    padding-bottom: 20px;
}

.notification-card-modern {
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 4px 24px 0 rgba(31, 47, 70, 0.08);
      padding: 2rem 2.5rem 2rem 2rem;
      margin-bottom: 1.5rem;
      position: relative;
      min-width: 350px;
      max-width: 600px;
  }

  .notification-icon {
      flex-shrink: 0;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: linear-gradient(135deg, #ffe5b4 0%, #fff3e0 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 2rem;
      box-shadow: 0 2px 8px rgba(255, 193, 7, 0.10);
  }

  .notification-icon img,
  .notification-icon svg {


      width: 40px;
      height: 40px;
      display: block;
  }

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

  .notification-title {
      font-size: 1.35rem;
      font-weight: 700;
      color: #1f2f46;
      margin-bottom: 0.3rem;
  }

  .notification-description {
      color: #4a5568;
      font-size: 1.05rem;
      margin-bottom: 1.1rem;
      line-height: 1.5;
  }

  .notification-actions-modern {
      display: flex;
      gap: 0.7rem;
      margin-bottom: 0.2rem;
  }

  .notification-actions-modern .btn-primary {
      background: linear-gradient(90deg, #6a8dff 0%, #4f8cff 100%);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      padding: 0.5rem 1.3rem;
      box-shadow: 0 2px 8px rgba(80, 112, 255, 0.10);
      transition: background 0.2s;
  }

  .notification-actions-modern .btn-primary:hover {
      background: linear-gradient(90deg, #4f8cff 0%, #6a8dff 100%);
  }

  .notification-actions-modern .btn-secondary {
      background: none;
      color: #6c757d;
      border: none;
      font-weight: 500;
      font-size: 1rem;
      padding: 0.5rem 1.1rem;
      border-radius: 8px;
      transition: background 0.2s, color 0.2s;
  }

  .notification-actions-modern .btn-secondary:hover {
      background: #f1f3f5;
      color: #222;
  }

  .notification-close-btn {
      position: absolute;
      top: 1.1rem;
      right: 1.1rem;
      background: none;
      border: none;
      font-size: 1.3rem;
      color: #b0b7c3;
      cursor: pointer;
      transition: color 0.2s;
      z-index: 2;
  }

  .notification-close-btn:hover {
      color: #222;
  }

  .notification-time-modern {
      color: #adb5bd;
      font-size: 0.93rem;
      margin-top: 0.2rem;
  }

  .single-line-ellipsis {


      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
  }

  .notification-dark-card {
      background: #23272f;
      border-radius: 16px;
      padding: 1.2rem 1.2rem 1rem 1.2rem;
      color: #fff;
      width: 100%;
      min-width: 400px;
      max-width: 400px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);


      margin-bottom: 1.2rem;
      font-family: 'Segoe UI', Arial, sans-serif;
      position: relative;
  }

  .notification-dark-header {
      display: flex;
      align-items: center;
      font-size: 0.93rem;
      color: #b0b7c3;
      margin-bottom: 0.5rem;
      gap: 0.5rem;
  }

  .notification-dark-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .notification-dark-avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      object-fit: cover;
      margin-left: 0.7rem;
      border: 2px solid #444;
  }

  .notification-dark-name {
      font-weight: 700;
      font-size: 1.13rem;
      color: #fff;
  }

  .notification-dark-message {
      color: #cfd2da;
      font-size: 1rem;
      margin: 0.2rem 0 0.7rem 0;
      word-break: break-word;
  }

  .notification-dark-actions {
      display: flex;
      gap: 0.7rem;
  }

  .notification-dark-actions .btn {
      border: none;
      border-radius: 20px;
      padding: 0.38rem 1.2rem;
      font-size: 0.98rem;
      font-weight: 500;
      cursor: pointer;
      background: #31343b;
      color: #fff;
      transition: background 0.2s;
  }

  .notification-dark-actions .btn:hover {
      background: #44474f;
  }

  .notification-dark-actions .btn-secondary {
      background: #23272f;
      color: #b0b7c3;
      border: 1px solid #444;
  }

  .notification-dark-actions .btn-secondary:hover {
      background: #31343b;
      color: #fff;
  }

  .notification-dark-close-btn {
      position: absolute;
      top: 0.7rem;
      right: 0.9rem;
      background: none;
      border: none;
      color: #b0b7c3;
      font-size: 1.3rem;
      cursor: pointer;
      z-index: 2;
      transition: color 0.2s;
  }

  .notification-dark-close-btn:hover {
      color: #fff;
  }