*{box-sizing:border-box}
:root{
  --navy:#132238;
  --navy2:#203552;
  --gold:#b89a55;
  --cream:#f5f3ed;
  --white:#ffffff;
  --text:#202833;
  --muted:#667085;
  --danger:#a63030;
  --success:#1f6d45;
  --border:#d8dee7;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--cream);
  color:var(--text);
  line-height:1.55;
}

a{color:var(--navy)}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:#e7d6a0;
  font-size:.8rem;
  font-weight:800;
}
.eyebrow.dark{color:#7f6730}

button,
.button-link,
.secondary-button,
.logout-button{
  display:inline-block;
  border:0;
  border-radius:6px;
  padding:12px 18px;
  font-size:1rem;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}

button,
.button-link{
  background:var(--gold);
  color:#172338;
}

.secondary-button{
  background:var(--navy);
  color:white;
}

.logout-button{
  background:white;
  color:var(--navy);
  padding:9px 15px;
}

button:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.alert{
  padding:14px;
  border-radius:6px;
  margin:14px 0;
}

.alert.error{
  background:#fff0f0;
  border-left:5px solid var(--danger);
}

.alert.success{
  background:#eaf7ef;
  border-left:5px solid var(--success);
}

.enrollment-header,
.topbar{
  background:var(--navy);
  color:white;
  padding:18px 6vw;
  border-bottom:5px solid var(--gold);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.text-link-light{
  color:white;
  font-weight:700;
  text-decoration:none;
}

.enrollment-page{
  max-width:1120px;
  margin:0 auto;
  padding:35px 20px 70px;
}

.progress-steps{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  margin-bottom:28px;
}

.progress-step{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
}

.progress-step span{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e5e9ef;
  color:#667085;
  display:grid;
  place-items:center;
  font-weight:900;
}

.progress-step strong,
.progress-step small{
  display:block;
}

.progress-step small{
  font-size:.78rem;
}

.progress-step.active{
  color:var(--navy);
}

.progress-step.active span{
  background:var(--gold);
  color:var(--navy);
}

.progress-step.completed span{
  background:var(--success);
  color:white;
}

.progress-line{
  height:3px;
  background:#d7dde6;
  margin:0 12px;
}

.progress-line.completed{
  background:var(--success);
}

.enrollment-card,
.payment-card{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  background:white;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 24px rgba(19,34,56,.08);
}

.enrollment-copy{
  background:linear-gradient(145deg,#f1ecdf,#fff);
  padding:40px;
}

.enrollment-copy h1,
.payment-card h1,
.confirmation-card h1{
  color:var(--navy);
  font-size:2rem;
  line-height:1.15;
}

.enrollment-form,
.payment-card>div{
  padding:40px;
}

label{
  display:block;
  font-weight:700;
  margin:16px 0 5px;
}

input[type=text],
input[type=email],
input[type=password]{
  width:100%;
  padding:12px;
  border:1px solid #bcc6d3;
  border-radius:6px;
  font-size:1rem;
  background:white;
}

.checkbox-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-weight:400;
}

.checkbox-row input{
  margin-top:5px;
}

.included-box{
  margin-top:25px;
  padding:20px;
  background:white;
  border-left:5px solid var(--gold);
}

.included-box ul{
  padding-left:20px;
  margin-bottom:0;
}

.full-button{
  width:100%;
  margin-top:15px;
}

.secure-note{
  font-size:.9rem;
  color:var(--muted);
  margin-top:15px;
}

.participant-summary{
  background:#f5f7fa;
  border-left:5px solid var(--gold);
  padding:18px;
  margin:15px 0;
}

.order-summary{
  background:#f8f6ef;
}

.price-row{
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:18px 0;
  margin:22px 0;
  font-size:1.15rem;
}

.small-link{
  display:inline-block;
  margin-top:12px;
}

.confirmation-card{
  max-width:760px;
  margin:0 auto;
  background:white;
  border:1px solid var(--border);
  border-radius:12px;
  padding:45px;
  text-align:center;
  box-shadow:0 6px 24px rgba(19,34,56,.08);
}

.confirmation-icon{
  width:74px;
  height:74px;
  border-radius:50%;
  background:var(--success);
  color:white;
  display:grid;
  place-items:center;
  font-size:2.5rem;
  font-weight:900;
  margin:0 auto 20px;
}

.dashboard{
  max-width:1050px;
  margin:0 auto;
  padding:35px 20px 60px;
}

.welcome-card,
.status-card{
  background:white;
  border:1px solid var(--border);
  border-radius:10px;
  padding:25px;
  margin-bottom:20px;
  box-shadow:0 4px 14px rgba(19,34,56,.06);
}

.status{
  display:inline-block;
  padding:7px 12px;
  border-radius:99px;
  font-weight:800;
}

.status.paid{
  background:#e6f5ec;
  color:var(--success);
}

.status.unpaid{
  background:#fff1e6;
  color:#8a4b12;
}

.resource-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:15px;
  margin-top:20px;
}

.resource-card{
  display:block;
  background:#f5f7fa;
  border-left:5px solid var(--gold);
  padding:20px;
  text-decoration:none;
  color:var(--navy);
  font-weight:800;
}

.auth-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
}

.brand-panel{
  background:linear-gradient(135deg,var(--navy),var(--navy2));
  color:white;
  padding:70px 8vw;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-right:6px solid var(--gold);
}

.brand-panel h1{
  font-size:clamp(2rem,5vw,3.6rem);
  line-height:1.08;
  margin:.5rem 0 1rem;
}

.form-card{
  background:white;
  padding:50px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.form-card h2{
  color:var(--navy);
  font-size:2rem;
}

.form-footer{
  margin-top:20px;
}

@media(max-width:800px){
  .auth-shell{
    grid-template-columns:1fr;
  }

  .brand-panel{
    padding:45px 25px;
  }

  .form-card{
    padding:35px 25px;
  }

  .topbar,
  .enrollment-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .progress-steps{
    grid-template-columns:1fr;
    gap:10px;
  }

  .progress-line{
    display:none;
  }

  .enrollment-card,
  .payment-card{
    grid-template-columns:1fr;
  }

  .enrollment-copy,
  .enrollment-form,
  .payment-card>div{
    padding:28px;
  }
}