body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logout {
    color: white;
    text-decoration: none;
    background-color: #d9534f;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    position: fixed;
    height: 100%;
    overflow: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar li a {
    display: block;
    color: white;
    padding: 1rem;
    text-decoration: none;
}

.sidebar li a:hover {
    background-color: #34495e;
}

.sidebar li a.active {
    background-color: #3498db;
}

.main-content {
    margin-left: 250px;
    padding: 2rem;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
}

.stat-card h3 {
    margin-top: 0;
    color: #333;
}

.form-container {
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0.5rem;
}

button:hover {
    background-color: #2980b9;
}

.table-container {
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
}

.error {
    color: #d9534f;
    background-color: #f8d7da;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.success {
    color: #28a745;
    background-color: #d4edda;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.login-container {
    max-width: 400px;
    margin: 5rem auto;
    background-color: white;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-container h2 {
    margin-top: 0;
    text-align: center;
}