.login-page {
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 320px;
}

.login-container h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #01A200;
}

.login-container label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.login-container input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-container button {
  width: 100%;
  padding: 0.6rem;
  background-color: #01A200;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.error-message {
  color: red;
  text-align: center;
  margin-top: 0.5rem;
}
header {
  background: #01A200;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

header .logo {
  font-weight: bold;
  font-size: 1.3rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.dashboard {
  padding: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: #f8f8f8;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
}

.stat-card h2 {
  color: #01A200;
  font-size: 2rem;
}
.page-content {
  padding: 2rem;
}

.search-bar {
  padding: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f3f3f3;
}

button.action {
  margin: 0 4px;
  padding: 0.4rem 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}

button.activate { background: #01A200; color: white; }
button.suspend { background: #d9534f; color: white; }
button.edit { background: #f0ad4e; color: white; }
button.view { background: #0275d8; color: white; }

.status-pending {
  color: orange;
  font-weight: bold;
}

.status-complete {
  color: green;
  font-weight: bold;
}

.status-cancelled {
  color: red;
  font-weight: bold;
}

.status-open {
  color: orange;
  font-weight: bold;
}
.status-resolved {
  color: green;
  font-weight: bold;
}

.status-pending { color: orange; font-weight: bold; }
.status-in_transit { color: #0275d8; font-weight: bold; }
.status-delivered { color: green; font-weight: bold; }

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-inline input {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  flex: 1;
  min-width: 180px;
}

.form-inline button {
  background-color: #01A200;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
