body {
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 24px;
}

form {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates two columns */
    gap: 20px; /* Adds space between the grid items */
    margin-bottom: 20px;
}

form div {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

button {
    border: 1px solid white;
    background-color: black;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 24px;
    border-radius: 30px;
}

button:hover {
    background-color: white;
    color: black;
}

label, input {
    margin-top: 30px;  /* Increase space above label and input */
    margin-bottom: 20px;  /* Increase space below label and input */
}

input {
    height: 30px;  /* Increase input box height */
    font-size: 24px;  /* Increase input font size */
}

#clearFieldsButton {
    grid-column: span 3; /* Makes the clear button span both columns */
    height: 50px;
    font-size: 24px;
    justify-self: center; /* Align this item at the center of the row axis */
    margin: 20px;
}

#update_client {
    grid-column: span 3; /* Makes the submit button span both columns */
    height: 50px;
    font-size: 24px;
    justify-self: center; /* Align this item at the center of the row axis */
    margin: 20px;
}

#submit_client {
    grid-column: span 3; /* Makes the submit button span both columns */
    height: 50px;
    font-size: 24px;
    justify-self: center; /* Align this item at the center of the row axis */
    margin: 20px;
}

.form-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding: 10px 15px;
    background-color: #fff; /* Black background */
    color: black; /* White text */
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px; /* Adjust the font size as needed */
    border: 1px solid #fff; /* Optional: adds a white border around the button */
    width: 240px;
    height: 40px; /* Adjust the height as needed */
}

.centered-title {
    text-align: center;
}

.employee-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates two columns */
    gap: 20px; /* Adds space between the grid items */
}

.employee-form div {
    display: flex;
    flex-direction: column;
}

.employee-form label {
    margin-bottom: 5px;
}

.employee-form select {
    margin-top: 30px; /* Adds space above the dropdown menu */
    width: 100%; /* Makes the dropdown menu the same width as the input fields */
    height: 40px;  /* Increase input box height */
    font-size: 24px;  /* Increase input font size */
    padding: 5px; /* Adds some padding inside the dropdown menu */
}

#submit_employee {
    grid-column: span 3; /* Makes the submit button span both columns */
    height: 50px; /* Adjust as needed */
    font-size: 16px; /* Adjust as needed */
    align-self: center; /* Align this item at the center of the cross axis */
    justify-self: center; /* Align this item at the center of the row axis */
}

#update_employee {
    grid-column: span 3; /* Makes the submit button span both columns */
    height: 50px; /* Adjust as needed */
 /* Adjust as needed */
    font-size: 24px; /* Adjust as needed */
    align-self: center; /* Align this item at the center of the cross axis */
    justify-self: center; /* Align this item at the center of the row axis */
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 10px;
    background-color: #f8f9fa;
    color: #343a40;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #343a40;
}

.login-button {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    color: #343a40;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #343a40;
}

#table-container {
    margin: 20px;
    background-color: black;
    color: white;
    width: 100%;
    min-width: 1000px;
    height: 80vh; /* Increase the height to 80% of the viewport height */
    overflow: hidden;
}

#clients-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#clients-table thead, #clients-table tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#clients-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    width: calc(100% - 17px);
    overflow-y: scroll;
}

#clients-table th, #clients-table td {
    border: 1px solid #444;
    padding: 8px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#clients-table tbody {
    display: block;
    overflow-y: auto;
    height: calc(80vh - 100px); /* Adjust the height as needed */
}

#clients-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#clients-table tr:nth-child(even) {
    background-color: #111;
}

#clients-table tr:hover {
    background-color: #333;
}

#clients-table td[contenteditable="true"]:focus {
    outline: 2px solid #007bff;
    background-color: #444;
}

#search-container {
    margin-bottom: 20px;
}

#search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #444;
    background-color: #222;
    color: white;
}

#search-input::placeholder {
    color: #888;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
#search-container {
    width: 33%;
}
#search-input {
    width: 100%;
    padding: 5px;
}
.action-buttons {
    visibility: hidden;
}

.new-row {
    background-color: #2a2a2a;
}

#calendar {
    max-width: 900px;
    margin: 0 auto;
}

#booking-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: black;
    color: white; /* Ensure text is visible on light background */
}