/* file: public/styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5 {
    margin: 0;
}

#sidebar {
    position: fixed;
    width: 120px;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
}

#content {
    padding: 16px;
    padding-left: calc(120px + 16px);
}

#content .message {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

#content .message p {
    margin: 0;
}

.button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border: 0;
}

/* GUESTBOOK */

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination a {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination span {
    padding: 8px 16px;
}

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

th {
    background-color: #777777;
    color: white;
}

tr > td {
    background-color: white;
}

tr:nth-child(even) > td {
    background-color: #DDDDDD;
}

tr > th:not(:last-child), tr > td:not(:last-child) {
    padding-left: 5px;
}

td > button {
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.create-button {
    padding: 10px;
    cursor: pointer;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
