body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f8fc;
  color: #102a43;
}

* {
  box-sizing: border-box;
}

a {
  color: #0b78d1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(135deg, #0b4f7a 0%, #2d8cf0 100%);
  color: #fff;
  padding: 3rem 0;
}

.hero-small {
  padding: 2rem 0;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  opacity: 0.85;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.05;
}

h2 {
  margin-top: 0;
}

.intro {
  max-width: 42rem;
  margin: 0;
  line-height: 1.8;
}

main {
  margin: -2rem auto 3rem;
}

.card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(16, 42, 67, 0.08);
  padding: 2rem;
  margin-top: 1.5rem;
}

.grid-two {
  display: grid;
  gap: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #bcccdc;
  border-radius: 12px;
  font-size: 1rem;
  margin-top: 0.5rem;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  background: #0b78d1;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

button:hover {
  background: #095ea9;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  background: #0b78d1;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  margin-right: 0.75rem;
}

.button-primary:hover {
  background: #095ea9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.token-box {
  background: #f0f4ff;
  border: 1px dashed #c9d7ff;
  padding: 1rem;
  border-radius: 12px;
  overflow-x: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.message {
  margin-bottom: 1rem;
  border: 1px solid #d9e2ec;
  border-radius: 16px;
  padding: 1rem;
  background: #f8fbff;
}

.message-admin {
  background: #edf7f0;
}

.message-reporter {
  background: #f4f8fc;
}

.message-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #52606d;
  margin-bottom: 0.75rem;
}

.attachments {
  margin-top: 1rem;
}

.attachments ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.attachments li {
  margin-top: 0.35rem;
}

.status-open {
  background: #fff4e6;
  color: #a55a00;
  border: 1px solid #ffddaa;
}

.status-progress {
  background: #e8f3ff;
  color: #1f5fbf;
  border: 1px solid #b4d4ff;
}

.status-closed {
  background: #e6f9f0;
  color: #0f6d3a;
  border: 1px solid #a8e1c8;
}

.progress-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step {
  flex: 1;
  padding: 0.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
}

.step.active {
  background: #0b78d1;
  color: #fff;
}

.card-error {
  border-color: #f8d7da;
  background: #fff1f2;
  color: #842029;
}

.card-success {
  border-color: #d1e7dd;
  background: #f0fdf4;
  color: #155724;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  color: #0b78d1;
  background: #fff;
  border: 1px solid #bcccdc;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-secondary:hover {
  background: #f1f5f9;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #eef4ff;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #d9e2ec;
}

tbody tr:hover {
  background: #f8fbff;
}

.note {
  background: #eef6ff;
  border: 1px solid #c9e2ff;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.info-block ul {
  padding-left: 1.25rem;
  line-height: 1.7;
}

.info-block li + li {
  margin-top: 0.4rem;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.support-links .button-secondary {
  min-width: fit-content;
}

@media (max-width: 820px) {
  .grid-two {
    display: block;
  }
}
