/* Reset default margin and padding */
body, table {
    margin: 0;
    padding: 0;
}

/* Style the entire page */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    text-align: center;
    padding: 20px;
}

/* Reduce the font size and padding for dropdown menus */
select {
    font-size: 14px; /* Adjust the font size as needed */
    padding: 5px; /* Adjust the padding as needed */
    height: 30px; /* Adjust the height as needed */
}

/* Reduce the width of dropdown menus */
select {
    width: 50%; /* Adjust the width as needed */
    box-sizing: border-box;
}

/* Increase font size for form labels and input fields */
form label, form input {
    font-size: 16px; /* Adjust the font size as needed */
}

/* Increase padding for form labels and input fields */
form label, form input {
    padding: 10px; /* Adjust the padding as needed */
}

    /* Increase the width of input fields in the form */
    form input[type="text"], form input[type="number"], form input[type="email"] {
        width: 50%; /* Adjust the width as needed */
        box-sizing: border-box;
    }

    /* Increase the height of input fields in the form */
    form input[type="text"], form input[type="number"], form input[type="email"], form textarea {
        height: 40px; /* Adjust the height as needed */
    }

/* Increase the font size and padding for the submit button */
form button[type="submit"] {
    font-size: 18px; /* Adjust the font size as needed */
    padding: 12px 24px; /* Adjust the padding as needed */
    margin-top: 20px; /* Adjust the margin as needed */
}

/* Increase font size for labels and input fields */
table th, table td {
    font-size: 20px; /* Adjust the font size as needed */
}

/* Increase padding for labels and input fields */
table th, table td {
    padding: 10px; /* Adjust the padding as needed */
}

    /* Increase the height of input fields */
    table td[contenteditable="true"] {
        height: 40px; /* Adjust the height as needed */
    }

/* Increase the font size and padding for buttons */
button {
    font-size: 18px; /* Adjust the font size as needed */
    padding: 12px 24px; /* Adjust the padding as needed */
}

/* Increase the width of the search input */
#searchInput {
    width: 300px; /* Adjust the width as needed */
}

/* Increase the margin for the "Add Entry" button */
button {
    margin-top: 20px; /* Adjust the margin as needed */
}

/* Style the table */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    /* Style the table headers */
    table th {
        background-color: #f2f2f2;
        font-weight: bold;
        text-align: left;
        padding: 10px;
        border: 1px solid #ddd;
    }

    /* Style the table rows */
    table td {
        padding: 10px;
        border: 1px solid #ddd;
    }

    /* Style alternating rows for better readability */
    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

/* Style the "Add Entry" button */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
}

    button:hover {
        background-color: #45a049;
    }

/* Style the search input and button */
.search {
    text-align: right;
    margin-top: 10px;
}

#searchInput {
    padding: 5px;
    border: 1px solid #ddd;
}

/* Style the editable history cell */
table td[contenteditable="true"] {
    background-color: #ffffcc;
    border: 1px solid #ddd;
    cursor: pointer;
}

/* Style the "Remove" button inside the table */
table td button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

    table td button:hover {
        background-color: #ff3333;
    }

/* Additional styles for the side panel */
.container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

.side-panel {
    width: 300px;
    background-color: #f0f0f0;
    padding: 20px;
    margin-left: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .side-panel h3 {
        margin-top: 0;
    }

    .side-panel p {
        margin: 5px 0;
    }
