body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #F5F7FA;
  margin: 0;
  padding: 0;
}

.container {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  margin-top: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.main-header {
  background-color: #2C3E50;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-list li a:hover {
  opacity: 0.85;
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

table th, table td {
  border: 1px solid #e9ecef;
  padding: 0.9rem;
  text-align: left;
}

table th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
}

table tr:hover {
  background-color: #f8f9fa;
}

.btn, button {
  margin-top: 1rem;
  padding: 0.65rem 1.25rem;
  background-color: #16A085;
  border: none;
  color: white;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn:hover, button:hover {
  background-color: #138a72;
}

.btn-danger {
  background-color: #E74C3C;
}

.btn-danger:hover {
  background-color: #c0392b;
}

.btn-warning {
  background-color: #F39C12;
}

.btn-warning:hover {
  background-color: #d35400;
}

.login-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 5rem auto;
}

.login-container h1 {
  text-align: center;
  margin-bottom: 1.75rem;
  color: #2C3E50;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
  color: #34495e;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dfe6e9;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #16A085;
  outline: none;
  box-shadow: 0 0 0 2px rgba(22, 160, 133, 0.25);
}

.login-container button {
  margin-top: 1.75rem;
  width: 100%;
  padding: 0.8rem;
  background-color: #16A085;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container button:hover {
  background-color: #138a72;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 600px) {
  .button-group {
    flex-direction: row;
    justify-content: center;
  }
}

.button-group .btn {
  width: 200px;
  text-align: center;
}

/* Status indicators */
.status-active {
  color: #16A085;
  font-weight: 500;
}

.status-pending {
  color: #F39C12;
  font-weight: 500;
}

.status-inactive {
  color: #7f8c8d;
  font-weight: 500;
}

/* Card layout for dashboards */
.card {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  margin-top: 0;
  color: #2C3E50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Form layout improvements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.form-col {
  flex: 0 0 100%;
  padding: 0 0.75rem;
}

@media (min-width: 768px) {
  .form-col-6 {
    flex: 0 0 50%;
  }
}