body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f8f9fb;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0077b6;
}
.user-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.login-btn {
  background: #ffcdd2;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  background: #e7f1fb;
  padding: 1rem 2rem;
}
.filters select,
.filters input,
.filters button {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.filters button {
  background: #0077b6;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.filters button:hover {
  background: #005f8f;
}

/* Grid */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}
.issue-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.issue-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.issue-card .info {
  padding: 1rem;
}
.tags {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.tag {
  font-size: 0.8rem;
  background: #eee;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-weight: bold;
}
.status {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: bold;
}
.status.reported { background: #ffcdd2; color: #b71c1c; }
.status.in-progress { background: #ffe082; color: #ff6f00; }
.status.resolved { background: #c8e6c9; color: #2e7d32; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}
.page {
  background: #ddd;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.page.active {
  background: #0077b6;
  color: white;
  font-weight: bold;
}

.login-container {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.auth-form {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0077b6;
}

.auth-form label {
  font-weight: bold;
  margin-top: 1rem;
  display: block;
}

.auth-form input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.auth-form button {
  width: 100%;
  background: #0077b6;
  color: white;
  font-weight: bold;
  padding: 0.7rem;
  margin-top: 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.auth-form button:hover {
  background: #005f8f;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
}
.form-footer a {
  color: #0077b6;
  font-weight: 500;
  text-decoration: none;
}

.report-btn {
  background: #0077b6;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s;
}
.report-btn:hover {
  background: #008c74;
}
.home-btn {
  background: #e3f2fd;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: #0077b6;
  font-weight: bold;
  border: 1px solid #90caf9;
}
.home-btn:hover {
  background: #bbdefb;
}

.logout-btn {
  background: #ffcdd2;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  color: #b71c1c;
  cursor: pointer;
}
.logout-btn:hover {
  background: #ef9a9a;
}

.report-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #114b5f, #0077b6);
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  font-size: 0.95rem;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer strong {
  color: #ffffff;
  font-weight: 600;
}
