:root{
  --ship-dark:#08131a;
  --ship-dark-soft:#10262c;
  --ship-lime:#d9ff78;
  --ship-bg:#f6f7f3;
  --ship-text:#0b2028;
  --ship-muted:#687b79;
  --ship-border:#dce4dc;
}

*{box-sizing:border-box}

html{min-height:100%}

body{
  margin:0;
  min-height:100vh;
  background:var(--ship-bg);
  color:var(--ship-text);
  font-family:"DM Sans",Arial,sans-serif;
}

a{color:inherit}

.ship-header{
  background:var(--ship-dark);
  color:#fff;
  border-bottom:1px solid #24383d;
}

.ship-header-inner{
  max-width:1240px;
  margin:auto;
  min-height:88px;
  padding:16px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.ship-brand{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
  text-decoration:none;
}

.ship-brand img{
  display:block;
  width:158px;
  max-height:55px;
  object-fit:contain;
}

.ship-navigation{
  display:flex;
  align-items:center;
  gap:26px;
}

.ship-navigation a{
  color:#d7e5df;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.ship-navigation a:hover{
  color:var(--ship-lime);
}

.ship-header-action{
  padding:12px 18px;
  background:var(--ship-lime);
  color:var(--ship-dark)!important;
  border-radius:9px;
  font-weight:800!important;
}

.ship-main{
  min-height:calc(100vh - 160px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:72px 20px;
}

.ship-auth-card{
  width:100%;
  max-width:470px;
  padding:43px;
  background:#fff;
  border:1px solid var(--ship-border);
  border-radius:19px;
  box-shadow:0 20px 55px rgba(8,19,26,.06);
}

.ship-eyebrow{
  margin-bottom:15px;
  color:#526c60;
  font-size:11px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.ship-auth-card h1{
  margin:0 0 12px;
  font-family:Manrope,Arial,sans-serif;
  font-size:31px;
  font-weight:800;
  letter-spacing:-1.3px;
}

.ship-description{
  margin:0 0 33px;
  color:var(--ship-muted);
  font-size:14px;
  line-height:1.8;
}

.ship-auth-card label{
  display:block;
  margin:0 0 9px;
  font-size:13px;
  font-weight:800;
}

.ship-auth-card input{
  display:block;
  width:100%;
  height:51px;
  margin-bottom:22px;
  padding:12px 15px;
  background:#fbfcfa;
  border:1px solid #d5dfd6;
  border-radius:10px;
  color:var(--ship-text);
  font:inherit;
  font-size:14px;
}

.ship-auth-card input:focus{
  outline:3px solid var(--ship-lime);
  outline-offset:1px;
  border-color:#7e9b70;
}

.ship-submit{
  width:100%;
  min-height:52px;
  padding:14px;
  background:var(--ship-lime);
  color:var(--ship-dark);
  border:0;
  border-radius:10px;
  font:inherit;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:background .2s;
}

.ship-submit:hover{
  background:#c8f261;
}

.ship-submit:disabled{
  opacity:.6;
  cursor:wait;
}

.ship-error{
  color:#a92335;
  font-size:13px;
  line-height:1.6;
}

.ship-links{
  margin-top:28px;
  padding-top:23px;
  border-top:1px solid #e8eee7;
  text-align:center;
  font-size:13px;
  line-height:2.4;
}

.ship-links a{
  color:#285943;
  font-weight:800;
  text-decoration:none;
}

.ship-links a:hover{
  text-decoration:underline;
}

.ship-footer{
  padding:26px 20px;
  background:var(--ship-dark);
  color:#9db0ab;
  text-align:center;
  font-size:12px;
}

@media(max-width:900px){
  .ship-navigation{display:none}
  .ship-header-inner{min-height:76px}
}

@media(max-width:540px){
  .ship-header-inner{padding:14px 20px}
  .ship-brand img{width:140px}
  .ship-main{padding:35px 16px}
  .ship-auth-card{padding:32px 23px}
  .ship-auth-card h1{font-size:27px}
}


/* Current 876BOX Ship wordmark and navigation */
.ship-header{
  background:#08131a;
  color:#fff;
  border-bottom:0;
}
.ship-header-inner{
  max-width:1560px;
  min-height:84px;
  margin:auto;
  padding:0 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-bottom:1px solid #ffffff20;
}
.ship-wordmark{
  color:#fff;
  font-family:Manrope,sans-serif;
  font-size:23px;
  font-weight:800;
  letter-spacing:-1.5px;
  text-decoration:none;
  white-space:nowrap;
}
.ship-wordmark em{
  color:#d9ff78;
  font-style:normal;
}
.ship-wordmark small{
  display:none;
}
.ship-navigation{
  display:flex;
  align-items:center;
  gap:36px;
}
.ship-navigation a{
  color:#c0ccce;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.ship-navigation a:hover{
  color:#fff;
}
.ship-navigation .ship-start{
  padding:12px 19px;
  border:1px solid #8ea3a7;
  border-radius:0;
  color:#fff;
  font-weight:700;
}
@media(max-width:900px){
  .ship-navigation{
    display:none;
  }
  .ship-header-inner{
    min-height:72px;
  }
}

/* Display SHIP beside the wordmark in the brand accent */
.ship-wordmark small{
  display:inline-block;
  margin-left:10px;
  color:#d9ff78;
  font-family:Manrope,sans-serif;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  vertical-align:middle;
}

/* Customer portal mobile navigation */
.ship-mobile-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:10px;
  border:1px solid #45645b;
  border-radius:8px;
  background:transparent;
  cursor:pointer;
}

.ship-mobile-toggle span{
  display:block;
  height:2px;
  margin:5px 0;
  background:#d9ff78;
}

@media(max-width:900px){
  .ship-header-inner{position:relative}
  .ship-mobile-toggle{display:block}
  .ship-navigation{
    display:none;
    position:absolute;
    top:100%;
    left:5%;
    right:5%;
    z-index:100;
    padding:12px;
    background:#102b27;
    border:1px solid #45645b;
    border-radius:14px;
    box-shadow:0 18px 45px #0005;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .ship-navigation.is-open{display:flex}
  .ship-navigation a{
    display:block;
    padding:13px 14px;
    color:#fff;
  }
}


/* 876BOX Ship — Modern account registration */

.registration-account-section {
  margin: 26px 0 30px;
}

.registration-section-label {
  display: block;
  margin-bottom: 10px;
  color: #64767a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.registration-account-section h2 {
  margin: 0 0 8px;
  color: #0b2028;
  font-size: clamp(21px, 3vw, 27px);
  letter-spacing: -.035em;
  line-height: 1.2;
}

.registration-account-section > p {
  margin: 0 0 22px;
  color: #66777b;
  font-size: 14px;
  line-height: 1.6;
}

.account-type-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-type-card {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
}

.account-type-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.account-card-content {
  display: flex;
  flex-direction: column;
  min-height: 172px;
  padding: 20px 16px;
  border: 1.5px solid #dfe6e3;
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.account-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: #edf2ed;
  color: #0b2028;
  font-size: 22px;
}

.account-card-content strong {
  display: block;
  margin-bottom: 7px;
  color: #0b2028;
  font-size: 15px;
  font-weight: 800;
}

.account-card-content small {
  color: #697a7d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.account-type-card input:checked + .account-card-content {
  border-color: #94bc39;
  background: #f7fce9;
  box-shadow: 0 0 0 2px rgba(217,255,120,.3);
}

.account-type-card input:focus-visible + .account-card-content {
  outline: 3px solid #94bc39;
  outline-offset: 3px;
}

#businessFields[hidden],
#legalBusinessNameField[hidden],
#tradingNameField[hidden] {
  display: none !important;
}

#businessFields {
  margin: 10px 0 26px;
  padding: 26px;
  border: 1px solid #e0e8e4;
  border-radius: 18px;
  background: #f8faf7;
}

#registerForm label:not(.account-type-card) {
  display: block;
  margin: 18px 0 8px;
  color: #263b42;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

#registerForm input:not([type="radio"]),
#registerForm select,
#registerForm textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d9e2df;
  border-radius: 11px;
  background: #fff;
  color: #0b2028;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

#registerForm textarea {
  min-height: 92px;
  resize: vertical;
}

