/* style.css */
body {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin: 0;
    padding: 0;
}
header {
    background-color: #0099B5; /* Blue */
    color: white;
    padding: 20px;
    border-bottom: 2px solid #CE1126; /* Red line */
}
nav ul {
    list-style-type: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin-right: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    border-top: 3px solid #CE1126; /* Red line */
    border-bottom: 3px solid #CE1126; /* Red line */
    background-color: white; /* White */
    padding: 20px;
    margin-top: -2px; /* Adjust if the top red line appears thicker */
}

footer {
    background-color: #009B72; /* Green */
    color: white;
    padding: 20px;
    text-align: left; /* Align text to the left */
}

/* Add these styles to your existing style.css file */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

button, .btn {
    background-color: #0099B5;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

button:hover, .btn:hover {
    background-color: #007B8F;
}
/* Add/Update these styles in your style.css file */

/* Update these styles in your style.css file */

form {
    margin-top: 20px;
    width: 50%; /* Set form width to half of the screen */
    margin-left: auto;
    margin-right: auto;
}

form input[type="text"], form textarea {
    width: 100%; /* Full width of the form */
    padding: 8px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Add/Update these styles in your style.css file */

/* ... existing styles ... */

.form-button {
    background-color: #009B72; /* Footer's green color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: calc(100% - 40px); /* Adjust width to align with form fields */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.form-button:hover {
    background-color: #007B60;
}


.btn-icon {
    background-color: transparent; /* Remove blue background */
    border: none;
    cursor: pointer;
    color: #0099B5; /* You can change this color as needed */
}

.btn-icon:hover {
    background-color: #007B8F; /* Darker blue for hover effect */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-container form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-container form input[type="text"],
.form-container form input[type="number"],
.form-container form select {
    width: calc(100% - 20px); /* Full width minus padding */
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-container th, .table-container td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.table-container th {
    background-color: #f2f2f2;
}

.btn-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #0099B5;
    padding: 5px 10px;
}

.btn-icon:hover {
    color: #007B8F;
}

.info-panel {
    background-color: #ffc0cb; /* Pink background */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: left;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns layout */
    gap: 20px;
    width: 80%;
    margin: auto;
    padding: 20px;
}

.chart {
    background-color: #f0f0f0; /* Light gray background for placeholder */
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    height: 150px; /* Fixed height for placeholders */
}

canvas {
    width: 100% !important;
    height: 100% !important;
}