/* === BASE === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #222;
}

.muted { color: #607d8b; }

/* Header (same look) */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 55px;
  background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 1100;
}
.header-logo img { height: 35px; display: block; }

/* Main */
.main {
  margin-top: 80px;
  padding: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* User strip */
.user-strip {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 18px;
}
.user-strip h1 { margin: 0 0 4px; font-size: 22px; color: #0a8f47; }

/* Grid of sections */
.qual-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .qual-grid { grid-template-columns: 1fr 1fr; }
}

/* Section card */
.card {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}
.card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0a8f47;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
}

/* Loading & errors */
.loading { color: #607d8b; font-style: italic; }
.error {
  background: #ffebee; color: #b71c1c;
  border: 1px solid #ffcdd2; border-radius: 8px;
  padding: 10px; margin: 8px 0;
}

/* === Reuse styles from your result pages === */

/* Incremental card mini table */
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.result-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #f1f1f1;
}
.note {
  background: #e8fbe9;
  padding: 12px;
  border-left: 5px solid #0a8f47;
  margin-top: 10px;
  font-size: 14.5px;
  border-radius: 6px;
  line-height: 1.5;
  white-space: pre-line;
}
.note-yellow {
  background: #fff3cd;
  border-left: 5px solid #ffca2c;
}

/* Jim Corbett result block (like .result in that page) */
.corbet-card {
  background: #ffffff;
  margin: 12px 0;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}
.corbet-card p { margin: 6px 0; font-size: 14px; }
.label { font-weight: bold; color: #0f5132; }

/* August offer badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #e0e0e0;
}
.badge.qualified { background: #e8f5e9; color: #1b5e20; border-color: #c8e6c9; }
.badge.pending { background: #fff3cd; color: #7a5d00; border-color: #ffecb5; }
.badge.disabled { background: #f0f0f0; color: #777; border-color: #e0e0e0; }

/* Party item (copied style) */
.item {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 12px 0;
  text-align: left;
}
.row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.title { font-weight: 700; color: #263238; font-size: 16px; }
.meta { color: #607d8b; font-size: 13px; }
.kv { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.kv div { background: #fafafa; border-radius: 8px; padding: 8px 10px; border: 1px solid #f0f0f0; font-size: 13px; }
.status { margin-top: 10px; display: inline-block; padding: 6px 10px; border-radius: 8px; font-weight: 700; }
.ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.no { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }
