body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.container {
    padding: 20px;
}

.header h1 {
    margin: 0;
}

.nav-links input,
.nav-links button {
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    margin: 5px;
}

.btn {
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.btn-green {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn-blue {
    background-color: #007bff;
    color: white;
    border: none;
}

.filters {
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filters label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.filters input,
.filters select,
.filters button {
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    margin: 5px 0;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f8f8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters input,
    .filters select,
    .filters button {
        width: 100%;
    }

    .table-container {
        overflow-x: auto;
    }

    table {
        display: table;
    }

    th, td {
        padding: 4px;
        font-size: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        word-wrap: break-word;
    }
}

/* Make checkboxes larger */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    transform: scale(1.5);
}

/* Modal item adjustments */
.modal-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.modal-item input.quantity-input {
    width: 60px; /* Adjust the width */
    height: 40px; /* Increase the height */
    margin-right: 10px;
    padding: 8px;
    font-size: 16px;
}

.modal-item button.delete-btn {
    padding: 8px;
    font-size: 14px;
    margin-left: 10px; /* Add space between text and delete button */
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-item button.delete-btn:hover {
    background-color: #c82333;
}

.modal-item button.submit-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-item button.submit-btn:hover {
    background-color: #218838;
}