#registerForm input:not([type="radio"]):focus,
#registerForm select:focus,
#registerForm textarea:focus {
  outline: none;
  border-color: #8fb93d;
  box-shadow: 0 0 0 3px rgba(217,255,120,.25);
}

#registerForm select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23354d52' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

@media (max-width: 680px) {
  .account-type-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-card-content {
    min-height: auto;
    padding: 16px;
  }

  .account-card-icon {
    margin-bottom: 10px;
  }

  #businessFields {
    padding: 18px;
  }
}


/* Registration cards — corrected */

#registerForm .account-type-cards {
display:grid !important;
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
gap:12px !important;
margin:20px 0 28px !important;
}

#registerForm .account-type-card {
display:block !important;
position:relative !important;
margin:0 !important;
padding:0 !important;
cursor:pointer !important;
}

#registerForm .account-type-card input[type="radio"] {
position:absolute !important;
width:1px !important;
height:1px !important;
min-height:0 !important;
margin:0 !important;
padding:0 !important;
opacity:0 !important;
pointer-events:none !important;
}

#registerForm .account-card-content {
display:flex !important;
flex-direction:column !important;
min-height:170px !important;
padding:18px !important;
border:1.5px solid #dfe6e3 !important;
border-radius:16px !important;
background:#fff !important;
box-sizing:border-box !important;
}

#registerForm .account-type-card input:checked + .account-card-content {
border-color:#93b940 !important;
background:#f7fce9 !important;
box-shadow:0 0 0 2px rgba(217,255,120,.25) !important;
}

#registerForm .account-card-content strong {
font-size:14px !important;
font-weight:750 !important;
line-height:1.4 !important;
}

#registerForm .account-card-content small {
font-size:12px !important;
font-weight:400 !important;
line-height:1.55 !important;
}

@media(max-width:760px){
#registerForm .account-type-cards {
grid-template-columns:1fr !important;
}
#registerForm .account-card-content {
min-height:auto !important;
}
}


/* Registration card refinement */

#registerForm .account-type-cards {
  align-items: stretch !important;
}

#registerForm .account-type-card {
  height: 100% !important;
}

#registerForm .account-card-content {
  height: 100% !important;
  min-height: 185px !important;
  padding: 18px !important;
}

#registerForm .account-card-icon {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 16px !important;
  font-size: 19px !important;
}

#registerForm .account-card-content strong {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

#registerForm .account-card-content small {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.registration-trader-note {
  margin: -5px 0 28px;
  padding: 14px 17px;
  border-radius: 11px;
  background: #f3f7ed;
  color: #526467;
  font-size: 13px;
  line-height: 1.6;
}

.registration-trader-note strong {
  color: #0b2028;
}

@media (max-width: 760px) {
  #registerForm .account-card-content {
    min-height: auto !important;
  }
}
