/* ===== GLOBAL ===== */
    #notification-container {
      position: fixed;
      bottom: 120px;  /* ปรับขึ้นมาอีก 40px (จาก 80px) */
      right: 20px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      z-index: 9998;
      transition: right 0.4s ease, bottom 0.4s ease;
    }
    #notification-container.closed {
      right: -360px;
    }

    .notification {
      display: flex;
      align-items: flex-start;
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 12px;
      border-radius: 8px;
      max-width: 320px;
      font: 14px/1.4 sans-serif;
      overflow: hidden;
      opacity: 0;
      transform: translateY(20px);
    }
    @keyframes popIn {
      0%   {opacity:0; transform:scale(0.8) translateY(20px)}
      60%  {opacity:1; transform:scale(1.05) translateY(0)}
      100% {opacity:1; transform:scale(1) translateY(0)}
    }
    .notification.show {
      animation: popIn 0.5s ease forwards;
    }
    @keyframes slideOutRight {
      0%   {opacity:1; transform:translateX(0)}
      100% {opacity:0; transform:translateX(100%)}
    }
    .notification.exit {
      animation: slideOutRight 0.5s ease-in-out forwards;
    }
    .notification img {
      width: 64px;
      height: 64px;
      object-fit: cover;
      border-radius: 8px;
      margin-right: 12px;
    }
    .notification .details {
      display: flex;
      flex-direction: column;
    }
    .notification .details div {
      margin-bottom: 4px;
    }
    .notification label {
      font-weight: bold;
      margin-right: 6px;
      min-width: 60px;
    }

    /* ===== TOGGLE BUTTON ===== */
    #toggle-btn {
      position: fixed;
      bottom: 70px;  /* ปรับขึ้นมาอีก 40px (จาก 20px) */
      right: 20px;
      width: 36px;
      height: 36px;
      background: rgba(0,0,0,0.6);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 9999;
      transition: background 0.3s ease, bottom 0.4s ease;
    }
    #toggle-btn svg {
      width: 20px;
      height: 20px;
      fill: #fff;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width:600px) {
      #notification-container {
        bottom: 140px; /* จากเดิม 100px → 140px */
      }
      .notification {
        max-width: 200px;
        padding: 8px;
        font: 12px/1.3 sans-serif;
        border-radius: 12px;
      }
      .notification img {
        width: 48px;
        height: 48px;
        margin-right: 8px;
        border-radius: 10px;
      }
      .notification label {
        min-width: 50px;
        margin-right: 4px;
      }
      #toggle-btn {
        bottom: 70px; /* จากเดิม 20px → 60px */
        right: 20px;
      }
    }