.reg-page {
  min-height: 100vh;
  background: #e8f1f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 3rem;
}

/* ── Hero (icon + title + steps) ── */
.reg-hero {
  text-align: center;
  width: 100%;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.reg-icon {
  width: 64px;
  height: 64px;
  background: #1B4F8A;
  border-radius: 50%;
  display: flex;              /* better than inline-flex */
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;        /* center horizontally */
  box-shadow: 0 4px 12px rgba(27,79,138,0.2);
}

.reg-icon i {
  color: #fff;
  font-size: 22px;            /* slightly bigger */
}
.reg-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1B4F8A;
  margin: 0 0 .3rem;
}

.reg-subtitle {
  font-size: .875rem;
  color: #1B4F8A;
  margin: 0 0 1.4rem;
}

/* ── Step bubbles row ── */
.reg-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.reg-step-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #1B4F8A;
  background: #fff;
  color: #aaa;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  flex-shrink: 0;
}

.reg-step-bubble.active {
  background: #1B4F8A;
  border-color: #0c2d53;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(26,122,94,.18);
}

.reg-step-bubble.done {
  background: #1B4F8A;
  border-color: #1B4F8A;
  color: #fff;
  font-size: 0;
}
.reg-step-bubble.done::before {
  content: '✓';
  font-size: .8rem;
}

.reg-step-line {
  width: 80px;
  height: 2px;
  background: #88b2eb;
  border-radius: 99px;
  overflow: hidden;
}

.reg-step-line-fill {
  height: 100%;
  width: 0%;
  background: #1B4F8A;
  transition: width .4s ease;
}

/* ── Card wrap ── */
.reg-card-wrap {
  width: 100%;
  max-width: 560px;
}

.reg-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

/* ── Step visibility ── */
.step { display: none; }
.step.active { display: block; animation: stepIn .3s ease; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Step title ── */
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2d3a;
  margin: 0 0 1.25rem;
}

/* ── Labels ── */
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: #444;
  margin-bottom: .3rem;
  display: block;
}
.req      { color: #e03131; margin-left: 2px; }
.optional { font-weight: 400; color: #bbb; font-size: .76rem; }

/* ── Inputs ── */
.form-control {
  border: 1.5px solid #dde5e3;
  border-radius: 8px;
  padding: .52rem .8rem;
  font-size: .88rem;
  color: #333;
  background: #fff;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: #1B4F8A;
  box-shadow: 0 0 0 3px rgba(26, 92, 122, 0.12);
  outline: none;
}
.form-control::placeholder { color: #bbb; }
select.form-control { cursor: pointer; }

.form-group { margin-bottom: 1rem; }

/* ── Footer row (login link + button) ── */
.step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #f0f4f3;
}

.already-link {
  font-size: .82rem;
  color: #1B4F8A;
  text-decoration: none;
  font-weight: 500;
}
.already-link:hover { text-decoration: underline; }

/* ── Footnote ── */
.reg-footnote {
  text-align: center;
  font-size: .75rem;
  color: #1B4F8A;
  margin-top: 1rem;
}

.toast-msg {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #e03131;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}