/* ================================
   AUTHORITY PAGES – SHARED UI
================================ */

body {
  background:#070b12;
  color:#000;
  font-family: Inter, system-ui, Arial;
}

.wrap {
  max-width:1200px;
  margin:0 auto;
  padding:32px 18px 80px;
}

.h1 {
  font-size:30px;
  font-weight:800;
  margin-bottom:10px;
}

.sub {
  opacity:.7;
  max-width:900px;
  line-height:1.55;
  margin-bottom:22px;
}

.section {
  margin-top:36px;
}

.section h2 {
  font-size:20px;
  margin-bottom:6px;
}

.section p {
  opacity:.65;
  margin-bottom:14px;
}

/* GRID */
.grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

@media(max-width:1024px){
  .grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:640px){
  .grid { grid-template-columns:1fr; }
}

/* CARD */
.card {
  background:linear-gradient(180deg,#0c1322,#070b12);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  position:relative;
}

/* TOP */
.top {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.title {
  font-size:16px;
  font-weight:800;
  margin:0;
}

.meta {
  font-size:12px;
  opacity:.65;
  margin-top:6px;
}

/* BADGES */
.ap-badge {
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid;
  white-space:nowrap;
}

.b-end {
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.4);
  color:#2fe88a;
}

.b-inv {
  background:rgba(251,191,36,.12);
  border-color:rgba(251,191,36,.4);
  color:#ffd666;
}

.b-bal {
  background:rgba(96,165,250,.12);
  border-color:rgba(96,165,250,.4);
  color:#93c5fd;
}

/* PILLS */
.pillRow {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.ap-pill {
  display:flex;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  font-size:12px;
}

.ap-pill .k {
  opacity:.6;
}
.ap-pill .v {
  font-weight:700;
}

/* REASONS */
.reasons {
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.reason {
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(34,197,94,.12), rgba(34,197,94,.04));
  border:1px solid rgba(34,197,94,.25);
  font-size:12px;
}

/* BUTTONS */
.btnRow {
  display:flex;
  gap:10px;
  margin-top:14px;
}

.btn {
  padding:10px 14px;
  border-radius:12px;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  color:#06120a;
  background:linear-gradient(180deg,#2fe88a,#1ecf74);
  border:none;
}

.btn.outline {
  background:transparent;
  color:#cfe6ff;
  border:1px solid rgba(255,255,255,.18);
}

.btn:hover {
  transform:translateY(-1px);
}
