    /* ==========================================================================
       PREMIUM POLISH PACK — বাটন আর overall look আরও professional/attractive করার জন্য।
       এই block-টা file-এর একদম শেষে বসানো (এবং !important ব্যবহার করা), যাতে আগের
       কোনো patch-এর সাথে conflict না হয়ে সবসময় এটাই জেতে।
       ========================================================================== */

    .btn {
      border-radius: 11px !important;
      font-weight: 700 !important;
      letter-spacing: 0.15px;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
      transition: transform 0.18s cubic-bezier(.2, .8, .2, 1), box-shadow 0.22s ease, filter 0.18s ease, background 0.18s ease !important;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 78%, #ffb066)) !important;
      box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 55%, transparent) !important;
    }

    .btn-success {
      background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 78%, #5be08a)) !important;
      box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--green) 45%, transparent) !important;
    }

    .btn-danger {
      background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 78%, #ff8a8a)) !important;
      box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--red) 45%, transparent) !important;
    }

    .btn-ghost {
      backdrop-filter: blur(2px);
    }

    .btn:hover {
      filter: brightness(1.06) !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent) 45%, transparent) !important;
    }

    .btn:active {
      transform: translateY(0) scale(0.98) !important;
      transition-duration: 0.08s !important;
    }

    .btn-danger:hover {
      box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--red) 50%, transparent) !important;
    }

    .btn-success:hover {
      box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--green) 50%, transparent) !important;
    }

    /* কার্ড-গুলোতেও হালকা lift/hover polish — dashboard আর সব প্রিমিয়াম কার্ড আরও রিফাইন্ড দেখাবে */
    .premium-card,
    .premium-glass-card,
    .stat-card,
    .notice-item,
    .auth-card {
      transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    }

    .premium-card:hover,
    .premium-glass-card:hover,
    .stat-card:hover {
      box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--accent) 35%, transparent) !important;
    }

    /* নাম-ব্যাজ, status-pill ইত্যাদি ছোট chip-গুলোতেও সূক্ষ্ম gradient/shadow */
    .name-badge {
      box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.25) !important;
    }

    .status-pill {
      box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.18) !important;
      font-weight: 700 !important;
    }

    /* ---------- Welcome Popup ---------- */
    .wpop-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 12, 20, 0.55);
      backdrop-filter: blur(3px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 99999;
      animation: wpopFadeIn 0.28s ease;
      padding: 20px;
    }

    @keyframes wpopFadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .wpop-card {
      position: relative;
      width: min(480px, 100%);
      min-height: 300px;
      border-radius: 28px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 46px 32px 38px;
      box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
      animation: wpopPopIn 0.38s cubic-bezier(.2, .9, .25, 1.2);
    }

    @keyframes wpopPopIn {
      from {
        opacity: 0;
        transform: translateY(14px) scale(.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .wpop-emoji {
      font-size: 3.6rem;
      line-height: 1;
      margin-bottom: 16px;
      filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
      animation: wpopFloat 2.6s ease-in-out infinite;
    }

    @keyframes wpopFloat {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .wpop-text {
      color: #fff;
      font-family: 'Sora', sans-serif;
      font-weight: 800;
      font-size: 1.65rem;
      line-height: 1.45;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    }

    .wpop-sub {
      display: block;
      margin-top: 14px;
      font-weight: 500;
      font-size: 1.04rem;
      line-height: 1.55;
      opacity: 0.96;
    }

    .wpop-cta {
      margin-top: 28px;
      border: none;
      border-radius: 999px;
      padding: 13px 30px;
      font-size: 1.02rem;
      font-weight: 700;
      font-family: 'Sora', sans-serif;
      background: rgba(255, 255, 255, 0.22);
      color: #fff;
      cursor: pointer;
      backdrop-filter: blur(6px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
      transition: transform 0.15s ease, background 0.2s ease;
    }

    .wpop-cta:hover {
      background: rgba(255, 255, 255, 0.34);
      transform: translateY(-2px);
    }

    .wpop-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.22);
      color: #fff;
      font-size: 1.05rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .wpop-close:hover {
      background: rgba(255, 255, 255, 0.38);
      transform: scale(1.08);
    }

    /* ================= SIDEBAR FINAL POLISH PATCH (v28) =================
       - Slightly narrower sidebar (collapsed + expanded), as requested.
       - The plan badge, mess/house name and Logout button are grouped by
         JS (see mmWrapSidebarFooter below) into a single .mm-sidebar-footer
         wrapper so they always read as one distinct "footer" block —
         with its own background tint, top divider and padding — instead
         of just being the last few items in the scrolling button list. */
    :root {
      --sidebar-collapsed: 64px !important;
      --sidebar-expanded: 248px !important;
    }

    .mm-sidebar-footer {
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin: 10px 2px 10px;
      padding: 14px 8px;
      border: 1px solid var(--border);
      background: var(--surface2);
      border-radius: 16px;
    }

    [data-theme="dark"] .mm-sidebar-footer {
      background: rgba(255, 255, 255, 0.04);
    }

    .mm-sidebar-footer #mmPlanPill,
    .mm-sidebar-footer .sidebar-mess-name,
    .mm-sidebar-footer .sidebar-logout-btn {
      margin: 0 !important;
      flex-shrink: 0;
    }

    .mm-sidebar-footer .sidebar-logout-btn::before {
      display: none !important;
    }
  
