 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-navy: #0a1128;
            --secondary-purple: #1e1b4b;
            --accent-blue: #3b82f6;
            --accent-purple: #7c3aed;
            --gold: #fbbf24;
            --gold-light: #fcd34d;
            --text-light: #f8fafc;
            --text-gray: #cbd5e1;
            --bg-dark: #020617;
            --card-bg: #1e293b;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Header */
        .dashboard-header {
            background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-purple) 100%);
            padding: 1.5rem 2rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .back-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(251, 191, 36, 0.3);
            color: var(--gold);
            padding: 0.6rem;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .back-btn:hover {
            background: rgba(251, 191, 36, 0.1);
            border-color: var(--gold);
            transform: translateX(-3px);
        }

        .back-btn ion-icon {
            font-size: 1.5rem;
        }

        .header-title h1 {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--text-light) 0%, var(--gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-subtitle {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .btn-logout {
            background: rgba(239, 68, 68, 0.1);
            border: 2px solid var(--danger);
            color: var(--danger);
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-logout:hover {
            background: var(--danger);
            color: white;
            transform: translateY(-2px);
        }

        /* Main Container */
        .dashboard-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* Welcome Section */
        .welcome-section {
            background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-navy) 100%);
            border: 2px solid rgba(251, 191, 36, 0.3);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .welcome-text h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--gold);
        }

        .welcome-text p {
            color: var(--text-gray);
        }

        .quick-stats {
            display: flex;
            gap: 2rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--gold);
            display: block;
        }

        .stat-label {
            font-size: 0.85rem;
            color: var(--text-gray);
        }

        /* Tab Navigation */
        .tab-nav {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid rgba(251, 191, 36, 0.2);
            overflow-x: auto;
        }

        .tab-btn {
            background: none;
            border: none;
            color: var(--text-gray);
            padding: 1rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .tab-btn:hover {
            color: var(--gold);
        }

        .tab-btn.active {
            color: var(--gold);
            border-bottom-color: var(--gold);
        }

        /* Tab Content */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Card */
        .card {
            background: var(--card-bg);
            border: 2px solid rgba(251, 191, 36, 0.2);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
        }

        .card-header {
            margin-bottom: 1.5rem;
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }

        .card-subtitle {
            color: var(--text-gray);
            font-size: 0.95rem;
        }

        /* Orders List */
        .orders-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .order-card {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(251, 191, 36, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all 0.3s ease;
        }

        .order-card:hover {
            border-color: var(--gold);
            transform: translateY(-2px);
        }

        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .order-id {
            font-weight: 700;
            color: var(--gold);
            font-size: 1.1rem;
        }

        .order-date {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        .order-status {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .status-pending {
            background: rgba(245, 158, 11, 0.2);
            color: var(--warning);
        }

        .status-packed {
            background: rgba(59, 130, 246, 0.2);
            color: var(--accent-blue);
        }

        .status-delivered {
            background: rgba(16, 185, 129, 0.2);
            color: var(--success);
        }

        .order-items {
            margin-bottom: 1rem;
        }

        .order-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            margin-bottom: 0.5rem;
        }

        .order-item-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid rgba(251, 191, 36, 0.2);
        }

        .order-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .order-item-details {
            flex: 1;
        }

        .order-item-name {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.3rem;
            color: var(--text-light);
        }

        .order-item-brand {
            color: var(--gold);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .order-item-meta {
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        .order-item-price {
            font-weight: 700;
            color: var(--gold);
            font-size: 1.1rem;
            text-align: right;
        }

        .order-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 2px solid rgba(251, 191, 36, 0.2);
        }

        .order-total-label {
            font-weight: 600;
            color: var(--text-gray);
        }

        .order-total-value {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--gold);
        }

        /* Profile Form */
        .profile-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            color: var(--text-gray);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(251, 191, 36, 0.3);
            border-radius: 8px;
            padding: 0.75rem;
            color: var(--text-light);
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--gold);
            background: rgba(255, 255, 255, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-group input:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Buttons */
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            justify-content: center;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
            color: var(--primary-navy);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(251, 191, 36, 0.3);
            color: var(--text-light);
        }

        .btn-secondary:hover {
            background: rgba(251, 191, 36, 0.1);
            border-color: var(--gold);
        }

        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }












        /* Cart Items */
        .cart-container {
            display: grid;
            gap: 1.5rem;
        }





.cart-wrapper{
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem; 
    align-items: start;
}


