body {
  background-color: #f8f9fa;
}

table th, table td {
  font-size: 14px;
  vertical-align: middle;
}
input[type="text"] {
  font-size: 14px;
}

.card h6 {
  font-size: 16px;
  font-weight: 600;
}
.card .small {
  font-size: 13px;
}

body {
    font-family: Arial, sans-serif;
    margin: 10px;
}

form {
    max-width: 900px;
    margin: auto;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    font-size: 16px;
    box-sizing: border-box;
}

label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.product-card {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    background: #f9f9f9;
}

@media (min-width: 600px) {
    .two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

#invoice_items {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border-collapse: collapse;
}

#invoice_items th,
#invoice_items td {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    text-align: center;
}

button {
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#notif {
    display: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #dff0d8;
    border: 1px solid #3c763d;
    color: #3c763d;
    margin-top: 10px;
    text-align: center;
}


    .product-section {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .product-section .field {
        flex: 0 0 48%; /* roughly 2 columns */
    }
    @media (max-width: 600px) {
        .product-section .field {
            flex: 0 0 100%; /* full width on small screens */
        }
    }
