/* Partner registration screen (Property portal + Channel Partner portal): mobile -> OTP -> details. Dark + gold, same look as the portal login page. */
:root { --bg: #070707; --card: #111; --card-2: #161616; --line: rgba(212, 175, 55, .22); --line-strong: rgba(212, 175, 55, .55); --gold: #d4af37; --gold-hi: #f0c75e; --gold-lo: #a9831f; --text: #f5f1e6; --muted: #a59f8d; --danger: #ff6b5e; --ok: #4cd08a; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.pr { margin: 0; color: var(--text); font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(900px 520px at 12% -10%, rgba(212, 175, 55, .16), transparent 60%), radial-gradient(700px 480px at 100% 110%, rgba(212, 175, 55, .10), transparent 60%), linear-gradient(180deg, #0a0a0a 0%, #050505 100%); }
body.pr::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(212, 175, 55, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.pr a { color: inherit; text-decoration: none; }

/* top bar: logo, Login, Back to zingara.club - nothing else */
.pr-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, .7); backdrop-filter: blur(6px); }
.pr-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .06em; font-size: 1rem; }
.pr-brand img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); padding: 2px; background: #000; }
.pr-brand small { display: block; font-size: .62rem; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.pr-links { display: flex; align-items: center; gap: 10px; }
.pr-links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: .84rem; font-weight: 700; border: 1px solid var(--line-strong); color: var(--gold-hi); transition: background .15s, color .15s; }
.pr-links a:hover { background: rgba(212, 175, 55, .12); }
.pr-links a.is-fill { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: #1a1405; border-color: transparent; }
.pr-links a.is-fill:hover { filter: brightness(1.06); }
.pr-links svg { width: 16px; height: 16px; }

.pr-main { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; padding: 34px 20px 40px; }
.pr-shell { width: 100%; max-width: 460px; }
.pr-hero { text-align: center; margin-bottom: 20px; }
.pr-hero h1 { margin: 0 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: 1.9rem; color: var(--gold); letter-spacing: .02em; }
.pr-hero p { margin: 0; color: var(--muted); font-size: .9rem; }

.pr-card { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .04); }
.pr-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)); }

/* progress */
.pr-steps { display: flex; list-style: none; margin: 0 0 22px; padding: 0; gap: 8px; }
.pr-steps li { flex: 1; text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6f6a5c; position: relative; padding-top: 30px; }
.pr-steps li::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: #1b1b1b; border: 1px solid #2d2d2d; color: #8c8574; }
.pr-steps li::after { content: ""; position: absolute; top: 11px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: #2a2a2a; }
.pr-steps li:last-child::after { display: none; }
.pr-steps li.is-on { color: var(--gold-hi); }
.pr-steps li.is-on::before { background: var(--gold); border-color: var(--gold); color: #1a1405; }
.pr-steps li.is-done { color: var(--ok); }
.pr-steps li.is-done::before { content: "\2713"; background: rgba(76, 208, 138, .15); border-color: var(--ok); color: var(--ok); }
.pr-steps li.is-done::after { background: var(--ok); }

.pr-card h2 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 700; }
.pr-card .sub { margin: 0 0 20px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.pr-step { display: none; } .pr-step.is-on { display: block; animation: prin .22s ease; }
@keyframes prin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 7px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfc8b3; }
.control { position: relative; }
.control .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gold); opacity: .85; pointer-events: none; }
.control input { width: 100%; height: 50px; padding: 0 44px 0 44px; border-radius: 12px; border: 1px solid #2a2a2a; background: #0b0b0b; color: var(--text); font: inherit; font-size: .96rem; outline: none; transition: border-color .15s, box-shadow .15s; }
.control input::placeholder { color: #6f6a5c; }
.control input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .14); }
.control input[readonly] { opacity: .75; cursor: not-allowed; }
.control.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 94, .12); }
.control .prefix { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .96rem; pointer-events: none; }
.control.has-prefix input { padding-left: 78px; }
.otp input { text-align: center; letter-spacing: .6em; font-size: 1.3rem; font-weight: 700; padding: 0 20px 0 calc(20px + .6em); }
.toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.toggle:hover { color: var(--gold); background: rgba(212, 175, 55, .08); } .toggle svg { width: 19px; height: 19px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; font-size: .82rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.agree input { accent-color: var(--gold); width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; }

.btn { width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: .96rem; letter-spacing: .05em; color: #1a1405; background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%); box-shadow: 0 10px 26px rgba(212, 175, 55, .28), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .08s, filter .15s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: translateY(1px); } .btn[disabled] { opacity: .7; cursor: progress; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 20, 5, .35); border-top-color: #1a1405; animation: prsp .7s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
@keyframes prsp { to { transform: rotate(360deg); } }
.linkrow { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--gold); cursor: pointer; }
.linkbtn:hover { color: var(--gold-hi); text-decoration: underline; } .linkbtn[disabled] { color: #6f6a5c; cursor: default; text-decoration: none; }

.alert { display: none; margin-bottom: 16px; padding: 11px 14px; border-radius: 10px; font-size: .86rem; line-height: 1.4; border: 1px solid; }
.alert.show { display: block; }
.alert.error { color: #ffd2cd; background: rgba(255, 107, 94, .1); border-color: rgba(255, 107, 94, .4); }
.alert.info { color: #ffe9a8; background: rgba(212, 175, 55, .1); border-color: rgba(212, 175, 55, .4); }
.alert.ok { color: #c7f5dc; background: rgba(76, 208, 138, .1); border-color: rgba(76, 208, 138, .4); }
.pr-foot { text-align: center; margin-top: 18px; color: #6f6a5c; font-size: .78rem; }
.pr-foot b { color: var(--gold); font-weight: 600; }
@media (max-width: 575.98px) { .pr-top { padding: 12px 14px; } .pr-brand span small { display: none; } .pr-links a { height: 36px; padding: 0 12px; font-size: .78rem; } .pr-links a .t-long { display: none; } .pr-card { padding: 22px 18px 20px; } .two { grid-template-columns: 1fr; } .pr-hero h1 { font-size: 1.55rem; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
