.notification-wrapper {
    position: relative;
    z-index: 9999;
    margin-inline: 10px;
  }
  
  .notification-dropdown {
    margin-top: 8px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 629px;
    max-height: 400px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  

  
  @media (max-width: 1024px) {
    .notification-dropdown {
      position: fixed;
      top: 50px;
      left: 16px; 
      right: 96px;
      width: auto;
      max-height: 40vh;
      border-radius: 8px;
      padding: 24px 16px;
      z-index: 99999;
      box-shadow: none;
      transform: none;
      margin: 0;
    }
  
    .groupDown {
      display: block;
      width: 100%;
    }
  
    .notification-text .time {
      position: static;
      font-size: 12px;
      color: #888;
      margin-top: 4px;
    }
    
    .notification-dropdown .d-flex.justify-content-end {
      justify-content: flex-start !important;
    }
  }
  @media (max-width: 768px) {
    .notification-dropdown {
      position: fixed;
      top: 50px;
      left: 16px; 
      right: 70px;
      width: auto;
      max-height: 40vh;
      border-radius: 8px;
      padding: 24px 16px;
      z-index: 99999;
      box-shadow: none;
      transform: none;
      margin: 0;
    }
  }
  
  @media (max-width: 550px) {
    .notification-dropdown {
      position: fixed;
      top: 50px;
      left: 16px; 
      right: 60px;
      width: auto;
      max-height: 40vh;
      border-radius: 8px;
      padding: 24px 16px;
      z-index: 99999;
      box-shadow: none;
      transform: none;
      margin: 0;
    }
  }
  
  .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px; 
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 1px 3px;
    border-radius: 100%;
    font-weight: bold;
    line-height: 1.5;
    min-width: 20px;
    text-align: center;
    pointer-events: none; 
  }
  .notification-icon {
    cursor: pointer;
    width: 32px;
    height: 32px;
    font-size: 32px;
  }
  
  .notification-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
    box-sizing: border-box;
  }

  .notification-item.hover-underline:hover .title,
  .notification-item.hover-underline:hover .desc {
    text-decoration: underline;
    cursor: pointer;
  }
  
  .notification-item:hover {
    background-color: #f5f5f5;
  }
  
  .notification-item:hover .notification-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: transparent;
    z-index: -1;
  }
  
  .notification-dot {
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    z-index: 1;
    cursor: pointer;
  }
  .notification-dot-read {
    background-color: transparent;
    border: 1px solid transparent;
    margin-right: 9px;
  }

  .notification-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: transparent;
    z-index: -1;
    transition: background-color 0.2s ease;
  }
  .notification-dot.dot-read {
    background-color: transparent !important;
    box-shadow: none !important;
  }
  .notification-dot.dot-read:hover::after {
    display: none;
  }
  .notification-dot:hover {
    box-shadow: 0 0 0 7px #e6d5d5;
  }
  .notification-dot:hover::before {
    background-color: #060505;
  }
  .notification-dot::after {
    content: 'Okundu İşaretle';
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background-color: #000000;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
  }
  
  .notification-dot:hover::after {
    opacity: 1;
  }
  
  
  .notification-read .notification-dot {
    display: none;
  }
  
  .notification-text {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  .notification-text .title {
    font-weight: bold;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
  
  .notification-text .desc {
    font-size: 13px;
    color: #A1A1A1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
  
  @keyframes shake {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-5deg); }
    50%  { transform: rotate(5deg); }
    75%  { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }
  
  .shake-animation {
    animation: shake 0.6s ease;
  }
  
  .notification-group-label {
    font-weight: bold;
    font-size: 14px;
    margin: 8px 0;
    padding: 4px 0;
    border-bottom: 1px solid #ddd;
  }
  
  .close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #000000;
    cursor: pointer;
    z-index: 10000;
  }
  
  .notification-text .time {
    position: absolute;
    right: 0px;
    top: 0;
    font-size: 12px;
    color: #888;
  }
  .mark-all-btn {
    position: relative;
    font-size: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
  } 
  
  .mark-all-btn:hover {
    background-color: #0bbd55;
  }
  