/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background-color: #f0f2f5;
  color: #1a1a1a;
}

header {
  background-color: #1a2769;
  color: #f2f2f2;
  padding: 20px 20px;
  display: flex;
  align-items: center;
}

header img {
  height: 60px;
  margin-right: 20px;
}

header .title {
  font-size: 32px;
  font-weight: bold;
}

nav {
  background-color: #25377b;
  width: 220px;
  min-height: calc(100vh - 100px);
  padding: 20px 15px;
  box-shadow: inset -2px 0 5px rgba(0,0,0,0.1);
}

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

nav li {
  margin-bottom: 12px;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #d4af37;
  text-decoration: underline;
}

.main {
  display: flex;
  min-height: calc(100vh - 100px);
}

.content {
  flex: 1;
  padding: 20px 30px;
}

h1, h2, h3, h4, h5 {
  color: #1a2769;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

table th {
  background-color: #25377b;
  color: #f2f2f2;
}

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

.table-img {
  width: 60px;
  height: auto;
}

.scrollable-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #ffffff;
}

/* Form styles */
input[type="text"], textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
}

button {
  background-color: #1a2769;
  color: #f2f2f2;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin-right: 10px;
}

button:hover {
  background-color: #25377b;
}

@media (max-width: 800px) {
  nav {
    width: 100%;
    min-height: auto;
  }
  .main {
    flex-direction: column;
  }
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  nav li {
    margin-bottom: 10px;
  }
}
