body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f3;
  color: #111;
}

.app-header {
  padding: 24px 18px;
  background: #111;
  color: white;
}

.app-header h1 {
  margin: 0;
  font-size: 28px;
}

.app-header p {
  margin: 6px 0 0;
  color: #ccc;
}

main {
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.issue-list {
  display: grid;
  gap: 14px;
}

.issue-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
}

.issue-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ddd;
}

.issue-card-content {
  padding: 14px;
}

.issue-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #555;
}

.issue-card h2 {
  margin: 8px 0 0;
  font-size: 19px;
}

.status {
  padding: 4px 9px;
  border-radius: 999px;
  background: #eee;
  font-size: 13px;
  white-space: nowrap;
}

.hidden {
  display: none;
}

.back-button {
  margin-bottom: 16px;
  border: 0;
  background: #111;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
}

.detail-panel {
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-title {
  margin-top: 0;
}

.detail-section {
  margin-top: 22px;
}

.detail-section h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.photo-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.photo-strip img {
  width: 135px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

.dates {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  color: #444;
}

@media (min-width: 700px) {
  .issue-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.photo-strip img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.photo-strip img:hover {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 36px;
  cursor: pointer;
}
.status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* OPEN */
.status-open {
  background: #fff3cd;
  color: #856404;
}

/* RESOLVED */
.status-resolved {
  background: #d4edda;
  color: #155724;
}
.status-in-progress {
  background: #d1ecf1;
  color: #0c5460;
}

.status-pending {
  background: #ffeeba;
  color: #856404;
}

.status-urgent {
  background: #f8d7da;
  color: #721c24;
}
.site-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}
