/* The partner dashboard (partners.betterlaneagency.com, 3 Dec 2026), in the partner page's blue and navy: the same look
   as the dashboard Thiago approved on the site, now its own page. */
@font-face { font-family: Instrument; src: url('/partners/fonts/instrument-sans-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Instrument; src: url('/partners/fonts/instrument-sans-medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Instrument; src: url('/partners/fonts/instrument-sans-semibold.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }

:root {
  --blue: #1b409d;
  --blue2: #2f62e0;
  --sky: #8fb2ff;
  --ink: #0f1424;
  --muted: #5d6573;
  --line: #e5e7ec;
  --navy: #0a1430;
  --soft: #f5f7fb;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Instrument, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -120px, rgba(47, 98, 224, 0.16), transparent 70%),
    radial-gradient(700px 400px at -10% 30px, rgba(143, 178, 255, 0.14), transparent 70%), #fff;
  overflow-x: clip;
}
button, input { font: inherit; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; border-radius: 20px; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* the bar */
.bar { padding: 28px 24px 0; }
.pill {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(10, 20, 48, 0.35);
  backdrop-filter: blur(10px);
}
.brand img { display: block; height: 24px; width: auto; }
.right { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.langs button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.langs button[aria-pressed='true'] { background: #fff; box-shadow: 0 4px 12px -6px rgba(10, 20, 48, 0.4); }
.langs img { width: 24px; height: 17px; border-radius: 3px; object-fit: cover; }
.out {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.out:hover { border-color: #c8d3ee; }

.main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 56px 24px 96px; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.demo { margin: 0 0 24px; padding: 10px 16px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d9a4; color: #7a5200; font-size: 14px; }

/* buttons */
.send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  box-shadow: 0 16px 30px -14px rgba(27, 64, 157, 0.75);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.send:disabled { opacity: 0.7; }

/* sign in */
.card {
  max-width: 520px;
  margin: 40px auto 0;
  padding: 34px 32px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(10, 20, 48, 0.5), 0 0 0 10px rgba(47, 98, 224, 0.04);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue2); }
.card h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.08; letter-spacing: -0.03em; }
.card p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  font-size: 16px;
  color: var(--ink);
}
.input:focus { outline: none; border-color: var(--blue2); box-shadow: 0 0 0 4px rgba(47, 98, 224, 0.12); background: #fff; }
.note { margin-top: 18px !important; padding: 14px 16px; border-radius: 14px; background: #eef4ff; color: var(--ink) !important; }
.warn { padding: 12px 14px; border-radius: 12px; background: #fff4f2; color: #8a2a1d !important; }
.small { margin-top: 18px !important; font-size: 13.5px; }
.small a { color: var(--blue2); font-weight: 600; }

/* dashboard */
.hello { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
.hello em { font-style: normal; background: linear-gradient(90deg, var(--blue2), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; }

.link-card {
  margin-top: 36px;
  padding: 28px 30px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(520px 300px at 0% 100%, rgba(47, 98, 224, 0.5), transparent 70%),
    radial-gradient(420px 260px at 100% 0%, rgba(143, 178, 255, 0.18), transparent 70%), var(--navy);
  box-shadow: 0 40px 80px -50px rgba(10, 20, 48, 0.8);
}
.link-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.link-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.link {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: 600 17px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #fff;
  overflow-wrap: anywhere;
  user-select: all;
}
.link-hint { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(10, 20, 48, 0.5); }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { font-size: 28px; letter-spacing: -0.02em; font-weight: 600; }
.stat.on { background: linear-gradient(150deg, var(--blue2), var(--blue)); border-color: transparent; }
.stat.on span { color: rgba(255, 255, 255, 0.8); }
.stat.on b { color: #fff; }

.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 16px; align-items: stretch; }
.panel { padding: 24px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(10, 20, 48, 0.5); }
.panel h2 { margin: 0 0 14px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.empty { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { padding: 0 0 10px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
td { padding: 14px 0; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td + td, th + th { padding-left: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #eef1f6; }
.st-meeting { background: #e8efff; color: var(--blue); }
.st-client { background: #e3f6ea; color: #116b35; }
.st-lost { color: var(--muted); }
.payouts { margin: 0; padding: 0; list-style: none; }
.payouts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.payouts li:last-child { border-bottom: 0; }
.payouts small { display: block; font-size: 13px; color: var(--muted); }

.rules-panel { margin-top: 16px; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.rules li { display: flex; gap: 10px; }
.rules i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--blue2); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.terms-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue2); }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1080px; width: calc(100% - 48px); margin: 0 auto 32px; padding: 20px 4px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }

@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .on { grid-column: 1 / -1; }
  .cols, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar { padding: 16px 16px 0; }
  .pill { padding: 8px 8px 8px 16px; }
  .brand img { height: 20px; }
  .langs button { width: 34px; height: 34px; }
  .main { padding: 36px 16px 72px; }
  .card { padding: 26px 20px; }
  .link-card { padding: 22px 18px; }
  .link-row { flex-direction: column; align-items: stretch; }
  .link { font-size: 15px; }
  th:nth-child(3), td:nth-child(3) { display: none; }
  .foot { width: calc(100% - 32px); }
}
