/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the footer sticks to the bottom */
}

.container {
    padding: 20px;
    text-align: center;
    flex: 1; /* Allows the container to grow and push footer down */
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #69867e;
    color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

header .logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

/* Quantity Buttons */
.quantity-container {
    margin: 20px 0;
}

.quantity-btn {
    padding: 10px 20px;
    margin: 5px;
    background-color: rgb(161, 159, 159); /* Default color */
    color: white;
    border: none;
    cursor: pointer;
}

.quantity-btn.selected {
    background-color: green; /* Selected color */
}

.quantity-btn:hover {
    background-color: #0056b3;
}

/* Submit Button */
.submit-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}

.submit-btn:hover {
    background-color: #218838;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin: 20px auto; /* Center the alert with auto margins */
    border: 2px solid transparent;
    border-radius: 4px;
    color: #f8f9fa;
    background-color: #28a745;
    max-width: 500px; /* Set a maximum width */
    width: 100%; /* Allow it to be responsive */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a slight shadow for better visibility */
}


/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: center;
}

/* Delete Section */
.delete-section {
    margin-top: 20px;
}

.delete-section input {
    padding: 8px;
    margin-right: 10px;
}

.delete-section button {
    padding: 8px 15px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

.delete-section button:hover {
    background-color: darkred;
}

/* Footer Styles */
footer {
    background-color: #69867e;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #f8f9fa;
}
