body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #475dcd;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

header nav ul li {
    display: inline-block;
    position: relative;
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    display: block;
}

header nav ul li a:hover, header nav ul li a:focus {
    background-color: #3949ab;
}

header nav ul li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #3949ab;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

header nav ul li .submenu li {
    display: block;
    text-align: left;
}

header nav ul li .submenu li a {
    padding: 10px 20px;
    white-space: nowrap;
}

header nav ul li:hover .submenu,
header nav ul li:focus-within .submenu {
    display: block;
}

footer {
    background-color: #475dcd;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}

main {
    flex: 1;
    padding: 20px;
}

h1, h2, h3 {
    color: #333;
}

h1 {
    text-align: center;
    padding: 20px 0;    
    color: #475dcd;
    margin-bottom: 10px;
}

.report-summary, .report-category, .report-subcategory {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.report-category {
    border-left: 5px solid #475dcd;
}

.report-subcategory {
    border-left: 5px solid #4CAF50;
    margin-left: 20px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label, select, input, button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

label {
    font-weight: bold;
}

select, input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: auto;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

button:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

p {
    text-align: center;
    color: red;
}

/* Add styles for product buttons */
.product-button {
    display: inline-block;
    margin: 5px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #e0e0e0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 180px;
    height: 200px;
    text-align: center;
    color: #000;
    vertical-align: top;
}

.product-button:hover {
    background-color: #d0d0d0;
}

.product-button .product-name, .product-button .product-code {
    color: #000;
    font-weight: bold;
}

.product-button .product-price {
    color: #000;
    margin-top: 10px;
}
