:root {
  --navy: #0B1F3D;
  --navy-2: #14294D;
  --red: #E23744;
  --red-dark: #BE2635;
  --ink: #101623;
  --muted: #5B6472;
  --line: #E2E5EB;
  --bg: #F4F5F8;
  --surface: #ffffff;
  --accent: #E23744;
  --accent-ink: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px circle at 50% -8%, rgba(11,31,61,0.12), transparent 55%),
    radial-gradient(rgba(11,31,61,0.06) 1px, transparent 1px);
  background-size: auto, 16px 16px;
  background-repeat: no-repeat, repeat;
  background-attachment: fixed, fixed;
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .brand-word {
  font-family: "Archivo", "Manrope", sans-serif;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 20px 64px;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  font-weight: 800;
}

a { color: var(--red); font-weight: 600; text-decoration: none; }
a:active { opacity: 0.8; }

.lede {
  color: var(--muted);
  margin: 0 0 28px;
}

/* logo, shared header */
.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 22px;
}
.site-header a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { width: 30px; height: 30px; flex-shrink: 0; }
.brand-word {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.action-row {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}
.action-row a {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.action-row .edit-link {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: #fff;
}
.action-row .logout-link {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.id-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: #E4EAF3;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(11,31,61,0.04), 0 10px 24px -14px rgba(11,31,61,0.18);
}

.card h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.big-number {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.1;
}

.info-list {
  margin: 0 0 6px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-list li {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
.info-list li::marker { color: var(--red); font-size: 1.2em; }
.info-list.muted li { color: var(--muted); }

.money-bubble {
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
  margin: 4px 0 16px;
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(11,31,61,0.4);
}
.money-bubble.navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.money-bubble.red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.money-bubble .money-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 8px;
}
.money-bubble .money-amount {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  min-height: 48px;
}

.btn:active { opacity: 0.85; }

form { display: flex; flex-direction: column; gap: 16px; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

.clabe-value {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  user-select: all;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}

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

input[type="file"] {
  width: 100%;
  font-size: 0.9rem;
}

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-option {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-option input { margin-right: 6px; }

.error {
  background: #FBEAEA;
  border: 1px solid var(--red);
  color: #8A1D28;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 28px;
}

th, td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.status-pending { background: #FDEFD9; color: #966016; }
.status-approved { background: #E3EFEC; color: #1B6E6A; }
.status-rejected { background: #F3D9D9; color: #A13F3F; }

.status-form { display: inline-flex; gap: 4px; margin-top: 4px; }
.status-form button {
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* landing page */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 30px 24px 28px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(11,31,61,0.55);
}
.hero .hero-rocket {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.18;
  margin: 0 0 10px;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}
.hero p {
  color: #C9D3E4;
  font-size: 0.98rem;
  margin: 0;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,55,68,0.4), transparent 70%);
}
.hero::before {
  content: "";
  position: absolute;
  left: -30px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}

.path-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(11,31,61,0.04), 0 16px 32px -18px rgba(11,31,61,0.22);
}
.path-card .path-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.path-card.sell .path-tag { background: #FBE7E9; color: var(--red-dark); }
.path-card.host .path-tag { background: #E4EAF3; color: var(--navy); }
.path-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--navy);
  text-wrap: balance;
}
.path-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.path-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.path-card li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  margin-top: 2px;
}
.path-card li .li-text {
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
}
.path-card.sell li .check { background: var(--red); }
.path-card.host li .check { background: var(--navy); }
.path-card.sell .highlight { color: var(--red-dark); font-weight: 700; }
.path-card.host .highlight { color: var(--navy); font-weight: 700; }
.path-card.sell .btn { background: var(--red); }
.path-card.host .btn { background: var(--navy); }

.login-hint {
  text-align: center;
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.login-hint a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 480px) {
  .wrap { padding: 16px 16px 48px; }
}
