* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, #3a2416 0%, #1a1410 55%, #100c09 100%);
  color: #fff;
  min-height: 100vh;
  padding: 48px 20px 60px;
}
a { color: inherit; }
.wrap { max-width: 760px; margin: 0 auto; }
.wrap.narrow { max-width: 420px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.topbar a.logout {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 8px;
}
.topbar a.logout:hover { border-color: #ff5a1f; color: #fff; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.breadcrumb a { color: #ff8a3d; text-decoration: none; }
.eyebrow {
  color: #ff5a1f;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 8px; font-weight: 600; }
.subtitle { color: rgba(255,255,255,0.6); margin: 0 0 32px; font-size: 15px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.card:hover { border-color: #ff5a1f; background: rgba(255,90,31,0.1); }
.card-name { font-size: 17px; font-weight: 600; }
.card-slug { color: rgba(255,255,255,0.4); font-size: 13px; margin-top: 3px; }
.card-meta { display: flex; align-items: center; gap: 18px; }
.card-count {
  font-size: 13px;
  color: #ff8a3d;
  background: rgba(255,90,31,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.card-links { display: flex; gap: 10px; }
.card-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
}
.card-links a:hover { border-color: #ff5a1f; color: #fff; }
.empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
}
.field {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  outline: none;
}
.field:focus { border-color: #ff5a1f; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  background: #ff5a1f;
  color: #fff;
  cursor: pointer;
}
.btn:hover { background: #e64a0f; }
.btn.btn-danger { background: transparent; border: 1px solid #e5484d; color: #ff9a9d; padding: 8px 14px; font-size: 13px; }
.btn.btn-danger:hover { background: rgba(229,72,77,0.12); }
.error-box {
  background: rgba(229,72,77,0.12);
  border: 1px solid #e5484d;
  color: #ff9a9d;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
table.data-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
table.data-table th, table.data-table td { text-align: left; padding: 6px 0; font-size: 14px; }
table.data-table th { color: rgba(255,255,255,0.4); font-weight: 500; width: 40%; }
.submission-card {
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.submission-date {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.recipient-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  margin-bottom: 10px;
}
.recipient-form { display: flex; gap: 10px; margin-top: 24px; }
.recipient-form .field { flex: 1; }
