/* General page styling */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 30px;
  background-color: #f9f9f9;
  color: #333;
}

h2 {
  text-align: center;
  color: #0073e6;
  margin-bottom: 20px;
}

/* Top fields styling */
.top-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.top-fields label {
  font-weight: 600;
  color: #444;
}

.top-fields input,
.top-fields select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
}

table th {
  background-color: #0073e6;
  color: #fff;
  padding: 10px;
  text-align: center;
}

table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

table tbody tr:nth-child(even) {
  background-color: #f2f8fc;
}

table tfoot td {
  font-weight: bold;
  background-color: #e6f0fa;
}

/* Input fields inside table */
table input[type="number"] {
  width: 80px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: 10px 18px;
  margin-right: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background-color: #005bb5;
}

/* Logout link */
a {
  text-decoration: none;
  color: #0073e6;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Login page styling */
.login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0073e6;
}

.login-container label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-container button {
  width: 100%;
  margin-top: 20px;
}

.login-container .note {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
  color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
  .top-fields {
    flex-direction: column;
  }

  table input[type="number"] {
    width: 100%;
  }
}
