/* Authentication is one purchase step: shared rhythm, price hierarchy and narrow header. */
.auth-page .wrap{box-sizing:border-box;width:100%;max-width:528px;margin:32px auto;padding:0 24px 64px}
.auth-page .card{box-sizing:border-box;padding:32px;border-radius:16px;border-color:#dce5e7}
.auth-page .card h1{font-size:28px;line-height:1.2;letter-spacing:-.02em;margin:0 0 12px;font-weight:700}
.auth-page .card .sub{font-size:16px;line-height:1.5;color:#52616b;margin:0 0 24px}
.auth-page .purchase-context{margin:0 0 24px;padding:0;background:none;color:#011627;font-size:16px;line-height:1.5}
.auth-page .purchase-steps{list-style:none;display:grid;grid-template-columns:auto 1fr auto;gap:12px;margin:0 0 24px;padding:0;color:#52616b}
.auth-page .purchase-steps li{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:400;white-space:nowrap}
.auth-page .purchase-steps li:first-child{justify-content:flex-start}
.auth-page .purchase-steps li:last-child{justify-content:flex-end}
.auth-page .purchase-steps li>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border:1px solid #ccd7db;border-radius:50%;font-size:14px;line-height:1}
.auth-page .purchase-steps [aria-current=step]{color:#006e69;font-weight:700}
.auth-page .purchase-steps [aria-current=step]>span{color:#fff;background:#007672;border-color:#007672}
.auth-page #purchaseVariant{margin:0 0 12px;font-size:16px;font-weight:700;line-height:1.4}
.auth-page .purchase-context .purchase-price{margin:0;padding:20px;background:#eef8f7;border:1px solid #cce4e1;border-radius:12px;line-height:1.5;font-size:16px}
.auth-page .purchase-price-glowna{display:block}
.auth-page .purchase-price-kwota{display:block;margin:0 0 8px;color:#006e69;font-size:36px;font-weight:700;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
.auth-page .purchase-price-opis{display:block;font-size:16px;line-height:1.5;flex:none}
.auth-page .purchase-price-potem{display:block;margin:12px 0 0;padding-top:12px;border-top:1px solid #cce4e1;color:#52616b;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums}
.auth-page .purchase-price-rezygnacja{display:block;margin-top:8px;color:#52616b;font-size:16px;line-height:1.5;text-wrap:pretty}
.auth-page .purchase-price-glowna+.purchase-price-rezygnacja{margin-top:12px;padding-top:12px;border-top:1px solid #cce4e1}
.auth-page .auth-choice{order:0;gap:4px;padding:4px;margin-bottom:24px;border-radius:10px;background:#f4f7f7}
.auth-page .auth-choice a,.auth-page .auth-choice span{padding:8px;min-height:44px;line-height:1.25;border-radius:6px;white-space:nowrap}
.auth-page .card .btn-lg{min-height:48px;border-radius:8px;font-size:16px;font-weight:700}
.auth-page .password-row input{padding-right:132px}
.auth-page .row2 .field{min-width:0}
@media(max-width:1279.98px){
  .auth-page header .bar{flex-wrap:nowrap;gap:8px;min-height:64px;padding:8px 16px}
  .auth-page header .bar .brand{min-width:0;margin-right:auto;flex:1}
  .auth-page header .bar .brand img{width:auto;max-width:calc(100vw - 164px);height:26px}
  .auth-page header .bar .brand svg{width:28px;height:28px;flex-shrink:0}
  .auth-page header .bar #authnav:has(>a){display:none}
  html .auth-page header .bar:has(.locale-switch) .locale-switch{order:1;margin:0;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font:700 14px/1 Lato,sans-serif}
  .auth-page header .bar .toze-burger{order:3;position:static;flex:0 0 44px;margin:0}
  .auth-page header .bar nav.open{position:absolute;top:100%;left:0;right:0;width:auto;margin:0;padding:12px 16px}
}
@media(max-width:520px){
  .auth-page .wrap{margin:24px auto;padding:0 16px 48px}
  .auth-page .card{padding:24px}
  .auth-page .card h1{font-size:26px}
  .auth-page .purchase-steps{gap:8px}
  .auth-page .purchase-steps li{flex-direction:column;gap:6px}
  .auth-page .purchase-steps li:first-child,.auth-page .purchase-steps li:last-child{justify-content:center}
  .auth-page .purchase-context .purchase-price{padding:16px}
  .auth-page .purchase-price-kwota{font-size:32px}
}
@media(max-width:359.98px){
  .auth-page .card{padding:20px 16px}
  .auth-page .purchase-steps li{font-size:13px}
  .auth-page .auth-choice a,.auth-page .auth-choice span{padding-inline:4px}
}
@media(max-width:389.98px){
  .auth-page .row2{flex-direction:column;align-items:stretch;gap:0}
}
@media(min-width:960px){
  .auth-page .wrap:has(.card>.purchase-context:not([hidden]):not([style*="none"])){max-width:960px;margin-top:48px}
  .auth-page .card:has(>.purchase-context:not([hidden]):not([style*="none"])){display:grid;grid-template-columns:320px minmax(0,1fr);column-gap:40px;align-items:start;padding:40px}
  .auth-page .card:has(>.purchase-context:not([hidden]):not([style*="none"]))>*{grid-column:2;min-width:0}
  .auth-page .card:has(>.purchase-context:not([hidden]):not([style*="none"]))>.purchase-context{grid-column:1;grid-row:1 / span 20;margin:0}
  .auth-page .purchase-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .auth-page .purchase-steps li{flex-direction:column;gap:6px}
}
/* Keep the 44px click target while drawing a conventional, compact checkbox. */
.auth-page .consent input[type=checkbox]{appearance:none;position:relative;display:grid;place-content:center;background:transparent;border:0;border-radius:6px}
.auth-page .consent input[type=checkbox]::before{content:"";display:block;box-sizing:border-box;width:20px;height:20px;border:1.5px solid #82969e;border-radius:4px;background:#fff}
.auth-page .consent input[type=checkbox]:checked::before{background:#007672;border-color:#007672}
.auth-page .consent input[type=checkbox]:checked::after{content:"";position:absolute;left:19px;top:14px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.auth-page .consent input[type=checkbox]:focus-visible{outline:2px solid #011627;outline-offset:2px}
@media(forced-colors:active){.auth-page .consent input[type=checkbox]{appearance:auto}.auth-page .consent input[type=checkbox]::before,.auth-page .consent input[type=checkbox]::after{display:none}}

.auth-page .consent-optional{display:block;margin-top:4px}