@media (max-width:720px){
    .cart-wrapper{
        display:block;
    }
}



        .cart-item {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(251, 191, 36, 0.2);
            border-radius: 12px;
            padding: 1rem;
            display: flex;
            gap: 1rem;
            transition: all 0.3s ease;
        }

        .cart-item:hover {
            border-color: var(--gold);
        }

        .cart-item-image {
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid rgba(251, 191, 36, 0.2);
        }

        .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-item-details {
            flex: 1;
        }

        .cart-item-name {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
            color: var(--text-light);
        }

        .cart-item-brand {
            color: var(--gold);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .cart-item-price {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(251, 191, 36, 0.3);
            border-radius: 8px;
            padding: 0.3rem;
        }

        .quantity-btn {
            background: rgba(251, 191, 36, 0.2);
            border: none;
            color: var(--gold);
            width: 30px;
            height: 30px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .quantity-btn:hover {
            background: var(--gold);
            color: var(--primary-navy);
        }

        .quantity-value {
            min-width: 40px;
            text-align: center;
            font-weight: 600;
        }

        .btn-remove {
            background: rgba(239, 68, 68, 0.1);
            border: 2px solid var(--danger);
            color: var(--danger);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-remove:hover {
            background: var(--danger);
            color: white;
        }

        /* Cart Summary */
        .cart-summary {
            background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-navy) 100%);
            border: 2px solid rgba(251, 191, 36, 0.3);
            border-radius: 16px;
            padding: 2rem;
            position: sticky;
            top: 100px;
        }

        .summary-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 1.5rem;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(251, 191, 36, 0.2);
        }

        .summary-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .summary-label {
            color: var(--text-gray);
        }

        .summary-value {
            font-weight: 700;
            color: var(--text-light);
        }

        .summary-total {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--gold);
        }

        .btn-checkout {
            width: 100%;
            margin-top: 1.5rem;
            padding: 1rem;
            font-size: 1.1rem;
        }

        /* Wishlist */
        .wishlist-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .wishlist-item {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(251, 191, 36, 0.2);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .wishlist-item:hover {
            border-color: var(--gold);
            transform: translateY(-5px);
        }

        .wishlist-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

        .wishlist-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .wishlist-info {
            padding: 1.5rem;
        }

        .wishlist-brand {
            color: var(--gold);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .wishlist-name {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            color: var(--text-light);
        }

        .wishlist-price {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .wishlist-actions {
            display: flex;
            gap: 0.5rem;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            color: var(--text-gray);
        }

        .empty-state ion-icon {
            font-size: 5rem;
            color: var(--gold);
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .empty-state p {
            margin-bottom: 1.5rem;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 3rem;
            color: var(--text-gray);
        }

        .spinner {
            border: 3px solid rgba(251, 191, 36, 0.3);
            border-top: 3px solid var(--gold);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Alert */
        .alert {
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            animation: slideIn 0.3s ease;
        }

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

        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            border: 2px solid var(--success);
            color: var(--success);
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.1);
            border: 2px solid var(--danger);
            color: var(--danger);
        }

        .alert-info {
            background: rgba(59, 130, 246, 0.1);
            border: 2px solid var(--accent-blue);
            color: var(--accent-blue);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .dashboard-container {
                padding: 0.75rem;
            }

            .header-content {
                flex-direction: column;
                gap: 0.75rem;
            }

            .welcome-section {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .quick-stats {
                width: 100%;
                justify-content: space-around;
                gap: 0.5rem;
            }

            .profile-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .cart-item {
                flex-direction: column;
                padding: 0.75rem;
                gap: 0.75rem;
            }

            .cart-item-image {
                width: 100%;
                height: 140px;
            }

            .cart-item-details {
                flex: 1;
            }

            .cart-item-name {
                font-size: 0.95rem;
            }

            .cart-item-price {
                font-size: 1rem;
            }

            .cart-item-controls {
                flex-direction: column;
                gap: 0.5rem;
            }

            .quantity-control {
                width: 100%;
            }

            .btn-remove {
                width: 100%;
            }

            .wishlist-grid {
                grid-template-columns: 1fr;
            }

            .order-item {
                flex-direction: column;
                gap: 0.75rem;
                padding: 0.75rem;
            }

            .order-item-image {
                width: 100%;
                height: 140px;
            }

            .order-item-price {
                text-align: left;
            }
        }

        @media (max-width: 480px) {
            .dashboard-container {
                padding: 0.5rem;
            }

            .header-title h1 {
                font-size: 1.3rem;
            }

            .header-subtitle {
                font-size: 0.75rem;
            }

            .cart-item {
                padding: 0.5rem;
                gap: 0.5rem;
            }

            .cart-item-image {
                width: 70px;
                height: 70px;
            }

            .cart-item-name {
                font-size: 0.85rem;
            }

            .cart-item-brand {
                font-size: 0.75rem;
            }

            .cart-item-price {
                font-size: 0.9rem;
            }

            .order-item {
                padding: 0.5rem;
                gap: 0.5rem;
            }

            .order-item-image {
                width: 60px;
                height: 60px;
            }

            .order-item-name {
                font-size: 0.9rem;
            }

            .order-item-price {
                font-size: 0.9rem;
            }
        }