body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

h1, h2 {
    color: #8C3C8C;
}

a {
    color: #8C3C8C;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.nav {
    background-color: #f9f9f9;
    padding: 20px;
    border-bottom: 3px solid #8C3C8C;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin-left: 20px;
}

.logout-form {
    display: inline;
    margin-left: 20px;
}

.logout-button {
    border: none;
    background: none;
    color: #8C3C8C;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.logout-button:hover {
    text-decoration: underline;
}

.container {
    padding: 40px;
}

.message-box,
.error-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    max-width: 500px;
}

.message-box {
    background-color: #eef8f1;
    border: 1px solid #abd7b8;
}

.error-box {
    background-color: #ffeaea;
    border: 1px solid #e9b7b7;
}

form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-width: 500px;
}

input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form p {
    margin: 0 0 14px;
}

input[type="hidden"] {
    display: none;
}

button[type="submit"] {
    background-color: #8C3C8C;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button[type="submit"]:hover {
    background-color: #a350a3;
}

table.table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-size: 11px;
    border: 1px solid #ddd;
}

table.table th {
    background-color: #8C3C8C;
    color: white;
    text-align: left;
    padding: 10px;
}

table.table td {
    padding: 8px;
    border: 1px solid #ddd;
}

table.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.table tr:hover {
    background-color: #e9e9e9;
}

.pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}
