/* Auto-generated from provided dashboard.txt (style blocks) */

/* CSS Variables for consistent theming */
    :root {
      --primary-color: #667eea;
      --secondary-color: #764ba2;
      --success-color: #34c759;
      --warning-color: #ff9500;
      --danger-color: #ff3b30;
      --info-color: #007aff;
      --purple-color: #af52de;
      --teal-color: #00d4aa;
      
      --text-primary: #1a202c;
      --text-secondary: #4a5568;
      --text-muted: #64748b;
      --text-light: #9ca3af;
      
      --bg-primary: #f8fafc;
      --bg-white: #ffffff;
      --bg-light: #e2e8f0;
      
      --border-color: #e5e7eb;
      --border-light: rgba(255, 255, 255, 0.2);
      
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
      --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
      
      --border-radius-sm: 8px;
      --border-radius-md: 12px;
      --border-radius-lg: 16px;
      --border-radius-xl: 20px;
      
      --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Base Styles */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--bg-primary);
      color: var(--text-primary);
    }
    
    /* Modern Dashboard Layout */
    .dashboard-container {
      background-color: var(--bg-primary);
      min-height: 100vh;
      padding: 20px;
    }
    
    /* Statistics Cards - VIP Design */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }
    
    .stat-card {
      background: linear-gradient(145deg, var(--bg-white) 0%, var(--bg-primary) 100%);
      border-radius: var(--border-radius-xl);
      padding: 32px 28px;
      box-shadow: 
        var(--shadow-lg),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
      border: 1px solid var(--border-light);
      transition: all var(--transition-slow);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }
    
    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(255, 107, 53, 0.05) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 1;
    }
    
    .stat-card::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, 
        #667eea, #764ba2, #f093fb, #f5576c, 
        #4facfe, #00f2fe, #667eea);
      background-size: 400% 400%;
      border-radius: 22px;
      z-index: -1;
      opacity: 0;
      animation: gradientShift 3s ease infinite;
      transition: opacity 0.4s ease;
    }
    
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    
    .stat-card:hover::before {
      opacity: 1;
    }
    
    .stat-card:hover::after {
      opacity: 1;
    }
    
    .stat-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    
    .stat-content {
      display: flex;
      align-items: center;
      gap: 20px;
      position: relative;
      z-index: 2;
      min-width: 0;
    }
    
    .stat-icon {
      width: 10px;
      height: 70px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
      position: relative;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    
    .stat-icon::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, 
        transparent, rgba(255, 255, 255, 0.3), transparent);
      transform: rotate(45deg);
      transition: all 0.6s ease;
      opacity: 0;
      border-radius: 50%;
    }
    
    .stat-card:hover .stat-icon::before {
      opacity: 1;
      animation: shimmer 1.5s ease-in-out;
    }
    
    .stat-card:hover .stat-icon {
      transform: scale(1.02);
      box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
    
    
    @keyframes shimmer {
      0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }
    
    .stat-info {
      flex: 1;
    }
    
    .stat-info h3 {
      margin: 0;
      font-size: clamp(16px, 3.5vw, 24px);
      font-weight: 800;
      background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.2;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      letter-spacing: -0.3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
      min-height: 1.2em;
      cursor: help;
      position: relative;
    }
    
    .stat-info h3:hover {
      white-space: normal;
      overflow: visible;
      text-overflow: unset;
      background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      z-index: 10;
    }
    
    .stat-info p {
      margin: 8px 0 0 0;
      color: #64748b;
      font-size: 15px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      opacity: 0.8;
    }
    
    /* Icon Styles - iOS Style with CSS Variables */
    .stat-icon {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
      box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.25),
        0 2px 4px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .money-icon {
      background: linear-gradient(135deg, var(--warning-color) 0%, #ff6b35 50%, #ff8c00 100%);
      box-shadow: 
        0 8px 16px rgba(255, 149, 0, 0.25),
        0 2px 4px rgba(255, 149, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .card-icon {
      background: linear-gradient(135deg, var(--success-color) 0%, #2ed573 50%, #30d158 100%);
      box-shadow: 
        0 8px 16px rgba(52, 199, 89, 0.25),
        0 2px 4px rgba(52, 199, 89, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .laptop-icon {
      background: linear-gradient(135deg, var(--purple-color) 0%, #8b5cf6 50%, #7c3aed 100%);
      box-shadow: 
        0 8px 16px rgba(175, 82, 222, 0.25),
        0 2px 4px rgba(175, 82, 222, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .wrench-icon {
      background: linear-gradient(135deg, var(--danger-color) 0%, #ff4757 50%, #ff6b6b 100%);
      box-shadow: 
        0 8px 16px rgba(255, 59, 48, 0.25),
        0 2px 4px rgba(255, 59, 48, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    /* Special styling for money cards - iOS Style Colors */
    .stat-card:nth-child(1) .stat-icon {
      background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
      box-shadow: 
        0 12px 24px rgba(255, 149, 0, 0.4),
        0 4px 8px rgba(255, 149, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .stat-card:nth-child(1):hover .stat-icon {
      box-shadow: 
        0 16px 32px rgba(255, 149, 0, 0.5),
        0 8px 16px rgba(255, 149, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .stat-card:nth-child(2):hover .stat-icon {
      box-shadow: 
        0 16px 32px rgba(52, 199, 89, 0.5),
        0 8px 16px rgba(52, 199, 89, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .stat-card:nth-child(3):hover .stat-icon {
      box-shadow: 
        0 16px 32px rgba(175, 82, 222, 0.5),
        0 8px 16px rgba(175, 82, 222, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .stat-card:nth-child(4):hover .stat-icon {
      box-shadow: 
        0 16px 32px rgba(255, 59, 48, 0.5),
        0 8px 16px rgba(255, 59, 48, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    /* Product Cards */
    .products-section {
      margin-bottom: 30px;
      padding: 20px 0;
    }
    
    .section-title {
      text-align: left;
      margin-bottom: 30px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e5e7eb;
      position: relative;
    }
    
    .section-title h3 {
      font-size: 28px;
      font-weight: 700;
      color: #374151;
      margin: 0 0 8px 0;
      position: relative;
      display: block;
    }
    
    .section-title p {
      font-size: 16px;
      color: #9ca3af;
      margin: 0 0 12px 0;
      font-weight: 400;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 60px;
      height: 3px;
      background: #8b5cf6;
      border-radius: 2px;
    }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 32px;
      padding: 20px 0;
    }
    
    .product-card {
      background: var(--bg-white);
      border-radius: var(--border-radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--bg-light);
      transition: all var(--transition-normal);
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    
    @keyframes cardGlow {
      0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 0 0 rgba(102, 126, 234, 0);
      }
      100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 0 20px rgba(102, 126, 234, 0.1);
      }
    }
    
    .product-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
      transition: left 0.6s ease;
      z-index: 1;
    }
    
    .product-card:hover::before {
      left: 100%;
    }
    
    .product-card::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, #00F5A0, #00D9F5, #007CF0, #00DFD8, #00F2FE);
      border-radius: 22px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .product-card:hover::after {
      opacity: 1;
    }
    
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .product-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .product-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
      transition: left 0.8s ease;
      z-index: 1;
    }
    
    .product-card:hover .product-image::before {
      left: 100%;
    }
    
    .product-card:hover .product-image {
      transform: scale(1.05);
      filter: brightness(1.1) contrast(1.05);
    }
    
    .product-content {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }
    
    .product-title {
      font-size: 16px;
      font-weight: 700;
      color: #009d23;
      margin: 0 0 12px 0;
      line-height: 1.4;
      text-align: left;
      min-height: 44px;
    }
    
    .product-price {
      margin-bottom: 16px;
    }
    
    .product-price font {
      font-size: 20px;
      font-weight: 800;
      color: var(--info-color);
      
      margin-bottom: 4px;
    }
    
    .product-price del {
      font-size: 14px;
      color: #9ca3af;
      font-weight: 500;
      display: block;
      margin-bottom: 4px;
    }
    
    .product-sales {
      font-size: 18px;
      color: #9ca3af;
      font-weight: 500;
      margin-bottom: 16px;
    }
    
    /* Button Styles */
    .product-button {
      width: 100%;
      padding: 16px 24px;
      background: var(--bg-primary);
      color: var(--text-primary);
      border: none;
      border-radius: var(--border-radius-xl);
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: all var(--transition-fast);
      text-transform: none;
      letter-spacing: -0.2px;
      position: relative;
      overflow: hidden;
      box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    
    .detail-buy-button {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: var(--info-color);
      color: white;
      border: none;
      border-radius: 18px;
      padding: 10px 18px;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-size: 13px;
      font-weight: 600;
      text-transform: none;
      letter-spacing: -0.1px;
      box-shadow: 
        4px 4px 8px rgba(0, 122, 255, 0.3),
        -2px -2px 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
      z-index: 5;
      white-space: nowrap;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    
    .detail-buy-button:hover {
      transform: scale(1.02);
      box-shadow: 
        6px 6px 12px rgba(0, 122, 255, 0.4),
        -3px -3px 6px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
      background: #0056cc;
    }
    
    .product-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
      border-radius: 20px;
      opacity: 0;
      transition: opacity 0.2s ease;
      z-index: 1;
    }
    
    .product-button:hover::before {
      opacity: 1;
    }
    
    .product-button:hover {
      transform: translateY(-1px);
      box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
      background: #ffffff;
    }
    
    .product-button:active {
      transform: translateY(0);
      box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      background: #f0f0f0;
    }
    
    /* Discount Badge */
    .discount-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 10;
      background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
      color: white;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
      border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Modern Label System - Discount Style */
    .product-label {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 10;
      overflow: visible;
    }
    
    .label-ribbon {
      position: relative;
      display: inline-block;
      padding: 12px 24px;
      border-radius: 25px;
      background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
      box-shadow: 
        0 6px 20px rgba(255, 71, 87, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      border: 3px solid rgba(255, 255, 255, 0.3);
      transform: rotate(-2deg);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      animation: labelPulse 2s ease-in-out infinite;
      min-width: 60px;
      min-height: 35px;
    }
    
    .label-ribbon::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(135deg, #ff4757, #ff3838, #ff6b35);
      border-radius: 22px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .label-ribbon::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 100%);
      border-radius: 20px;
      z-index: 1;
      pointer-events: none;
    }
    
    @keyframes labelPulse {
      0%, 100% { 
        transform: rotate(-2deg) scale(1);
        box-shadow: 
          0 6px 20px rgba(255, 71, 87, 0.5),
          0 3px 10px rgba(0, 0, 0, 0.15),
          inset 0 2px 0 rgba(255, 255, 255, 0.4),
          inset 0 -1px 0 rgba(0, 0, 0, 0.1);
      }
      50% { 
        transform: rotate(-2deg) scale(1.08);
        box-shadow: 
          0 8px 25px rgba(255, 71, 87, 0.7),
          0 4px 15px rgba(0, 0, 0, 0.2),
          inset 0 2px 0 rgba(255, 255, 255, 0.5),
          inset 0 -1px 0 rgba(0, 0, 0, 0.15);
      }
    }
    
    .product-card:hover .label-ribbon {
      transform: rotate(-2deg) scale(1.15);
      box-shadow: 
        0 10px 30px rgba(255, 71, 87, 0.8),
        0 5px 20px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    
    .product-card:hover .label-ribbon::before {
      opacity: 1;
    }
    
    .label-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 14px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      white-space: nowrap;
      text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(255, 255, 255, 0.4),
        0 1px 0 rgba(0, 0, 0, 0.3);
      line-height: 1;
      z-index: 2;
      margin: 0;
      padding: 0;
      text-align: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    /* Label Colors with Modern Gradients */
    .label-hot .label-ribbon {
      background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
      box-shadow: 
        0 6px 20px rgba(255, 71, 87, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-hot .label-ribbon::before {
      background: linear-gradient(135deg, #ff4757, #ff3838, #ff6b35);
    }
    
    .label-new .label-ribbon {
      background: linear-gradient(135deg, #2ed573 0%, #17a2b8 100%);
      box-shadow: 
        0 6px 20px rgba(46, 213, 115, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-new .label-ribbon::before {
      background: linear-gradient(135deg, #2ed573, #17a2b8, #20bf6b);
    }
    
    .label-free .label-ribbon {
      background: linear-gradient(135deg, #3742fa 0%, #2f3542 100%);
      box-shadow: 
        0 6px 20px rgba(55, 66, 250, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-free .label-ribbon::before {
      background: linear-gradient(135deg, #3742fa, #2f3542, #5352ed);
    }
    
    .label-vip .label-ribbon {
      background: linear-gradient(135deg, #a55eea 0%, #8b5cf6 100%);
      box-shadow: 
        0 6px 20px rgba(165, 94, 234, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-vip .label-ribbon::before {
      background: linear-gradient(135deg, #a55eea, #8b5cf6, #7c3aed);
    }
    
    .label-full .label-ribbon {
      background: linear-gradient(135deg, #ffa502 0%, #ff6348 100%);
      box-shadow: 
        0 6px 20px rgba(255, 165, 2, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-full .label-ribbon::before {
      background: linear-gradient(135deg, #ffa502, #ff6348, #ff7675);
    }
    
    .label-ai .label-ribbon {
      background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
      box-shadow: 
        0 6px 20px rgba(0, 212, 170, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .label-ai .label-ribbon::before {
      background: linear-gradient(135deg, #00d4aa, #00b894, #00a085);
    }
    
    /* Special positioning for longer text */
    .label-full .label-text {
      font-size: 10px;
      letter-spacing: 0.6px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    
    /* Handle special cases with spaces */
    .label-full-chức-năng .label-text {
      font-size: 9px;
      letter-spacing: 0.4px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    
    /* Fallback for any label not specifically styled */
    .product-label:not(.label-hot):not(.label-new):not(.label-free):not(.label-vip):not(.label-full) .label-ribbon {
      background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
      box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .product-label:not(.label-hot):not(.label-new):not(.label-free):not(.label-vip):not(.label-full) .label-ribbon::before {
      background: linear-gradient(135deg, #ff6b35, #f7931e, #ffa726);
    }
    
    /* Notification Section */
    .notification-section {
      background: white;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 40px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
      border-top: 3px solid #8b5cf6;
      position: relative;
    }
    
    .notification-section::after {
      content: '';
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      height: 1px;
      background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    }
    
    .notification-content {
      text-align: center;
    }
    
    .notification-title {
      font-size: 24px;
      font-weight: 700;
      color: #1a202c;
      margin-bottom: 20px;
    }
    
    .notification-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .notification-btn {
      padding: 16px 32px;
      border: none;
      border-radius: 20px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      text-decoration: none;
      display: inline-block;
      letter-spacing: -0.1px;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .notification-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
      transition: left 0.6s ease;
      z-index: 1;
    }
    
    .notification-btn:hover::before {
      left: 100%;
    }
    
    .notification-btn::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
      border-radius: 20px;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
    }
    
    .notification-btn:hover::after {
      opacity: 1;
    }
    
    .notification-btn.primary {
      background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.8) 0%, 
        rgba(0, 122, 255, 0.6) 50%, 
        rgba(0, 122, 255, 0.8) 100%);
      color: white;
      box-shadow: 
        0 8px 32px rgba(0, 122, 255, 0.3),
        0 4px 16px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .notification-btn.secondary {
      background: linear-gradient(135deg, 
        rgba(255, 59, 48, 0.8) 0%, 
        rgba(255, 59, 48, 0.6) 50%, 
        rgba(255, 59, 48, 0.8) 100%);
      color: white;
      box-shadow: 
        0 8px 32px rgba(255, 59, 48, 0.3),
        0 4px 16px rgba(255, 59, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .notification-btn.youtube {
      background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.9) 0%, 
        rgba(220, 0, 0, 0.8) 50%, 
        rgba(255, 0, 0, 0.9) 100%);
      color: white;
      box-shadow: 
        0 8px 32px rgba(255, 0, 0, 0.4),
        0 4px 16px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    .notification-btn:hover {
      transform: translateY(-2px) scale(1.05);
    }
    
    .notification-btn.primary:hover {
      background: linear-gradient(135deg, 
        rgba(0, 86, 204, 0.9) 0%, 
        rgba(0, 86, 204, 0.7) 50%, 
        rgba(0, 86, 204, 0.9) 100%);
      box-shadow: 
        0 12px 40px rgba(0, 122, 255, 0.4),
        0 6px 20px rgba(0, 122, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
    
    .notification-btn.secondary:hover {
      background: linear-gradient(135deg, 
        rgba(215, 0, 21, 0.9) 0%, 
        rgba(215, 0, 21, 0.7) 50%, 
        rgba(215, 0, 21, 0.9) 100%);
      box-shadow: 
        0 12px 40px rgba(255, 59, 48, 0.4),
        0 6px 20px rgba(255, 59, 48, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
    
    .notification-btn.youtube:hover {
      background: linear-gradient(135deg, 
        rgba(255, 0, 0, 1) 0%, 
        rgba(200, 0, 0, 0.9) 50%, 
        rgba(255, 0, 0, 1) 100%);
      box-shadow: 
        0 12px 40px rgba(255, 0, 0, 0.5),
        0 6px 20px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
    
    .notification-btn:active {
      transform: translateY(0) scale(1.02);
      transition: all 0.1s ease;
    }
    
    /* Alert Box */
    .alert-box {
      background: #fef2f2;
      border: 1px solid #fecaca;
      border-radius: 12px;
      padding: 16px;
      margin-top: 20px;
    }
    
    .alert-box span {
      color: #dc2626;
      font-weight: 500;
    }
    
    /* Category Filter Tabs - Glass Liquid iOS 26 Style */
    .category-tabs {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 40px;
      padding: 24px;
      background: 
        linear-gradient(135deg, 
          rgba(255, 255, 255, 0.1) 0%, 
          rgba(255, 255, 255, 0.05) 50%, 
          rgba(255, 255, 255, 0.1) 100%);
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 40px rgba(102, 126, 234, 0.1);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      position: relative;
      overflow: hidden;
    }
    
    .category-tabs::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
      transition: left 0.6s ease;
      z-index: 1;
    }
    
    .category-tabs:hover::before {
      left: 100%;
    }
    
    .category-tab {
      padding: 16px 32px;
      border: none;
      border-radius: 22px;
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      text-transform: none;
      letter-spacing: 0.2px;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      min-width: 90px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 20px rgba(255, 255, 255, 0.1);
    }
    
    .category-tab::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
      border-radius: 22px;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      z-index: 1;
    }
    
    .category-tab::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.2));
      border-radius: 24px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .category-tab:hover::before {
      opacity: 1;
    }
    
    .category-tab:hover::after {
      opacity: 1;
    }
    
    .category-tab:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 30px rgba(255, 255, 255, 0.15);
    }
    
    .category-tab.active {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.25),
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 40px rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .category-tab.active::before {
      opacity: 1;
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    }
    
    .category-tab:active {
      transform: translateY(-1px) scale(1.01);
      transition: all 0.1s ease;
    }
    
    /* Tab Colors - Glass Liquid iOS 26 Style */
    .category-tab.all {
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
      color: #1a202c;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .category-tab.all:hover {
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.25) 100%);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .category-tab.hot {
      background: linear-gradient(135deg, 
        rgba(255, 59, 48, 0.8) 0%, 
        rgba(255, 59, 48, 0.6) 50%, 
        rgba(255, 59, 48, 0.7) 100%);
      color: white;
      border: 1px solid rgba(255, 59, 48, 0.3);
      box-shadow: 
        0 8px 32px rgba(255, 59, 48, 0.25),
        0 4px 16px rgba(255, 59, 48, 0.2),
        0 2px 8px rgba(255, 59, 48, 0.1),
        0 0 0 1px rgba(255, 59, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(255, 59, 48, 0.3);
    }
    
    .category-tab.hot:hover {
      background: linear-gradient(135deg, 
        rgba(255, 59, 48, 0.9) 0%, 
        rgba(255, 59, 48, 0.7) 50%, 
        rgba(255, 59, 48, 0.8) 100%);
      border: 1px solid rgba(255, 59, 48, 0.4);
      box-shadow: 
        0 12px 40px rgba(255, 59, 48, 0.35),
        0 8px 24px rgba(255, 59, 48, 0.3),
        0 4px 12px rgba(255, 59, 48, 0.2),
        0 0 0 1px rgba(255, 59, 48, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(255, 59, 48, 0.4);
    }
    
    .category-tab.new {
      background: linear-gradient(135deg, 
        rgba(52, 199, 89, 0.8) 0%, 
        rgba(52, 199, 89, 0.6) 50%, 
        rgba(52, 199, 89, 0.7) 100%);
      color: white;
      border: 1px solid rgba(52, 199, 89, 0.3);
      box-shadow: 
        0 8px 32px rgba(52, 199, 89, 0.25),
        0 4px 16px rgba(52, 199, 89, 0.2),
        0 2px 8px rgba(52, 199, 89, 0.1),
        0 0 0 1px rgba(52, 199, 89, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(52, 199, 89, 0.3);
    }
    
    .category-tab.new:hover {
      background: linear-gradient(135deg, 
        rgba(52, 199, 89, 0.9) 0%, 
        rgba(52, 199, 89, 0.7) 50%, 
        rgba(52, 199, 89, 0.8) 100%);
      border: 1px solid rgba(52, 199, 89, 0.4);
      box-shadow: 
        0 12px 40px rgba(52, 199, 89, 0.35),
        0 8px 24px rgba(52, 199, 89, 0.3),
        0 4px 12px rgba(52, 199, 89, 0.2),
        0 0 0 1px rgba(52, 199, 89, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(52, 199, 89, 0.4);
    }
    
    .category-tab.free {
      background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.8) 0%, 
        rgba(0, 122, 255, 0.6) 50%, 
        rgba(0, 122, 255, 0.7) 100%);
      color: white;
      border: 1px solid rgba(0, 122, 255, 0.3);
      box-shadow: 
        0 8px 32px rgba(0, 122, 255, 0.25),
        0 4px 16px rgba(0, 122, 255, 0.2),
        0 2px 8px rgba(0, 122, 255, 0.1),
        0 0 0 1px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(0, 122, 255, 0.3);
    }
    
    .category-tab.free:hover {
      background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.9) 0%, 
        rgba(0, 122, 255, 0.7) 50%, 
        rgba(0, 122, 255, 0.8) 100%);
      border: 1px solid rgba(0, 122, 255, 0.4);
      box-shadow: 
        0 12px 40px rgba(0, 122, 255, 0.35),
        0 8px 24px rgba(0, 122, 255, 0.3),
        0 4px 12px rgba(0, 122, 255, 0.2),
        0 0 0 1px rgba(0, 122, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(0, 122, 255, 0.4);
    }
    
    .category-tab.vip {
      background: linear-gradient(135deg, 
        rgba(175, 82, 222, 0.8) 0%, 
        rgba(175, 82, 222, 0.6) 50%, 
        rgba(175, 82, 222, 0.7) 100%);
      color: white;
      border: 1px solid rgba(175, 82, 222, 0.3);
      box-shadow: 
        0 8px 32px rgba(175, 82, 222, 0.25),
        0 4px 16px rgba(175, 82, 222, 0.2),
        0 2px 8px rgba(175, 82, 222, 0.1),
        0 0 0 1px rgba(175, 82, 222, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(175, 82, 222, 0.3);
    }
    
    .category-tab.vip:hover {
      background: linear-gradient(135deg, 
        rgba(175, 82, 222, 0.9) 0%, 
        rgba(175, 82, 222, 0.7) 50%, 
        rgba(175, 82, 222, 0.8) 100%);
      border: 1px solid rgba(175, 82, 222, 0.4);
      box-shadow: 
        0 12px 40px rgba(175, 82, 222, 0.35),
        0 8px 24px rgba(175, 82, 222, 0.3),
        0 4px 12px rgba(175, 82, 222, 0.2),
        0 0 0 1px rgba(175, 82, 222, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(175, 82, 222, 0.4);
    }
    
    .category-tab.full {
      background: linear-gradient(135deg, 
        rgba(255, 149, 0, 0.8) 0%, 
        rgba(255, 149, 0, 0.6) 50%, 
        rgba(255, 149, 0, 0.7) 100%);
      color: white;
      border: 1px solid rgba(255, 149, 0, 0.3);
      box-shadow: 
        0 8px 32px rgba(255, 149, 0, 0.25),
        0 4px 16px rgba(255, 149, 0, 0.2),
        0 2px 8px rgba(255, 149, 0, 0.1),
        0 0 0 1px rgba(255, 149, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(255, 149, 0, 0.3);
    }
    
    .category-tab.full:hover {
      background: linear-gradient(135deg, 
        rgba(255, 149, 0, 0.9) 0%, 
        rgba(255, 149, 0, 0.7) 50%, 
        rgba(255, 149, 0, 0.8) 100%);
      border: 1px solid rgba(255, 149, 0, 0.4);
      box-shadow: 
        0 12px 40px rgba(255, 149, 0, 0.35),
        0 8px 24px rgba(255, 149, 0, 0.3),
        0 4px 12px rgba(255, 149, 0, 0.2),
        0 0 0 1px rgba(255, 149, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(255, 149, 0, 0.4);
    }
    
    .category-tab.ai {
      background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.8) 0%, 
        rgba(0, 212, 170, 0.6) 50%, 
        rgba(0, 212, 170, 0.7) 100%);
      color: white;
      border: 1px solid rgba(0, 212, 170, 0.3);
      box-shadow: 
        0 8px 32px rgba(0, 212, 170, 0.25),
        0 4px 16px rgba(0, 212, 170, 0.2),
        0 2px 8px rgba(0, 212, 170, 0.1),
        0 0 0 1px rgba(0, 212, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 25px rgba(0, 212, 170, 0.3);
    }
    
    .category-tab.ai:hover {
      background: linear-gradient(135deg, 
        rgba(0, 212, 170, 0.9) 0%, 
        rgba(0, 212, 170, 0.7) 50%, 
        rgba(0, 212, 170, 0.8) 100%);
      border: 1px solid rgba(0, 212, 170, 0.4);
      box-shadow: 
        0 12px 40px rgba(0, 212, 170, 0.35),
        0 8px 24px rgba(0, 212, 170, 0.3),
        0 4px 12px rgba(0, 212, 170, 0.2),
        0 0 0 1px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 0 35px rgba(0, 212, 170, 0.4);
    }
    
    /* Hidden products */
    .product-card.hidden {
      display: none;
    }
    
    /* Highlight selected category products */
    .product-card.highlighted {
      transform: scale(1.05);
      box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(102, 126, 234, 0.3);
      border: 2px solid rgba(102, 126, 234, 0.5);
      animation: highlightPulse 2s ease-in-out infinite;
    }
    
    @keyframes highlightPulse {
      0%, 100% { 
        box-shadow: 
          0 12px 30px rgba(0, 0, 0, 0.2),
          0 0 30px rgba(102, 126, 234, 0.3);
      }
      50% { 
        box-shadow: 
          0 16px 40px rgba(0, 0, 0, 0.25),
          0 0 40px rgba(102, 126, 234, 0.5);
      }
    }
    
    /* Category Section Title */
    .category-section-title {
      text-align: center;
      margin-bottom: 30px;
      padding: 20px 0;
      position: relative;
    }
    
    .category-section-title h3 {
      font-size: 32px;
      font-weight: 800;
      background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin: 0;
      position: relative;
      display: inline-block;
      min-height: 1.2em;
    }
    
    /* Typing animation cursor */
    .category-section-title h3::after {
      content: '|';
      color: #667eea;
      font-weight: 300;
      animation: blink 1s infinite;
      margin-left: 2px;
      text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    
    .category-section-title h3.typing-complete::after {
      animation: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    /* Typing animation effects */
    .category-section-title h3.typing {
      animation: textGlow 0.1s ease-in-out;
    }
    
    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }
    
    @keyframes textGlow {
      0% { 
        text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        transform: scale(1);
      }
      50% { 
        text-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
        transform: scale(1.02);
      }
      100% { 
        text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        transform: scale(1);
      }
    }
    
    /* Password typing animation styles */
    .password-typing {
      position: relative;
      display: inline-block;
    }
    
    .password-typing::after {
      content: '|';
      color: #ff3b30;
      font-weight: 300;
      animation: passwordBlink 1s infinite;
      margin-left: 2px;
      text-shadow: 0 0 10px rgba(255, 59, 48, 0.8);
    }
    
    .password-typing.typing-complete::after {
      animation: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .password-typing.typing {
      animation: passwordGlow 0.1s ease-in-out;
    }
    
    @keyframes passwordBlink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }
    
    @keyframes passwordGlow {
      0% { 
        text-shadow: 0 0 5px rgba(255, 59, 48, 0.5);
        transform: scale(1);
      }
      50% { 
        text-shadow: 0 0 15px rgba(255, 59, 48, 0.8);
        transform: scale(1.02);
      }
      100% { 
        text-shadow: 0 0 5px rgba(255, 59, 48, 0.5);
        transform: scale(1);
      }
    }
    
    .category-section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, #667eea, #764ba2);
      border-radius: 2px;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
      .dashboard-container {
        padding: 16px;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
      }
      
      .stat-card {
        padding: 24px 20px;
        border-radius: 16px;
      }
      
      .stat-content {
        gap: 16px;
      }
      
      .stat-icon {
        width: 10px;
        height: 60px;
        border-radius: 13px;
      }
      
      
      .stat-info h3 {
        font-size: clamp(14px, 4vw, 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
      }
      
      .stat-info p {
        font-size: 13px;
      }
      
      .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px 0;
      }
      
      .product-card {
        border-radius: 16px;
      }
      
      .product-image {
        height: 180px;
        border-radius: 16px 16px 0 0;
      }
      
      .product-content {
        padding: 16px;
      }
      
      .product-title {
        font-size: 15px;
        min-height: 44px;
      }
      
      .product-price {
        margin-bottom: 12px;
      }
      
      .product-price font {
        font-size: 18px;
      }
      
      .product-sales {
        font-size: 11px;
        margin-bottom: 12px;
      }
      
      .product-button {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 16px;
      }
      
      .detail-buy-button {
        bottom: 16px;
        right: 16px;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 14px;
      }
      
      .discount-badge {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 10px;
      }
      
      .product-label {
        top: 8px;
        left: 8px;
      }
      
      .label-ribbon {
        padding: 10px 18px;
        border-radius: 20px;
        transform: rotate(-1deg);
        min-width: 50px;
        min-height: 30px;
      }
      
      .label-text {
        font-size: 12px;
        letter-spacing: 1px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      
      .label-full .label-text {
        font-size: 11px;
        letter-spacing: 0.8px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      
      .label-full-chức-năng .label-text {
        font-size: 10px;
        letter-spacing: 0.6px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      
      .products-section {
        margin-bottom: 40px;
        padding: 20px 0;
      }
      
      .section-title {
        padding-bottom: 15px;
        margin-bottom: 25px;
      }
      
      .section-title h3 {
        font-size: 24px;
      }
      
      .section-title p {
        font-size: 14px;
      }
      
      .notification-buttons {
        flex-direction: column;
        align-items: center;
      }
      
      .notification-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 14px;
        border-radius: 18px;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
      }
      
      .category-tabs {
        gap: 12px;
        padding: 20px 16px;
        margin-bottom: 30px;
        border-radius: 20px;
      }
      
      .category-tab {
        padding: 14px 24px;
        font-size: 13px;
        min-width: 75px;
        border-radius: 18px;
        font-weight: 600;
      }
      
      .category-section-title h3 {
        font-size: 24px;
      }
    }
    
    @media (max-width: 480px) {
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      
      .stat-card {
        padding: 20px 16px;
      }
      
      .stat-content {
        gap: 12px;
      }
      
      .stat-icon {
        width: 10px;
        height: 50px;
        border-radius: 11px;
      }
      
      
      .stat-info h3 {
        font-size: clamp(12px, 5vw, 16px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
      }
      
      .products-section {
        margin-bottom: 30px;
        padding: 15px 0;
      }
      
      .section-title {
        padding-bottom: 12px;
        margin-bottom: 20px;
      }
      
      .section-title h3 {
        font-size: 20px;
      }
      
      .section-title p {
        font-size: 13px;
      }
      
      .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      
      .product-card:hover {
        transform: translateY(-4px) scale(1.01);
      }
      
      .category-tabs {
        gap: 8px;
        padding: 16px 12px;
        margin-bottom: 25px;
        border-radius: 18px;
      }
      
      .category-tab {
        padding: 12px 20px;
        font-size: 12px;
        min-width: 65px;
        border-radius: 16px;
        font-weight: 600;
      }
      
      .category-section-title h3 {
        font-size: 20px;
      }
    }
    
    /* Background overlay */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      display: none; /* Initially hidden */
    }
    /* Popup container */
    .popup-content {
      position: relative;
      background-color: #fff;
      border-radius: 10px;
      padding: 3px; /* Reduced padding for thinner border */
      box-shadow: 5 5px 15px rgba(0, 0, 0, 0.3);
      width: 90%; /* Set width to 90% of the screen */
      max-width: 800px; /* Maximum width for larger screens */
      text-align: center;
    }
    /* Image inside the popup */
    .popup-content img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
    /* Close button */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 32px;
      height: 32px;
      background: #ff3b30;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 
        4px 4px 8px rgba(255, 59, 48, 0.3),
        -2px -2px 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
      transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .close-btn:hover {
      background: #d70015;
      transform: scale(1.05);
      box-shadow: 
        6px 6px 12px rgba(255, 59, 48, 0.4),
        -3px -3px 6px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    .close-btn:before,
    .close-btn:after {
      content: '';
      position: absolute;
      width: 16px;
      height: 2px;
      background-color: white;
      transform: rotate(45deg);
      transition: all 0.3s ease;
    }
    .close-btn:after {
      transform: rotate(-45deg);
    }
    .close-btn:hover:before,
    .close-btn:hover:after {
      background-color: #fff;
    }

/* ---- style block ---- */

/* Xóa hoàn toàn viền header-dashboard */
.header-dashboard {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.header-dashboard * {
    border: none !important;
    outline: none !important;
}
/* Modern Navbar Styling - Lớn hơn và đẹp hơn */
.modern-navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid rgba(102, 126, 234, 0.1) !important;
    padding: 25px 40px !important;
    margin: 15px auto 70px 10px !important;
    max-width: 1550px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: visible !important;
    min-height: 80px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 100 !important;
}

.modern-navbar:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-4px) scale(1.01) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}



.modern-navbar > * {
    position: relative;
    z-index: 2;
}

.modern-navbar .dropdown {
    position: relative !important;
    z-index: 1000 !important;
}

.modern-navbar .popup-wrap {
    position: relative !important;
    z-index: 1001 !important;
}

/* Logo styling - Lớn hơn và đẹp hơn */
.modern-navbar .header-left h3 {
    margin: 0 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3) !important;
    letter-spacing: -0.5px !important;
}

.modern-navbar .header-left h3:hover {
    transform: scale(1.15) rotate(2deg) !important;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.4)) !important;
}

/* Button show/hide styling - Đẹp hơn */
.modern-navbar .button-show-hide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 2px solid rgba(102, 126, 234, 0.1) !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-navbar .button-show-hide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.modern-navbar .button-show-hide:hover::before {
    left: 100%;
}

.modern-navbar .button-show-hide:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.modern-navbar .button-show-hide i {
    color: #6c757d !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.modern-navbar .button-show-hide:hover i {
    color: white !important;
    transform: rotate(180deg) !important;
}

/* User dropdown styling - Xóa bo viền */
.modern-navbar .popup-wrap {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
    min-width: auto !important;
    z-index: 1001 !important;
}

.modern-navbar .popup-wrap:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.modern-navbar .btn {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 1001 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.modern-navbar .header-user {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.modern-navbar .header-user .image {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)) !important;
    padding: 3px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 
        0 0 0 1px rgba(102, 126, 234, 0.2),
        0 2px 8px rgba(102, 126, 234, 0.15) !important;
}





.modern-navbar .header-user .image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modern-navbar .header-user .image .avatar-image {
    width: 70% !important;
    height: 70% !important;
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.8) !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: absolute !important;
    z-index: 1 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: white !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 
        0 0 0 2px rgba(102, 126, 234, 0.2),
        0 4px 12px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.modern-navbar .header-user .image .dragon-overlay {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    position: absolute !important;
    z-index: 2 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    filter: drop-shadow(0 4px 15px rgba(102, 126, 234, 0.5)) drop-shadow(0 2px 8px rgba(118, 75, 162, 0.3)) !important;
}

.modern-navbar .header-user:hover .image {
    transform: scale(1.05) !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2)) !important;
    box-shadow: 
        0 0 0 2px rgba(102, 126, 234, 0.4),
        0 4px 16px rgba(102, 126, 234, 0.3),
        0 2px 8px rgba(118, 75, 162, 0.2) !important;
}


.modern-navbar .header-user:hover .image .avatar-image {
    transform: translate(-50%, -50%) scale(1.05) !important;
    filter: brightness(1.1) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.4),
        0 6px 20px rgba(102, 126, 234, 0.5),
        0 2px 8px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Responsive hover effects */
@media (max-width: 768px) {
    .modern-navbar .header-user:hover .image .avatar-image {
        transform: translate(-50%, -50%) scale(1.03) !important;
    }
}

@media (max-width: 480px) {
    .modern-navbar .header-user:hover .image .avatar-image {
        transform: translate(-50%, -50%) scale(1.02) !important;
    }
}

.modern-navbar .header-user:hover .image .dragon-overlay {
    filter: drop-shadow(0 6px 20px rgba(102, 126, 234, 0.7)) drop-shadow(0 4px 12px rgba(118, 75, 162, 0.5)) brightness(1.2) !important;
}

.modern-navbar .body-title {
    color: #495057 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.modern-navbar .popup-wrap:hover .body-title {
    color: #495057 !important;
    text-shadow: none !important;
}

.modern-navbar .text-tiny {
    color: #6c757d !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.modern-navbar .popup-wrap:hover .text-tiny {
    color: #6c757d !important;
}

/* Dropdown menu styling - Hiện đại và sang trọng */
.modern-navbar .dropdown-menu {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 16px !important;
    margin-top: 12px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    position: absolute !important;
    z-index: 9999 !important;
    min-width: 240px !important;
    display: none !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateY(0) !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    pointer-events: auto !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modern-navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modern-navbar .dropdown-menu.show {
    display: block !important;
    animation: luxurySlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@keyframes luxurySlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Đảm bảo dropdown không bị che bởi các element khác */
.modern-navbar .dropdown-menu {
    pointer-events: auto !important;
    will-change: transform, opacity !important;
}

/* Tạo container cho dropdown để tránh bị clip */
.modern-navbar .popup-wrap {
    contain: layout style !important;
}

/* Đảm bảo body và các container không che dropdown */
body {
    overflow-x: hidden !important;
}

/* Đảm bảo dropdown hiển thị trên tất cả các element */
.modern-navbar .dropdown-menu {
    isolation: isolate !important;
    transform: translateZ(0) !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-navbar .dropdown-menu .user-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 20px !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #495057 !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.modern-navbar .dropdown-menu .user-item:last-child {
    margin-bottom: 0 !important;
}

.modern-navbar .dropdown-menu .user-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.modern-navbar .dropdown-menu .user-item:hover::before {
    left: 100%;
}

.modern-navbar .dropdown-menu .user-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%) !important;
    color: #667eea !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}

.modern-navbar .dropdown-menu .user-item .icon {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6c757d !important;
    background: rgba(102, 126, 234, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.modern-navbar .dropdown-menu .user-item:hover .icon {
    color: #667eea !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

/* Responsive design - Tối ưu cho mobile */
@media (max-width: 768px) {
    .modern-navbar {
        margin: 10px !important;
        padding: 15px 20px !important;
        border-radius: 16px !important;
        min-height: 70px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .modern-navbar .header-left {
        flex: 1 !important;
        min-width: 0 !important;
        gap: 8px !important;
    }
    
    .modern-navbar .search-box {
        max-width: 200px !important;
        margin: 0 10px !important;
        flex-shrink: 1 !important;
    }
    
    .modern-navbar .header-left h3 {
        font-size: 24px !important;
        white-space: nowrap !important;
    }
    
    .modern-navbar .button-show-hide {
        padding: 8px 12px !important;
        flex-shrink: 0 !important;
    }
    
    .modern-navbar .popup-wrap {
        padding: 0 !important;
        min-width: auto !important;
        flex-shrink: 0 !important;
    }
    
    .modern-navbar .header-user {
        gap: 8px !important;
        max-width: 150px !important;
    }
    
    .modern-navbar .header-user .image {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0 !important;
    }
    
    .modern-navbar .header-user .image .avatar-image {
        width: 70% !important;
        height: 70% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .modern-navbar .header-user .image .dragon-overlay {
        width: 100% !important;
        height: 100% !important;
    }
    
    .modern-navbar .header-user .flex {
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .modern-navbar .body-title {
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 80px !important;
    }
    
    .modern-navbar .text-tiny {
        font-size: 11px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 80px !important;
    }
    
    .modern-navbar .dropdown-menu {
        min-width: 180px !important;
        padding: 12px !important;
        right: 0 !important;
        left: auto !important;
    }
    
    .modern-navbar .dropdown-menu .user-item {
        padding: 12px 16px !important;
        gap: 12px !important;
    }
    
    .modern-navbar .dropdown-menu .user-item .icon {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Responsive cho màn hình rất nhỏ */
@media (max-width: 480px) {
    .modern-navbar {
        padding: 12px 15px !important;
        gap: 8px !important;
    }
    
    .modern-navbar .search-box {
        max-width: 150px !important;
        margin: 0 8px !important;
    }
    
    .modern-navbar .header-left h3 {
        font-size: 20px !important;
    }
    
    .modern-navbar .button-show-hide {
        padding: 6px 10px !important;
    }
    
    .modern-navbar .header-user {
        max-width: 120px !important;
        gap: 6px !important;
    }
    
    .modern-navbar .header-user .image {
        width: 45px !important;
        height: 45px !important;
    }
    
    .modern-navbar .header-user .image .avatar-image {
        width: 70% !important;
        height: 70% !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .modern-navbar .header-user .image .dragon-overlay {
        width: 100% !important;
        height: 100% !important;
    }
    
    .modern-navbar .body-title {
        font-size: 12px !important;
        max-width: 60px !important;
    }
    
    .modern-navbar .text-tiny {
        font-size: 10px !important;
        max-width: 60px !important;
    }
    
    .modern-navbar .dropdown-menu {
        min-width: 160px !important;
        right: -10px !important;
    }
}

/* ✅ CSS cho thanh tìm kiếm đẹp mắt */
.search-box {
    flex: 1;
    max-width: 350px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    font-size: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-box input:focus {
    border-color: #007bff;
    background: white;
    box-shadow: 0 4px 20px rgba(0,123,255,0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    right: 15px;
    color: #6c757d;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-box input:focus + .search-icon {
    color: #007bff;
}

#searchResults {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    box-shadow: 
        0 0 0 0.5px rgba(0, 0, 0, 0.04),
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: none;
    z-index: 999;
    font-size: 14px;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: translateY(-8px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    position: relative;
    background: transparent;
    gap: 16px;
    min-height: 80px;
}

.search-item:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

.search-item:first-child {
    border-radius: 20px 20px 0 0;
}

.search-item:hover {
    background: rgba(0, 122, 255, 0.08);
    transform: none;
}

.search-item:active {
    background: rgba(0, 122, 255, 0.12);
    transform: scale(0.98);
}

.search-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.search-item:hover img {
    transform: scale(1.02);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-item .product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 4px;
}

.search-item .product-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.022em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-item .product-price {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: white;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: none;
}


/* iOS-style animations cho kết quả tìm kiếm */
@keyframes iosSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
        filter: blur(4px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-4px) scale(0.98);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes iosFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#searchResults.show {
    display: block;
    animation: iosSlideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0) scale(1);
    opacity: 1;
}

.search-item.animate-in {
    animation: iosFadeInUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Responsive cho search box */
@media (max-width: 768px) {
    .search-box {
        max-width: 200px;
        margin: 0 10px;
        flex-shrink: 1;
    }
    
    .search-box input {
        padding: 8px 35px 8px 12px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .search-icon {
        right: 12px;
        font-size: 14px;
    }
    
    #searchResults {
        width: calc(100vw - 40px);
        left: -10px;
        max-width: none;
        top: 50px;
    }
    
    .search-item {
        padding: 14px 16px;
        gap: 14px;
        min-height: 70px;
    }
    
    .search-item img {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .search-item .product-title {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .search-item .product-price {
        font-size: 13px;
        padding: 5px 10px;
        border-radius: 10px;
    }
    
}

@media (max-width: 480px) {
    .search-box {
        max-width: 150px;
        margin: 0 8px;
    }
    
    .search-box input {
        padding: 6px 30px 6px 10px;
        font-size: 12px;
        border-radius: 18px;
    }
    
    .search-icon {
        right: 10px;
        font-size: 12px;
    }
    
    #searchResults {
        width: calc(100vw - 20px);
        left: -5px;
        top: 45px;
    }
    
    .search-item {
        padding: 12px 14px;
        gap: 12px;
        min-height: 65px;
    }
    
    .search-item img {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .search-item .product-title {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .search-item .product-price {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 8px;
    }
    
}

/* ---- style block ---- */

/* Modern Login Required Popup */
        .login-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .login-popup-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        .login-popup-container {
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 24px;
            padding: 0;
            box-shadow: 
                0 32px 64px rgba(0, 0, 0, 0.2),
                0 16px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 480px;
            width: 90%;
            transform: scale(0.8) translateY(20px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .login-popup-overlay.show .login-popup-container {
            transform: scale(1) translateY(0);
        }
        
        .login-popup-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
            background-size: 400% 400%;
            animation: gradientShift 3s ease infinite;
        }
        
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        .login-popup-header {
            padding: 32px 32px 0 32px;
            text-align: center;
            position: relative;
        }
        
        .login-popup-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 24px auto;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            box-shadow: 
                0 16px 32px rgba(255, 107, 53, 0.4),
                0 8px 16px rgba(255, 107, 53, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .login-popup-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, 
                transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: rotate(45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }
        
        .login-popup-overlay.show .login-popup-icon::before {
            opacity: 1;
            animation: shimmer 1.5s ease-in-out;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }
        
        .login-popup-title {
            font-size: 28px;
            font-weight: 800;
            color: #1a202c;
            margin: 0 0 12px 0;
            line-height: 1.2;
            background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .login-popup-subtitle {
            font-size: 16px;
            color: #64748b;
            margin: 0 0 32px 0;
            font-weight: 500;
            line-height: 1.5;
        }
        
        .login-popup-content {
            padding: 0 32px 32px 32px;
        }
        
        .login-popup-message {
            background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
            border: none;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 24px;
            position: relative;
        }
        
        .login-popup-message::before {
            display: none;
        }
        
        .login-popup-message-text {
            color: #dc2626;
            font-size: 16px;
            font-weight: 600;
            text-align: center;
            margin: 0;
            line-height: 1.5;
        }
        
        .login-popup-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
        }
        
        .login-popup-btn {
            padding: 16px 32px;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
            min-width: 140px;
            justify-content: center;
        }
        
        .login-popup-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
            z-index: 1;
        }
        
        .login-popup-btn:hover::before {
            left: 100%;
        }
        
        .login-popup-btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }
        
        .login-popup-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
            background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
        }
        
        .login-popup-btn-secondary {
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            color: #475569;
            border: 2px solid #e2e8f0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .login-popup-btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
            border-color: #cbd5e1;
        }
        
        .login-popup-btn:active {
            transform: translateY(0);
        }
        
        .login-popup-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #64748b;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }
        
        .login-popup-close:hover {
            background: rgba(255, 255, 255, 1);
            color: #dc2626;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }
        
        .login-popup-close::before,
        .login-popup-close::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 2px;
            background: currentColor;
            transform: rotate(45deg);
            transition: all 0.3s ease;
        }
        
        .login-popup-close::after {
            transform: rotate(-45deg);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .login-popup-container {
                width: 95%;
                max-width: none;
                border-radius: 20px;
            }
            
            .login-popup-header {
                padding: 24px 24px 0 24px;
            }
            
            .login-popup-content {
                padding: 0 24px 24px 24px;
            }
            
            .login-popup-icon {
                width: 60px;
                height: 60px;
                font-size: 28px;
                margin-bottom: 20px;
            }
            
            .login-popup-title {
                font-size: 24px;
            }
            
            .login-popup-subtitle {
                font-size: 14px;
                margin-bottom: 24px;
            }
            
            .login-popup-actions {
                flex-direction: column;
                gap: 12px;
            }
            
            .login-popup-btn {
                width: 100%;
                padding: 14px 24px;
                font-size: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .login-popup-container {
                width: 98%;
                border-radius: 16px;
            }
            
            .login-popup-header {
                padding: 20px 20px 0 20px;
            }
            
            .login-popup-content {
                padding: 0 20px 20px 20px;
            }
            
            .login-popup-icon {
                width: 50px;
                height: 50px;
                font-size: 24px;
                margin-bottom: 16px;
            }
            
            .login-popup-title {
                font-size: 20px;
            }
            
            .login-popup-subtitle {
                font-size: 13px;
                margin-bottom: 20px;
            }
            
            .login-popup-message {
                padding: 16px;
                margin-bottom: 20px;
            }
            
            .login-popup-message-text {
                font-size: 14px;
            }
        }

/* ---- style block ---- */

/* Popup notification container - Compact & Glassmorphism */
.purchase-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 280px;
    max-width: calc(100vw - 60px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 99999;
    transform: translateX(100%) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: none;
    pointer-events: none;
}

.purchase-notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
    display: block;
    pointer-events: auto;
}

.purchase-notification.hide {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

/* Đảm bảo popup không ảnh hưởng đến layout chính */
.purchase-notification {
    isolation: isolate;
    contain: layout style paint;
    will-change: transform, opacity;
}

/* Đảm bảo body không bị ảnh hưởng */
body {
    overflow-x: hidden;
}

/* Đảm bảo các element khác không bị ảnh hưởng */
#wrapper, .layout-wrap, .section-content-right, .main-content {
    position: relative;
    z-index: auto;
}

/* Đảm bảo popup không ảnh hưởng đến scroll */
html, body {
    overflow-x: hidden;
    position: relative;
}

/* Đảm bảo popup luôn ở trên cùng */
.purchase-notification {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 30px !important;
    bottom: 30px !important;
    transform-origin: right bottom;
}

/* Notification content - Compact layout (chỉ cho popup) */
.purchase-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    position: relative;
}

/* User avatar - Compact size (chỉ cho popup) */
.purchase-notification .user-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    padding: 3px;
    box-shadow: 
        0 0 0 1px rgba(102, 126, 234, 0.3),
        0 4px 12px rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-notification .user-avatar .avatar-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 
        0 0 0 2px rgba(102, 126, 234, 0.3),
        0 2px 8px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.purchase-notification .user-avatar .dragon-overlay {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 3px 12px rgba(102, 126, 234, 0.6)) drop-shadow(0 2px 6px rgba(118, 75, 162, 0.4));
}

/* Notification text - Compact (chỉ cho popup) */
.purchase-notification .notification-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.purchase-notification .username {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.purchase-notification .purchase-action {
    font-size: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
}

.purchase-notification .tool-name {
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Close button - Compact (chỉ cho popup) */
.purchase-notification .notification-close {
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.purchase-notification .notification-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #1a202c;
    transform: scale(1.1);
}

/* Animation keyframes */
@keyframes slideInRight {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(-10px) scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


/* Responsive design - Compact */
@media (max-width: 768px) {
    .purchase-notification {
        bottom: 20px !important;
        right: 20px !important;
        left: 20px !important;
        width: auto;
        max-width: none;
        position: fixed !important;
    }
    
    .purchase-notification .notification-content {
        padding: 14px;
        gap: 10px;
    }
    
    .purchase-notification .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .purchase-notification .user-avatar .avatar-image {
        width: 39px;
        height: 39px;
    }
    
    .purchase-notification .user-avatar .dragon-overlay {
        width: 45px;
        height: 45px;
    }
    
    .purchase-notification .username {
        font-size: 15px;
    }
    
    .purchase-notification .purchase-action {
        font-size: 11px;
    }
    
    .purchase-notification .tool-name {
        font-size: 12px;
    }
    
    .purchase-notification .notification-close {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .purchase-notification {
        bottom: 15px !important;
        right: 15px !important;
        left: 15px !important;
        position: fixed !important;
    }
    
    .purchase-notification .notification-content {
        padding: 12px;
        gap: 8px;
    }
    
    .purchase-notification .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .purchase-notification .user-avatar .avatar-image {
        width: 34px;
        height: 34px;
    }
    
    .purchase-notification .user-avatar .dragon-overlay {
        width: 40px;
        height: 40px;
    }
    
    .purchase-notification .username {
        font-size: 14px;
    }
    
    .purchase-notification .purchase-action {
        font-size: 10px;
    }
    
    .purchase-notification .tool-name {
        font-size: 11px;
    }
    
    .purchase-notification .notification-close {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* ===== Stats row giống ảnh ===== */
.stats-row{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 10px 0 20px;
}

.stat-box{
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(16,24,40,.10);
  padding: 18px 20px;
  min-height: 90px;
  overflow: hidden;
}

.stat-bar{
  position:absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 64px;
  border-radius: 999px;
  background: #999;
}

.stat-body{
  padding-left: 34px; /* chừa chỗ cho thanh màu */
}

.stat-number{
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .2px;
  color: #0f172a;
}

.stat-label{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  color: #667085;
  text-transform: uppercase;
}

/* màu thanh dọc */
.stat-orange .stat-bar{ background: linear-gradient(180deg,#ffb020,#ff6a00); }
.stat-green  .stat-bar{ background: linear-gradient(180deg,#22c55e,#16a34a); }
.stat-purple .stat-bar{ background: linear-gradient(180deg,#a855f7,#7c3aed); }
.stat-red    .stat-bar{ background: linear-gradient(180deg,#ff4d4d,#ff1f1f); }

/* responsive */
@media (max-width: 1100px){
  .stats-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .stats-row{ grid-template-columns: 1fr; }
}
