/* /u/apps page */

.paywall {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #7c2d12;          /* dark orange for body text on light orange bg */
}
.paywall.hidden { display: none; }
.paywall-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.paywall h3 { margin: 0 0 6px; font-size: 16px; color: #9a3412; }
.paywall p { color: #7c2d12; }                       /* override .muted gray */
.paywall p.muted { color: #9a3412; opacity: 0.85; }  /* slightly muted but still readable */

.app-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 16px;
  color: #0f172a;          /* dark slate for body text on white card */
}
.app-card h3 { color: #0f172a; }
.app-card p { color: #334155; }                      /* default body text dark */
.app-card p.muted { color: #64748b; }                /* muted but visible */
.app-card.disabled-card {
  background: #f8fafc;
  opacity: 0.7;
}

.app-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.app-icon { flex-shrink: 0; }
.app-meta { flex: 1; }
.app-meta h3 {
  margin: 0 0 4px;
  font-size: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.app-meta p { margin: 4px 0; line-height: 1.5; }
.app-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.badge-soon {
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
}

.how-install {
  margin-top: 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 4px;
  border-left: 3px solid #2070b0;
}
.how-install summary {
  cursor: pointer;
  font-weight: 600;
  color: #1e40af;
}
.how-install ol {
  padding-left: 22px;
  line-height: 1.7;
  margin: 10px 0;
}
.how-install code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* Token management */
.mint-row {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.mint-row input { flex: 1; min-width: 200px; }
.mint-row select { flex-shrink: 0; }

.fresh-token {
  background: rgba(25, 195, 125, 0.10);
  border: 1px solid #19c37d;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 12px 0;
}
.fresh-token.hidden { display: none; }
.fresh-token-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 6px;
}
.fresh-token-value {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fresh-token-value code {
  flex: 1;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
  word-break: break-all;
  font-size: 12px;
  border: 1px solid #cbd5e1;
}

.btn-mini {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  background: #2070b0;
  color: #ffffff;
  border: none;
  cursor: pointer;
}
.btn-mini:hover { background: #1e40af; }

.token-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}
.token-list-item:last-child { border-bottom: none; }
.token-name { font-weight: 600; }
.token-meta { font-size: 11px; color: #64748b; }

.btn-revoke {
  background: transparent;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}
.btn-revoke:hover { background: #fef2f2; }
