body.partner-auth-page{
  min-height:100vh;
  padding:24px;
  background:
    radial-gradient(circle at top right, rgba(62,182,198,.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(20,92,110,.18), transparent 24%),
    linear-gradient(145deg, #0c202b 0%, #123645 44%, #173e4d 100%);
  align-items:stretch;
  justify-content:center;
  font-family:"Aptos","Segoe UI Variable Display","Trebuchet MS",sans-serif;
}

body.partner-auth-page::before,
body.partner-auth-page::after{
  content:"";
  position:fixed;
  width:360px;
  height:360px;
  border-radius:50%;
  pointer-events:none;
  filter:blur(14px);
  opacity:.28;
  z-index:0;
}

body.partner-auth-page::before{
  top:-100px;
  right:-80px;
  background:radial-gradient(circle, rgba(73,197,207,.48), transparent 68%);
}

body.partner-auth-page::after{
  bottom:-140px;
  left:-70px;
  background:radial-gradient(circle, rgba(74,120,199,.34), transparent 68%);
}

.auth-shell{
  position:relative;
  z-index:1;
  width:min(1180px, 100%);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(360px, .82fr);
  gap:26px;
  align-items:stretch;
}

.auth-brand-panel,
.auth-form-card{
  backdrop-filter:blur(18px);
}

.auth-brand-panel{
  display:grid;
  gap:26px;
  align-content:start;
  padding:34px;
  border-radius:34px;
  border:1px solid rgba(156,207,216,.16);
  background:linear-gradient(155deg, rgba(12,34,47,.9), rgba(18,59,76,.76));
  box-shadow:0 30px 72px rgba(4,17,25,.34);
  color:#edf5f7;
}

.auth-brand-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.auth-brand-mark{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  padding:12px;
  border-radius:24px;
  background:linear-gradient(145deg, rgba(247,252,253,.98), rgba(213,234,239,.94));
  box-shadow:0 16px 30px rgba(6,21,31,.24);
}

.auth-brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.auth-brand-chip,
.auth-form-badge,
.auth-brand-eyebrow,
.auth-brand-metric__label{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.auth-brand-chip{
  background:rgba(143,215,223,.12);
  border:1px solid rgba(143,215,223,.18);
  color:#9fe2e8;
}

.auth-brand-copy{
  display:grid;
  gap:14px;
}

.auth-brand-eyebrow{
  margin:0;
  background:rgba(16,128,143,.12);
  color:#7fdbe5;
}

.auth-brand-panel h1{
  margin:0;
  max-width:12ch;
  font-family:"Bahnschrift SemiBold","Aptos Display","Trebuchet MS",sans-serif;
  font-size:clamp(38px, 6vw, 64px);
  line-height:.98;
  letter-spacing:-.05em;
}

.auth-brand-lead{
  margin:0;
  max-width:56ch;
  color:rgba(233,243,246,.78);
  font-size:17px;
  line-height:1.8;
}

.auth-brand-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.auth-brand-metric{
  display:grid;
  gap:12px;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(151,205,215,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

.auth-brand-metric__label{
  padding:0;
  min-height:auto;
  background:none;
  color:#8fd7df;
}

.auth-brand-metric strong{
  font-size:20px;
  line-height:1.35;
  letter-spacing:-.02em;
}

.auth-form-panel{
  display:flex;
  align-items:center;
}

.auth-form-card{
  width:100%;
  display:grid;
  gap:22px;
  padding:34px;
  border-radius:34px;
  border:1px solid rgba(169,210,220,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(239,247,249,.95));
  box-shadow:0 28px 70px rgba(6,22,32,.22);
  color:#123244;
}

.auth-form-head{
  display:grid;
  gap:10px;
}

.auth-form-badge{
  margin:0;
  background:rgba(16,128,143,.1);
  color:#0b6a76;
}

.auth-form-head h2{
  margin:0;
  font-family:"Bahnschrift SemiBold","Aptos Display","Trebuchet MS",sans-serif;
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.auth-form-head p{
  margin:0;
  color:#60788a;
  line-height:1.7;
}

.auth-field-group{
  display:grid;
  gap:8px;
}

.auth-field-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.partner-auth-page label{
  margin-bottom:0;
  color:#304658;
  font-size:14px;
  font-weight:700;
}

.partner-auth-page input,
.partner-auth-page select{
  margin-bottom:0;
  min-height:52px;
  border-radius:14px;
  border:1px solid rgba(148,180,193,.48);
  background:linear-gradient(180deg, #fbfdfe, #f2f7f9);
  color:#143042;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.partner-auth-page input::placeholder{
  color:#8da1af;
}

.partner-auth-page input:focus,
.partner-auth-page select:focus{
  border-color:#1f7180;
  box-shadow:0 0 0 4px rgba(31,113,128,.14);
}

.auth-remember-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:-4px;
}

.auth-remember{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#42586b;
  font-weight:600;
  cursor:pointer;
}

.partner-auth-page .auth-remember input{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  min-width:18px;
  height:18px;
  min-height:18px;
  padding:0;
  margin:0;
  border-radius:6px;
  border:1.5px solid rgba(87,119,136,.7);
  background:#fff;
  box-shadow:none;
  display:inline-block;
}

.partner-auth-page .auth-remember input:checked{
  border-color:#0d7380;
  background:
    linear-gradient(135deg, rgba(12,115,128,.98), rgba(26,145,160,.96));
  background-image:
    linear-gradient(135deg, rgba(12,115,128,.98), rgba(26,145,160,.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.5 6.5 11.6 12.8 4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:auto, 11px 11px;
}

.partner-auth-page .auth-remember input:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(13,115,128,.14);
}

.auth-link{
  color:#29546a;
  font-weight:600;
  text-decoration:none;
}

.auth-link:hover,
.auth-footer a:hover{
  text-decoration:underline;
}

.auth-btn-primary,
.auth-btn-secondary,
.auth-btn-link{
  min-height:54px;
  border-radius:14px;
  font-size:15px;
  letter-spacing:.01em;
}

.auth-btn-primary{
  background:linear-gradient(135deg, #15394b, #285c73);
  box-shadow:0 16px 28px rgba(20,57,75,.18);
}

.auth-btn-primary:hover{
  background:linear-gradient(135deg, #123244, #214f64);
}

.auth-btn-secondary,
.auth-btn-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:linear-gradient(180deg, #f8fafb, #edf2f5);
  color:#18394a;
  border:1px solid rgba(151,179,191,.55);
}

.auth-divider{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8a9dab;
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.auth-divider::before{
  content:"";
  position:absolute;
  inset:50% 0 auto;
  border-top:1px solid rgba(153,181,193,.35);
}

.auth-divider span{
  position:relative;
  z-index:1;
  padding:0 12px;
  background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(239,247,249,.95));
}

.auth-footer{
  margin:0;
  text-align:center;
  color:#5d7485;
  font-size:14px;
}

.auth-footer a{
  color:#275068;
  font-weight:700;
  text-decoration:none;
}

.auth-section-card{
  display:grid;
  gap:18px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(153,184,196,.36);
  background:linear-gradient(180deg, rgba(250,253,254,.92), rgba(243,248,250,.9));
}

.auth-section-head{
  display:grid;
  gap:6px;
}

.auth-section-head strong{
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.auth-section-head span{
  color:#637b8c;
  line-height:1.6;
}

.auth-progress-stack{
  display:grid;
  gap:18px;
}

@media (max-width: 980px){
  body.partner-auth-page{
    padding:18px;
  }

  .auth-shell{
    grid-template-columns:1fr;
  }

  .auth-brand-panel,
  .auth-form-card{
    padding:26px;
    border-radius:28px;
  }

  .auth-brand-top,
  .auth-remember-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .auth-brand-grid,
  .auth-field-grid{
    grid-template-columns:1fr;
  }

  .auth-brand-panel h1{
    max-width:none;
    font-size:clamp(34px, 10vw, 52px);
  }

  .auth-form-head h2{
    font-size:30px;
  }
}

@media (max-width: 560px){
  body.partner-auth-page{
    padding:12px;
  }

  .auth-brand-panel,
  .auth-form-card{
    padding:22px;
    border-radius:24px;
  }

  .auth-brand-mark{
    width:64px;
    height:64px;
    border-radius:20px;
  }

  .auth-brand-chip,
  .auth-form-badge,
  .auth-brand-eyebrow,
  .auth-brand-metric__label{
    letter-spacing:.14em;
  }

  .auth-section-card{
    padding:18px;
    border-radius:20px;
  }

  .auth-section-head strong{
    font-size:20px;
  }
}
