:root {
  --green: #7a9e2e;
  --green-dark: #5f7d1f;
  --green-light: #a8c84a;

  --cream: #fdf3e7;
  --cream-dark: #f0e0c8;

  --text: #2b2b2b;
  --text-muted: #888;

  --card: #ffffff;
  --shadow: 0 4px 18px rgba(0,0,0,0.08);
  --radius: 14px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
}

/* PAGE */
body {
  background: var(--cream);
  color: var(--text);
  display: flex;
}

/* SIDEBAR (matches login nav feel) */
.sidebar {
  width: 230px;
  height: 100vh;
  position: fixed;
  background: #fff;
  border-right: 1px solid var(--cream-dark);
  padding: 20px;
}

.sidebar h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.2s;
}

.sidebar a:hover {
  background: var(--green-light);
  color: #fff;
}

/* MAIN */
.main {
  margin-left: 230px;
  padding: 26px;
  width: 100%;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.header h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--green-dark);
}

.user {
  font-size: 14px;
  color: var(--text-muted);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.card h3 {
  font-size: 13px;
  color: var(--text-muted);
}

.card p {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  margin-top: 6px;
}

/* SECTION TITLE */
.section-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

/* EMPTY STATE */
.empty {
  color: var(--text-muted);
}

/* REPORT LIST */
.report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* REPORT CARD */
.report {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BADGES (aligned with login green palette) */
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pending {
  background: var(--cream-dark);
  color: #7a5d00;
}

.reviewed {
  background: #e7f0d2;
  color: var(--green-dark);
}

.resolved {
  background: var(--green-light);
  color: #fff;
}

.dismissed {
  background: #eee;
  color: var(--text-muted);
}

/* BUTTONS (same style as login button but softer) */
.btn {
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  background: #fff;
  color: var(--text);
  transition: 0.2s;
}

.btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* MODAL */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 43, 43, 0.35);
  align-items: center;
  justify-content: center;
}

.modal-bg.open {
  display: flex;
}

.modal {
  background: #fff;
  width: 520px;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.modal h3 {
  color: var(--green-dark);
}

.modal table {
  width: 100%;
  margin-top: 10px;
}

.modal td {
  padding: 6px;
  font-size: 13px;
}

.modal td:first-child {
  color: var(--text-muted);
  font-weight: 700;
}

/* CLOSE BUTTON */
.close-btn {
  margin-top: 12px;
}