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

.container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 220px;
  background-color: #2c3e50;
  color: #fff;
  padding: 20px;
}

.sidebar h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ecf0f1;
}

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

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  color: #bdc3c7;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #34495e;
  color: #ecf0f1;
}

.main {
  flex: 1;
  padding: 40px;
  background-color: #fff;
  overflow-y: auto;
}

h1, h2 {
  color: #2c3e50;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}

label {
  font-weight: bold;
}

input[type="text"],
input[type="file"],
input[type="email"],
input[type="password"],
textarea,
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  width: 100%;
}

button {
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
  width: fit-content;
}

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

button.small {
  padding: 4px 10px;
  font-size: 0.9em;
  margin: 2px;
}

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

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 10px;
  text-align: left;
}

img {
  max-width: 100px;
  height: auto;
  display: block;
}

button.small {
  padding: 4px 8px;
  font-size: 14px;
  margin: 0 2px;
  background-color: #e0e0e0;
  color: #333;
  border-radius: 4px;
  border: 1px solid #ccc;
}
button.small:hover {
  background-color: #ccc;
}