
        /* CSS Variables for Design System */
        :root {
            --background: hsl(248, 50%, 97%);
            --foreground: hsl(216, 14%, 11%);
            --card: hsl(255, 255, 255);
            --card-foreground: hsl(216, 14%, 11%);
            --primary: hsl(244, 63%, 61%);
            --primary-foreground: hsl(255, 255, 255);
            --primary-glow: hsl(244, 63%, 69%);
            --secondary: hsl(244, 50%, 96%);
            --secondary-foreground: hsl(244, 63%, 25%);
            --muted: hsl(244, 50%, 96%);
            --muted-foreground: hsl(244, 12%, 46%);
            --accent: hsl(244, 50%, 96%);
            --accent-foreground: hsl(244, 63%, 25%);
            --destructive: hsl(0, 84%, 60%);
            --destructive-foreground: hsl(255, 255, 255);
            --success: hsl(142, 71%, 45%);
            --success-foreground: hsl(255, 255, 255);
            --border: hsl(244, 32%, 92%);
            --input: hsl(244, 32%, 92%);
            --ring: hsl(244, 63%, 61%);
            --radius: 0.5rem;
            
            /* Gradients */
            --gradient-primary: linear-gradient(135deg, hsl(244, 63%, 61%), hsl(244, 63%, 69%));
            --gradient-card: linear-gradient(135deg, hsl(255, 255, 255), hsl(248, 250, 252));
            --gradient-success: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(142, 71%, 55%));
            
            /* Shadows */
            --shadow-card: 0 1px 3px 0 hsl(244, 63%, 61%, 0.1), 0 1px 2px -1px hsl(244, 63%, 61%, 0.1);
            --shadow-elevated: 0 10px 15px -3px hsl(244, 63%, 61%, 0.1), 0 4px 6px -4px hsl(244, 63%, 61%, 0.1);
            --shadow-glow: 0 0 20px hsl(244, 63%, 61%, 0.3);
            
            /* Transitions */
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--background);
            color: var(--foreground);
            line-height: 1.6;
        }

        /* Layout Components */
   .container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;  /* thoda side se space toh rahe, but wide dikhe */
}
        .header {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        .header-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .brand-icon {
            width: 2rem;
            height: 2rem;
            background: var(--gradient-primary);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .brand-text h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--foreground);
        }

        .brand-text p {
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        .header-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        /* Main Content */
        .main {
            padding: 2rem 0;
        }

        .welcome-section {
            text-align: center;
            margin-bottom: 3rem;
        }

        .welcome-title {
            font-size: 2rem;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .welcome-description {
            color: var(--muted-foreground);
            max-width: 42rem;
            margin: 0 auto;
            font-size: 1.1rem;
        }

        /* Card Component */
        .card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-card);
            transition: var(--transition-smooth);
        }

        .card:hover {
            box-shadow: var(--shadow-elevated);
        }

        .card-gradient {
            background: var(--gradient-card);
            border: none;
        }

        .card-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card-content {
            padding: 1.5rem;
        }

        /* Form Styles */
        .form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group-full {
            grid-column: 1 / -1;
        }

        .label {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--foreground);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .input, .textarea {
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--background);
            color: var(--foreground);
            font-size: 0.875rem;
            transition: var(--transition-smooth);
        }

        .input:focus, .textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px hsl(244, 63%, 61%, 0.1);
        }

        .textarea {
            resize: vertical;
            min-height: 80px;
        }

        .textarea-large {
            min-height: 100px;
        }

        /* Button Styles */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition-smooth);
            text-decoration: none;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: var(--primary-foreground);
            height: 3rem;
            font-size: 1rem;
            font-weight: 600;
        }

        .btn-primary:hover {
            opacity: 0.9;
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-secondary {
            background: var(--secondary);
            color: var(--secondary-foreground);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: var(--primary);
            color: var(--primary-foreground);
        }

        .btn-full {
            width: 100%;
        }

        /* Product Grid */
        .products-section {
            margin-top: 3rem;
        }

        .products-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .products-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .badge {
            background: var(--secondary);
            color: var(--secondary-foreground);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .badge-destructive {
            background: var(--destructive);
            color: var(--destructive-foreground);
        }

        .badge-outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--foreground);
        }

        .products-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Product Card */
        .product-card {
            background: var(--gradient-card);
            border: none;
            transition: var(--transition-smooth);
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-elevated);
        }

        .product-header {
            display: flex;
            gap: 0.75rem;
            align-items: flex-start;
        }

        .product-info {
            flex: 1;
            min-width: 0;
        }

        .product-title {
            font-size: 1.125rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 0.25rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .product-card:hover .product-title {
            color: var(--primary);
        }

        .product-brand {
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        .product-image {
            width: 4rem;
            height: 4rem;
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--muted);
            flex-shrink: 0;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-smooth);
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-content {
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .product-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .price-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .current-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--success);
        }

        .old-price {
            font-size: 0.875rem;
            color: var(--muted-foreground);
            text-decoration: line-through;
        }

        .product-rating {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.875rem;
        }

        .rating-info {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: #f59e0b;
        }

        .reviews-info {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: var(--muted-foreground);
        }

        .product-warranty {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        .product-description {
            font-size: 0.875rem;
            color: var(--muted-foreground);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-features {
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem;
        }

        .feature-badge {
            background: var(--secondary);
            color: var(--secondary-foreground);
            padding: 0.125rem 0.5rem;
            border-radius: 9999px;
            font-size: 0.75rem;
        }

        /* Loading States */
        .loading {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem;
            flex-direction: column;
            gap: 1rem;
        }

        .spinner {
            width: 2rem;
            height: 2rem;
            border: 2px solid var(--muted);
            border-top: 2px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Toast Notifications */
        .toast {
            position: fixed;
            top: 1rem;
            right: 1rem;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1rem;
            box-shadow: var(--shadow-elevated);
            z-index: 100;
            transform: translateX(100%);
            transition: var(--transition-smooth);
        }

        .toast.show {
            transform: translateX(0);
        }

        .toast-success {
            border-color: var(--success);
            background: var(--success);
            color: var(--success-foreground);
        }

        .toast-error {
            border-color: var(--destructive);
            background: var(--destructive);
            color: var(--destructive-foreground);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 3rem;
            color: var(--muted-foreground);
        }

        .empty-state svg {
            width: 3rem;
            height: 3rem;
            margin: 0 auto 1rem;
            opacity: 0.5;
        }

        /* Footer */
        .footer {
            margin-top: 4rem;
            border-top: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.8);
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.5rem 0;
        }

        @media (min-width: 768px) {
            .footer-content {
                flex-direction: row;
            }
        }

        .footer-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-status span {
                display: none;
            }
            
            .welcome-title {
                font-size: 1.75rem;
            }
            
            .products-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }

        /* Utilities */
        .hidden {
            display: none;
        }

        .text-center {
            text-align: center;
        }

        .icon {
            width: 1rem;
            height: 1rem;
        }

        .icon-lg {
            width: 1.25rem;
            height: 1.25rem;
        }
#logoutBtn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--danger, #e63946);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

#logoutBtn:hover {
  background: #d62828;
}
