/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Header Section */
header {
    background-color: #3e8e41;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, rgba(72, 208, 128, 0.9), rgba(93, 181, 107, 0.9));
}

.login-container form {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.login-container input,
.login-container button {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.login-container input:focus {
    border: 1px solid #4CAF50;
    box-shadow: 0 0 5px rgba(72, 208, 128, 0.5);
}

.login-container button {
    background-color: #4CAF50;
    border: none;
    color: #fff;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Order Container */
.order-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 35px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.order-container input,
.order-container select,
.order-container textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
}

.order-container input:focus,
.order-container select:focus,
.order-container textarea:focus {
    border-color: #4CAF50;
}

textarea {
    min-height: 120px;
    resize: none;
}

.order-container button {
    width: 100%;
    padding: 14px;
    background-color: #00bbff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.order-container button:hover {
    background-color: #218838;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Product List */
#products-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-info {
    flex: 1;
    padding-right: 20px;
}

.product-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
}

.product-quantity button {
    padding: 10px 14px;
    background-color: #007bff;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-quantity button:hover {
    background-color: #0056b3;
}

.product-quantity input {
    width: 50px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.product-quantity input:focus {
    border-color: #007bff;
}

/* Discount Info */
#discount-limit {
    font-weight: bold;
    color: #4CAF50;
}

/* Font Awesome Icons */
.fa {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Hover Effects for Links */
a:hover {
    color: #28a745;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .order-container {
        padding: 20px;
    }

    .login-container form {
        padding: 20px;
    }

    .product-item {
        width: 100%;
    }

    header {
        font-size: 1.5rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .login-container form {
        padding: 15px;
    }

    .order-container {
        padding: 15px;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
body {

}

h2, h3 {
    font-size: 1.5rem;
    color: #000000;
}

.login-container, .order-container {
    max-width: 68%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

input[type="text"], input[type="password"], input[type="number"], textarea, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #357ab7;
}

button i {
    margin-right: 8px;
}

.product-card {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.product-info h4 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.product-quantity {
    display: flex;
    align-items: center;
}

.product-quantity input {
    width: 50px;
    margin: 0 10px;
}

.quantity-btn {
    background: #4a90e2;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn {
    background: #00bbff;
    font-size: 1.2rem;
    padding: 15px;
    width: 100%;
    margin-top: 20px;
}

.submit-btn i {
    margin-right: 10px;
}

form {
    margin-top: 30px;
}

.products-list {
    margin-top: 20px;
}
.product-card {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    margin: 10px 0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-info {
    display: flex;
    align-items: center;
}

.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.product-details h4 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #333;
}

.product-details p {
    margin: 5px 0;
    color: #555;
    font-size: 0.9rem;
}

.product-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #357ab7;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    margin: 0 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
}

.quantity-input:focus {
    border-color: #4a90e2;
    outline: none;
}

.product-card i {
    margin-right: 8px;
}
