/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout styles handled entirely by MudBlazor */
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu styles handled entirely by MudBlazor */
/* /Pages/Admin/ProductDetail.razor.rz.scp.css */
/* ── Hero ── */
    .cat-hero[b-4h88rrmyn6] {
      border-radius: var(--radius-2xl);
      padding: 40px 44px;
      margin-bottom: 28px;
      position: relative;
      overflow: hidden;
      color: #fff;
    }

    .cat-hero[b-4h88rrmyn6]::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -40px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      border: 50px solid rgba(255, 255, 255, 0.05);
      pointer-events: none;
    }

    .cat-hero[b-4h88rrmyn6]::after {
      content: '';
      position: absolute;
      bottom: -100px;
      right: 140px;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      border: 40px solid rgba(255, 255, 255, 0.03);
      pointer-events: none;
    }

    .hero-purple[b-4h88rrmyn6] {
      background: linear-gradient(135deg, #6B5DD3 0%, #3F3692 100%);
    }

    .hero-blue[b-4h88rrmyn6] {
      background: linear-gradient(135deg, #185493 0%, #185493 100%);
    }

    .hero-teal[b-4h88rrmyn6] {
      background: linear-gradient(135deg, #12A47C 0%, #095740 100%);
    }

    .hero-amber[b-4h88rrmyn6] {
      background: linear-gradient(135deg, #C88E1B 0%, #854F0B 100%);
    }

    .hero-coral[b-4h88rrmyn6] {
      background: linear-gradient(135deg, #D05A36 0%, #993C1D 100%);
    }

    .hero-top[b-4h88rrmyn6] {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      position: relative;
      z-index: 1;
    }

    .hero-icon[b-4h88rrmyn6] {
      width: 64px;
      height: 64px;
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      color: #fff;
      margin-bottom: 20px;
    }

    .hero-badge[b-4h88rrmyn6] {
      font-size: 12px;
      font-weight: 600;
      padding: 5px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      backdrop-filter: blur(8px);
    }

    .hero-title[b-4h88rrmyn6] {
      font-size: 30px;
      font-weight: 800;
      margin-bottom: 10px;
      line-height: 1.25;
      position: relative;
      z-index: 1;
    }

    .hero-desc[b-4h88rrmyn6] {
      font-size: 15px;
      line-height: 1.7;
      opacity: 0.8;
      max-width: 580px;
      position: relative;
      z-index: 1;
    }

    /* ══════════════════════════════════════════════
       TABS
    ══════════════════════════════════════════════ */
    .tabs-container[b-4h88rrmyn6] {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-2xl);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .tabs-header[b-4h88rrmyn6] {
      display: flex;
      border-bottom: 1px solid var(--border);
      padding: 0 8px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .tabs-header[b-4h88rrmyn6]::-webkit-scrollbar {
      display: none;
    }

    .tab-btn[b-4h88rrmyn6] {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 16px 22px;
      border: none;
      background: none;
      cursor: pointer;
      font-family: var(--font);
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-tertiary);
      white-space: nowrap;
      position: relative;
      transition: color 0.2s;
    }

    .tab-btn:hover[b-4h88rrmyn6] {
      color: var(--text-secondary);
    }

    .tab-btn .tab-icon[b-4h88rrmyn6] {
      width: 32px;
      height: 32px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      transition: all 0.2s;
    }

    /* Tab icon inactive colors */
    .tab-btn .tab-icon[b-4h88rrmyn6] {
      background: var(--bg-input);
      color: var(--text-tertiary);
    }

    .tab-btn[b-4h88rrmyn6]::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 16px;
      right: 16px;
      height: 2.5px;
      border-radius: 2px 2px 0 0;
      background: transparent;
      transition: background 0.2s;
    }

    .tab-btn.active[b-4h88rrmyn6] {
      color: var(--text-primary);
      font-weight: 600;
    }

    /* Active tab indicator & icon colors */
    .tab-btn.active[data-color="purple"][b-4h88rrmyn6]::after {
      background: var(--purple-500);
    }

    .tab-btn.active[data-color="blue"][b-4h88rrmyn6]::after {
      background: var(--blue-500);
    }

    .tab-btn.active[data-color="teal"][b-4h88rrmyn6]::after {
      background: var(--teal-500);
    }

    .tab-btn.active[data-color="amber"][b-4h88rrmyn6]::after {
      background: var(--amber-500);
    }

    .tab-btn.active[data-color="coral"][b-4h88rrmyn6]::after {
      background: var(--coral-500);
    }

    .tab-btn.active[data-color="purple"] .tab-icon[b-4h88rrmyn6] {
      background: var(--purple-50);
      color: var(--purple-600);
    }

    .tab-btn.active[data-color="blue"] .tab-icon[b-4h88rrmyn6] {
      background: var(--blue-50);
      color: var(--blue-600);
    }

    .tab-btn.active[data-color="teal"] .tab-icon[b-4h88rrmyn6] {
      background: var(--teal-50);
      color: var(--teal-600);
    }

    .tab-btn.active[data-color="amber"] .tab-icon[b-4h88rrmyn6] {
      background: var(--amber-50);
      color: var(--amber-600);
    }

    .tab-btn.active[data-color="coral"] .tab-icon[b-4h88rrmyn6] {
      background: var(--coral-50);
      color: var(--coral-600);
    }

    .tab-status[b-4h88rrmyn6] {
      font-size: 9px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 999px;
      letter-spacing: 0.02em;
    }

    .ts-active[b-4h88rrmyn6] {
      background: var(--teal-50);
      color: var(--teal-600);
    }

    .ts-inactive[b-4h88rrmyn6] {
      background: var(--bg-input);
      color: var(--text-tertiary);
    }

    /* ── Tab Content ── */
    .tab-panel[b-4h88rrmyn6] {
      display: none;
      padding: 32px;
      animation: tabFadeIn-b-4h88rrmyn6 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .tab-panel.active[b-4h88rrmyn6] {
      display: block;
    }

    @keyframes tabFadeIn-b-4h88rrmyn6 {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── Panel Header ── */
    .panel-header[b-4h88rrmyn6] {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-bottom: 24px;
    }

    .panel-icon[b-4h88rrmyn6] {
      width: 56px;
      height: 56px;
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      flex-shrink: 0;
    }

    .pi-purple[b-4h88rrmyn6] {
      background: var(--purple-50);
      color: var(--purple-600);
    }

    .pi-blue[b-4h88rrmyn6] {
      background: var(--blue-50);
      color: var(--blue-600);
    }

    .pi-teal[b-4h88rrmyn6] {
      background: var(--teal-50);
      color: var(--teal-600);
    }

    .pi-amber[b-4h88rrmyn6] {
      background: var(--amber-50);
      color: var(--amber-600);
    }

    .pi-coral[b-4h88rrmyn6] {
      background: var(--coral-50);
      color: var(--coral-600);
    }

    .panel-title-area[b-4h88rrmyn6] {
      flex: 1;
    }

    .panel-name[b-4h88rrmyn6] {
      font-size: 22px;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 3px;
    }

    .panel-tag[b-4h88rrmyn6] {
      font-size: 13px;
      color: var(--text-tertiary);
    }

    /* ── Panel Description ── */
    .panel-desc[b-4h88rrmyn6] {
      font-size: 14.5px;
      color: var(--text-secondary);
      line-height: 1.75;
      margin-bottom: 28px;
      max-width: 700px;
    }

    /* ── Panel Grid ── */
    .panel-grid[b-4h88rrmyn6] {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      margin-bottom: 28px;
    }

    /* Image Gallery */
    .panel-preview-wrap[b-4h88rrmyn6] {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      position: relative;
      aspect-ratio: 16 / 10;
      background: var(--bg-input);
    }

    .gallery-track[b-4h88rrmyn6] {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .gallery-img[b-4h88rrmyn6] {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      flex-shrink: 0;
    }

    .gallery-nav[b-4h88rrmyn6] {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 12px;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .panel-preview-wrap:hover .gallery-nav[b-4h88rrmyn6] {
      opacity: 1;
    }

    .gallery-btn[b-4h88rrmyn6] {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      pointer-events: auto;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      color: var(--text-primary);
      transition: all 0.2s;
    }

    .gallery-btn:hover[b-4h88rrmyn6] {
      background: #fff;
      transform: scale(1.08);
    }

    .gallery-dots[b-4h88rrmyn6] {
      position: absolute;
      bottom: 16px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 6px;
      z-index: 10;
    }

    .gallery-dot[b-4h88rrmyn6] {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      transition: all 0.3s;
      cursor: pointer;
    }

    .gallery-dot.active[b-4h88rrmyn6] {
      background: #fff;
      transform: scale(1.4);
    }

    .panel-preview-label[b-4h88rrmyn6] {
      position: absolute;
      top: 14px;
      left: 14px;
      font-size: 11px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(8px);
      color: #fff;
      z-index: 10;
    }

    .preview-section-label[b-4h88rrmyn6] {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--text-tertiary);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .preview-section-label .ti[b-4h88rrmyn6] {
      font-size: 14px;
    }

    /* Features */
    .features-list[b-4h88rrmyn6] {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .feat-item[b-4h88rrmyn6] {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      transition: all 0.18s;
    }

    .feat-item:hover[b-4h88rrmyn6] {
      background: var(--bg-card-hover);
      border-color: var(--border-hover);
      transform: translateX(4px);
    }

    .feat-icon[b-4h88rrmyn6] {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      flex-shrink: 0;
    }

    .fi-purple[b-4h88rrmyn6] {
      background: var(--purple-50);
      color: var(--purple-600);
    }

    .fi-blue[b-4h88rrmyn6] {
      background: var(--blue-50);
      color: var(--blue-600);
    }

    .fi-teal[b-4h88rrmyn6] {
      background: var(--teal-50);
      color: var(--teal-600);
    }

    .fi-amber[b-4h88rrmyn6] {
      background: var(--amber-50);
      color: var(--amber-600);
    }

    .fi-coral[b-4h88rrmyn6] {
      background: var(--coral-50);
      color: var(--coral-600);
    }

    .feat-info[b-4h88rrmyn6] {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .feat-name[b-4h88rrmyn6] {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
    }

    .feat-desc[b-4h88rrmyn6] {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    /* Channels */
    .channels-section[b-4h88rrmyn6] {
      margin-bottom: 28px;
    }

    .channels-grid[b-4h88rrmyn6] {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .ch-card[b-4h88rrmyn6] {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: all 0.2s;
    }

    .ch-card:hover[b-4h88rrmyn6] {
      border-color: var(--border-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .ch-icon[b-4h88rrmyn6] {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .ch-name[b-4h88rrmyn6] {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
    }

    .ch-desc[b-4h88rrmyn6] {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    .ch-badge[b-4h88rrmyn6] {
      font-size: 10px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 999px;
      width: fit-content;
    }

    /* ── Action Button ── */
    .btn-activate[b-4h88rrmyn6] {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 11px 24px;
      border-radius: var(--radius-md);
      font-size: 13.5px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      color: #fff;
      transition: all 0.2s;
      font-family: var(--font);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }

    .btn-activate:hover:not(:disabled)[b-4h88rrmyn6] {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    .btn-activate:active:not(:disabled)[b-4h88rrmyn6] {
      transform: translateY(0) scale(0.98);
    }

    .btn-activate:disabled[b-4h88rrmyn6] {
      opacity: 0.75;
      cursor: default;
      box-shadow: none;
    }

    .btn-activate .ti[b-4h88rrmyn6] {
      font-size: 17px;
    }

    .ba-purple[b-4h88rrmyn6] {
      background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    }

    .ba-blue[b-4h88rrmyn6] {
      background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    }

    .ba-teal[b-4h88rrmyn6] {
      background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    }

    .ba-amber[b-4h88rrmyn6] {
      background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    }

    .ba-coral[b-4h88rrmyn6] {
      background: linear-gradient(135deg, var(--coral-500), var(--coral-700));
    }

    /* ── Animations ── */
    @keyframes fadeInUp-b-4h88rrmyn6 {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn-b-4h88rrmyn6 {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes slideUp-b-4h88rrmyn6 {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .animate-in[b-4h88rrmyn6] {
      animation: fadeInUp-b-4h88rrmyn6 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .delay-1[b-4h88rrmyn6] {
      animation-delay: 0.08s;
    }

    .delay-2[b-4h88rrmyn6] {
      animation-delay: 0.16s;
    }

    /* ── Added modules list ── */
    .modules-section[b-4h88rrmyn6] {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .modules-empty[b-4h88rrmyn6] {
      color: var(--text-tertiary);
      font-size: 14px;
      margin: 8px 0 0;
    }

    .modules-list[b-4h88rrmyn6] {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 12px;
    }

    .module-row[b-4h88rrmyn6] {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      transition: border-color .15s, box-shadow .15s;
    }

    .module-row:hover[b-4h88rrmyn6] {
      border-color: var(--border-hover);
      box-shadow: var(--shadow-sm);
    }

    .module-row-icon[b-4h88rrmyn6] {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      font-size: 18px;
    }

    .mr-purple[b-4h88rrmyn6] { background: var(--purple-50); color: var(--purple-600); }
    .mr-blue[b-4h88rrmyn6]   { background: var(--blue-50);   color: var(--blue-600); }
    .mr-teal[b-4h88rrmyn6]   { background: var(--teal-50);   color: var(--teal-600); }
    .mr-amber[b-4h88rrmyn6]  { background: var(--amber-50);  color: var(--amber-600); }
    .mr-coral[b-4h88rrmyn6]  { background: var(--coral-50);  color: var(--coral-600); }

    .module-row-name[b-4h88rrmyn6] {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      flex: 1;
    }

    .module-row-date[b-4h88rrmyn6] {
      font-size: 12px;
      color: var(--text-tertiary);
    }

    .module-row-del[b-4h88rrmyn6] {
      background: none;
      border: none;
      color: var(--text-tertiary);
      cursor: pointer;
      font-size: 16px;
      padding: 4px;
      border-radius: 6px;
      transition: color .15s, background .15s;
    }

    .module-row-del:hover[b-4h88rrmyn6] {
      color: var(--coral-600);
      background: var(--coral-50);
    }

    /* ── Add Module pop-up ── */
    .pm-overlay[b-4h88rrmyn6] {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.55);
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: pm-fade-b-4h88rrmyn6 .18s ease;
    }

    .pm-modal[b-4h88rrmyn6] {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      width: 100%;
      max-width: 460px;
      padding: 26px;
      box-shadow: var(--shadow-lg);
      animation: pm-slide-b-4h88rrmyn6 .25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pm-head[b-4h88rrmyn6] {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 18px;
    }

    .pm-icon[b-4h88rrmyn6] {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      font-size: 22px;
    }

    .pm-title[b-4h88rrmyn6] {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
      margin: 0;
    }

    .pm-sub[b-4h88rrmyn6] {
      font-size: 13px;
      color: var(--text-tertiary);
      margin: 2px 0 0;
    }

    .pm-close[b-4h88rrmyn6] {
      margin-left: auto;
      background: none;
      border: none;
      color: var(--text-tertiary);
      font-size: 18px;
      cursor: pointer;
      padding: 4px;
      border-radius: 6px;
    }

    .pm-close:hover[b-4h88rrmyn6] {
      background: var(--bg-input);
      color: var(--text-primary);
    }

    .pm-label[b-4h88rrmyn6] {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      margin: 0 0 6px;
    }

    .pm-input[b-4h88rrmyn6] {
      width: 100%;
      box-sizing: border-box;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 10px 12px;
      font-size: 14px;
      color: var(--text-primary);
      font-family: var(--font);
    }

    .pm-input:focus[b-4h88rrmyn6] {
      outline: none;
      border-color: var(--border-hover);
    }

    .pm-actions[b-4h88rrmyn6] {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      margin-top: 24px;
    }

    .pm-cancel[b-4h88rrmyn6] {
      background: var(--bg-input);
      color: var(--text-secondary);
      border: none;
      border-radius: var(--radius-sm);
      padding: 9px 18px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: var(--font);
    }

    .pm-cancel:hover[b-4h88rrmyn6] { background: var(--border); }

    .pm-create[b-4h88rrmyn6] {
      background: var(--teal-500);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 9px 18px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: var(--font);
    }

    .pm-create:disabled[b-4h88rrmyn6] {
      opacity: .5;
      cursor: not-allowed;
    }

    @keyframes pm-fade-b-4h88rrmyn6 {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes pm-slide-b-4h88rrmyn6 {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

