/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background: #4CAF50;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    margin: auto;
    flex-wrap: wrap;
}

.form-column {
    flex: 1;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 300px;
}

.form-column h3 {
    margin-bottom: 15px;
    color: #333;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-group label {
    flex: 0 0 150px; /* Adjust this width as needed */
    margin-right: 10px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: calc(100% - 170px); /* Adjust width to fill the available space */
}

textarea {
    height: 150px;
}

.btn-container {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.btn-submit {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: #45a049;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Table Styles */
.table-container {
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

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

.table-container th {
    background-color: #4CAF50;
    color: white;
}

.table-container td {
    background-color: #fff;
    color: #333;
}

.table-container {
    overflow-y: auto;
    max-height: 400px; /* Adjust this height as needed */
}

.table-container th,
.table-container td {
    white-space: nowrap;
    padding: 10px;
}

.table-container th {
    position: sticky;
    top: 0;
    background: #4CAF50;
    color: white;
}

.form-group input,
.form-group textarea,
.form-group select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: calc(100% - 170px); /* Adjust width to fill the available space */
}
