body {
    font-family: Helvetica, sans-serif;
    background-color: rgba(244, 241, 234, 0.9);
    background-image: url("images/background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
}

header {
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 20px;
}

header nav {
    text-align: center;
    margin: 15px 0;
}

header nav a {
    color: white;
    font-weight: bold;
    margin: 0 10px;
    text-decoration: none;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

main section {
    text-align: center;
}

h2,
h3 {
    text-align: center;
}

.product {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: white;
}

.product img {
    width: 200px;
}

.employee-box {
    border: 1px solid #999;
    background-color: white;
    width: 300px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
}

.content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.content h2,
.content h3 {
    text-align: center;
}

.content p {
    margin: 10px 0;
}

img {
    display: block;
    margin: 0 auto;
}

/* General form styles */
form {
    max-width: 420px;
    margin: 20px auto;
    text-align: left;
}

form p {
    margin: 15px 0;
    text-align: center;
}

input[type="text"],
textarea {
    display: block;
    margin: 10px auto;
}

textarea {
    width: 300px;
}

input[type="text"],
input[type="password"] {
    width: 200px;
    padding: 6px;
    margin: 0;
    display: inline-block;
}

input[type="submit"] {
    padding: 8px 16px;
    margin-top: 10px;
}

label {
    display: inline-block;
    width: 100px;
    text-align: right;
    margin-right: 10px;
}

.radio-group {
    text-align: center;
    margin-bottom: 15px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px auto;
    max-width: 420px;
    background-color: rgba(255, 255, 255, 0.9);
}

legend {
    font-weight: bold;
    padding: 0 10px;
    text-align: center;
}

/* Employee directory navigation */
.employee-nav {
    text-align: center;
    margin: 20px 0;
}

.employee-nav a {
    color: #333333;
    font-weight: bold;
    margin: 0 10px;
    text-decoration: none;
}

.employee-nav a:hover {
    text-decoration: underline;
}

/* Employee table */
.employee-table {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
}

.employee-table th,
.employee-table td {
    border-bottom: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

.employee-table th {
    font-weight: bold;
}

/* Department list */
.department-list {
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
}

.department-list p {
    margin: 18px 0;
    text-align: center;
    font-size: 16px;
}

/* Nested list */
.nested-list {
    list-style-type: none;
    max-width: 420px;
    margin: 20px auto;
    padding-left: 0;
    text-align: center;
}

.nested-list ul {
    list-style-type: none;
    margin: 6px 0;
    padding-left: 0;
    text-align: center;
}

.nested-list li {
    margin: 6px 0;
    text-align: center;
}

/* Footer */
footer {
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

/* Error message */
.error-message {
    color: red;
    font-weight: bold;
    text-align: center;
}

/* Login page specific styles */
.login-box {
    max-width: 500px;
    margin: 40px auto;
    padding: 25px 30px;
    background-color: rgba(255, 255, 255, 0.88);
    border: 1px solid #ccc;
    text-align: center;
}

.login-box p {
    text-align: center;
}

.login-box form {
    max-width: 100%;
    margin: 20px auto 0 auto;
    text-align: left;
}

.login-box fieldset {
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    max-width: 100%;
}

.login-box legend {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.form-row label {
    width: 100px;
    text-align: right;
    margin-right: 12px;
}

.form-row input[type="text"],
.form-row input[type="password"] {
    width: 220px;
    padding: 6px;
    margin: 0;
    display: inline-block;
}

.login-submit {
    text-align: center;
    margin-top: 15px;
}

.login-submit input[type="submit"] {
    padding: 8px 16px;
}