<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
       body {
    background-color: #f0f0f0; /* Light grey background */
    font-family: Arial, sans-serif;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Shopping-cart.jpg') no-repeat fixed;
    background-size: cover;
}

form {
    width: 90%; /* Make it responsive to various screen sizes */
    max-width: 500px; /* Limit the maximum width */
    margin: 0 auto; /* Center the form horizontally */
    padding: 2rem; /* Reduce padding for mobile */
    color: #fff;
    background-color: rgba(26, 25, 25, 0.555);
    border: 1px solid #ccc;
    border-radius: 10px; /* Add rounded edges */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-body {
    display: flex;
    flex-direction: column; /* Stack form elements vertically for mobile */
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 1rem; 
}

label {
    color: #fff;
    margin-top: 3rem;
}

input {
    width: 100%;
    padding: 1rem 0;
    color: black;
    font-size: 2rem;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: yellow; /* Yellow button background */
    color: black; /* Black button text */
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: orange;
}

a {
    padding: 0.5rem;
    color: #fff;
}

a:hover {
    color: #e74c3c;
}

/* Navbar */
header {
    width: 100%;
    background-color: #333;
    top: 0;
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    </style>
    <title>Add Product</title>
</head>
<body>

    <header>
        <h1 id="brand-logo" style="cursor: pointer;">ShopðŸ›’</h1>
        <ul class="nav-list">
      
        </ul>
        
    </header>

    <div class="form-body">

        <form action="/products/add" method="POST">
            <h2>Add Products</h2>
            <label for="productName">Product Name:</label>
            <input type="text" id="productName" name="productName" placeholder="productName" required>

            <label for="productType">Product Type:</label>
            <input type="text" id="productType" name="productType" required>

            <label for="recommendation">Recommendation:</label>
            <input type="text" id="recommendation" name="recommendation" required>

            <label for="currentTag">Current Tag:</label>
            <input type="text" id="currentTag" name="currentTag" required>

            <!-- Add other input fields for additional product data as needed -->

            <button type="submit">Add Product</button>
        </form>

    </div>
</body>
</html>
