
        :root { --primary: #ffdd00; --glass: rgba(255, 255, 255, 0.1); }
        body { font-family: 'Inter', sans-serif; background: linear-gradient(135deg, #2a0845 0%, #6441a5 100%); background-attachment: fixed; color: white; padding: 20px; }
        
        /* Modern Popup Style */
        .pop-notification {
            display: none;
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 221, 0, 0.95);
            color: #000;
            padding: 15px 30px;
            border-radius: 12px;
            z-index: 9999;
            font-weight: 800;
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
            animation: slideDown 0.5s ease;
            border-bottom: 4px solid rgba(0,0,0,0.2);
        }

        @keyframes slideDown {
            from { top: -100px; opacity: 0; }
            to { top: 20px; opacity: 1; }
        }

        .container { max-width: 1200px; margin: 0 auto; }
        .market-header { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.3); padding: 25px; border-radius: 20px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }
        h1 span { color: var(--primary); }
        .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 50px; }
        .card { background: var(--glass); backdrop-filter: blur(15px); padding: 20px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; display: flex; flex-direction: column; }
        .card:hover { border-color: var(--primary); transform: translateY(-5px); }
        .price-tag { color: var(--primary); font-weight: 800; font-size: 1.2rem; }
        .badge { padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
        .status-active { background: #28a745; }
        .status-pending_approval { background: #ff9800; }
        .status-sold { background: #007bff; }
        .status-rejected { background: #ff4444; }
        h2 { border-left: 5px solid var(--primary); padding-left: 15px; margin: 40px 0 20px; font-size: 1.5rem; }
        .buy-btn { background: var(--primary); color: #2a0845; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-weight: bold; text-align: center; }
        .delete-btn { background: rgba(255, 68, 68, 0.2); color: #ff4444; border: 1px solid #ff4444; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
        .product-img { width: 100%; height: 180px; object-fit: cover; border-radius: 15px; margin: 15px 0; background: #000; }
    /* ================for phone================= */
    /* Mobile Optimization for Marketplace (650px) */
@media (max-width: 650px) {
    body {
        padding: 10px;
    }

    .container {
        width: 100%;
        padding: 0 5px;
    }

    /* Stack Header Elements */
    .market-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 15px;
    }

    .market-header h1 {
        font-size: 1.8rem;
    }

    /* Adjust Grid for single column */
    .product-grid {
        grid-template-columns: 1fr; /* Single column on phones */
        gap: 15px;
    }

    /* Card Adjustments */
    .card {
        padding: 15px;
    }

    .product-img {
        height: 200px; /* Larger image for better visibility on mobile */
    }

    h2 {
        font-size: 1.3rem;
        margin: 30px 0 15px;
    }

    /* Notification Popup Scaling */
    .pop-notification {
        width: 90%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    /* Button full width for easy tapping */
    .buy-btn {
        width: 100%;
        display: block;
        padding: 15px;
    }
}
