/* ==========================================================================
   isplati.se Business — zasebna prijava za partnere
   Namespace .pa; ne dira javne strane, ds.css ni partner-console.css.
   ========================================================================== */
.pa, .pa * { box-sizing: border-box; }
.pa {
  --ink: #0B1320; --ink-2: #16202F; --lime: #A6FF00; --lime-600: #86D000;
  --surface: #FFFFFF; --bg: #F4F6F5; --line: #E3E8E5; --line-2: #D3DAD6;
  --muted: #5A6472; --subtle: #8B94A0;
  display: grid; grid-template-columns: minmax(420px, 44%) minmax(0, 1fr);
  min-height: 100vh; min-height: 100dvh; background: var(--bg);
  font-family: Manrope, Inter, system-ui, -apple-system, sans-serif; color: var(--ink);
  font-size: 15px; line-height: 22px;
}
.pa h1, .pa h2, .pa p, .pa ul { margin: 0; }
.pa a { color: inherit; }
.pa :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--lime); border-radius: 8px; }

/* ---------- leva strana: brend ---------- */
.pa-aside {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: 36px 40px 28px; color: #fff; overflow: hidden;
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(166, 255, 0, .16) 0%, rgba(166, 255, 0, 0) 55%),
    radial-gradient(120% 80% at 0% 100%, #1B2A3A 0%, rgba(27, 42, 58, 0) 60%),
    var(--ink);
}
.pa-aside::after {
  content: ""; position: absolute; right: -120px; bottom: -140px; width: 380px; height: 380px;
  border-radius: 999px; border: 1px solid rgba(166, 255, 0, .18); pointer-events: none;
}
.pa-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; }
.pa-brand-logo { height: 34px; width: auto; display: block; }
.pa-brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-weight: 900; font-size: 18px; letter-spacing: -.04em;
}
.pa-brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.pa-brand-name span { color: var(--lime); }
.pa-brand-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--lime);
  border: 1px solid rgba(166, 255, 0, .4); border-radius: 999px; padding: 4px 8px;
}
.pa-aside-body { margin-top: auto; margin-bottom: auto; max-width: 520px; position: relative; z-index: 1; }
.pa-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.pa-title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin-top: 12px; }
.pa-lead { margin-top: 14px; color: #C9D1CD; font-size: 15.5px; line-height: 24px; max-width: 460px; }
.pa-benefits { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pa-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.pa-b-ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: var(--lime); border: 1px solid rgba(255, 255, 255, .09);
}
.pa-benefits b { display: block; font-size: 13.5px; font-weight: 800; color: #fff; }
.pa-benefits span span { display: block; font-size: 12.5px; line-height: 18px; color: #9BA69F; margin-top: 1px; }
.pa-aside-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: #8E9A93; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.pa-aside-foot a { color: var(--lime); font-weight: 700; text-decoration: none; }
.pa-aside-foot a:hover { text-decoration: underline; }

/* ---------- desna strana: forma ---------- */
.pa-main { display: flex; flex-direction: column; padding: 24px clamp(20px, 4vw, 56px) 18px; min-width: 0; }
.pa-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.pa-back { color: var(--muted); text-decoration: none; font-weight: 600; }
.pa-back:hover { color: var(--ink); }
.pa-help { color: var(--muted); text-decoration: none; font-weight: 700; }
.pa-help:hover { color: var(--ink); text-decoration: underline; }
.pa-card {
  width: 100%; max-width: 440px; margin: auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 24px;
  box-shadow: 0 1px 2px rgba(11, 19, 32, .04), 0 24px 64px rgba(11, 19, 32, .08);
}
.pa-card-head .pa-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: rgba(166, 255, 0, .18); color: #3D5B00; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.pa-card-head h2 { font-size: 24px; line-height: 30px; letter-spacing: -.02em; font-weight: 800; margin-top: 12px; }
.pa-card-head p { margin-top: 6px; font-size: 13.5px; line-height: 20px; color: var(--muted); }

.pa-alert {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 16px; padding: 11px 12px;
  border-radius: 11px; background: #FDECEA; border: 1px solid #F3C8C3; color: #7F1D15;
  font-size: 13px; line-height: 19px;
}
.pa-alert .pc-i { flex: none; margin-top: 1px; }

.pa-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.pa-field { display: flex; flex-direction: column; gap: 6px; }
.pa-field label { font-size: 12.5px; font-weight: 700; }
.pa-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pa-label-row a { font-size: 12px; font-weight: 700; color: #3D5B00; text-decoration: none; border-bottom: 1px solid rgba(134, 208, 0, .5); }
.pa-label-row a:hover { color: var(--ink); border-color: var(--ink); }
.pa-field input {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
  padding: 0 13px; font: inherit; font-size: 14.5px; color: var(--ink);
}
.pa-field input::placeholder { color: #A4ACA7; }
.pa-field input:focus { outline: none; border-color: #9EA9A3; box-shadow: 0 0 0 4px rgba(166, 255, 0, .35); }
.pa-field input[aria-invalid="true"] { border-color: #D92D20; }
.pa-err { font-size: 12px; font-weight: 600; color: #B42318; }
.pa-pass { position: relative; }
.pa-pass input { padding-right: 48px; }
.pa-pass-toggle {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px;
  background: none; color: var(--muted); cursor: pointer;
}
.pa-pass-toggle:hover { background: #F3F5F4; color: var(--ink); }
.pa-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.pa-check input { width: 17px; height: 17px; accent-color: var(--ink); }
.pa-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; border: 0; border-radius: 12px; background: var(--lime); color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; margin-top: 2px;
  transition: background-color .15s ease, transform .05s ease;
}
.pa-submit:hover { background: var(--lime-600); }
.pa-submit:active { transform: translateY(1px); }

.pa-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--subtle); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pa-divider::before, .pa-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.pa-alt { text-align: center; }
.pa-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink);
  text-decoration: none; font-size: 14px; font-weight: 800;
}
.pa-btn-ghost:hover { background: #F7F9F8; border-color: #B9C3BD; }
.pa-alt p { margin-top: 8px; font-size: 12px; line-height: 17px; color: var(--subtle); }

.pa-trust { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.pa-trust li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pa-trust .pc-i { color: var(--subtle); flex: none; }

.pa-legal { text-align: center; font-size: 11.5px; color: var(--subtle); padding-top: 18px; }
.pa-legal a { color: var(--muted); font-weight: 700; }

@media (max-width: 980px) {
  .pa { grid-template-columns: minmax(0, 1fr); }
  .pa-aside { min-height: 0; padding: 24px 22px 22px; gap: 18px; }
  .pa-aside::after { display: none; }
  .pa-aside-body { margin: 4px 0 0; }
  .pa-title { font-size: 28px; line-height: 1.1; margin-top: 8px; }
  .pa-lead { font-size: 14px; line-height: 21px; margin-top: 8px; }
  .pa-benefits { display: none; }
  .pa-aside-foot { padding-top: 14px; }
  .pa-main { padding: 16px 16px 20px; }
  .pa-card { margin: 18px auto auto; padding: 22px 20px 20px; border-radius: 16px; box-shadow: 0 8px 24px rgba(11, 19, 32, .06); }
  .pa-legal { padding-top: 14px; }
}
@media (max-width: 420px) {
  .pa-card { padding: 20px 16px 18px; }
  .pa-card-head h2 { font-size: 21px; }
  .pa-brand-name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa *, .pa *::before, .pa *::after { transition: none !important; }
}
