:root {
    --primary-color: #6f4e37;    /* Coffee brown */
    --secondary-color: #4CAF50;  /* Vegetable green */
    --accent-color: #FFD700;      /* Gold */
    --bg-color: #f5f7fa;
    --text-color: #333;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
}

header {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

header img {
    height: 50px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 20px;
}

.sidebar {
    width: 220px;
    background: var(--primary-color);
    color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.sidebar a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background: var(--secondary-color);
    color: white;
}

.content {
    margin-left: 220px;
    padding: 20px 30px;
    width: 100%;
}

.table-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

h2 {
    margin-top: 0;
    color: var(--primary-color);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

th {
    background: var(--secondary-color);
    color: white;
}

button, a.button {
    background: var(--secondary-color);
    color: white;
    border-radius: 5px;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

button:hover, a.button:hover {
    background: var(--accent-color);
}

.search-bar input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.pagination a {
    margin: 0 5px;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: var(--text-color);
}

.pagination a.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    background: var(--secondary-color);
    color: white;
    border-radius: 5px;
}
