body {
  background-color: #d8dbed;
  font-family: 'Baloo 2', cursive;

}


.login-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #f7f6fb;
  padding: 72px 16px 64px;
  box-sizing: border-box;
}

.login-card {
  max-width: 1080px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background-color: #fff;
}

.text {
  margin: 20px auto 0;
  color: #2C1A4D;
  font-weight: 400;
}

.title {
  color: #2C1A4D;
  font-weight: 600;
}

#sumbit-button {
  display: block;
  margin: 20px auto 0;
  background-color: #2C1A4D;
  border-color: #2C1A4D;
  font-weight: 400;
}

.a{
  font-weight: bold;
}

.account-link{
  margin-top: 24px;
}

/* Validation state */
.has-error .form-control { border-color: #dc3545; }
.has-success .form-control { border-color: #28a745; }
.text-error { color: #dc3545; }

/* Password */
.password-wrapper { position: relative; }
.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #2C1A4D;
  font-weight: 600;
}
.toggle-password:focus { outline: none; }

.strength { display: flex; align-items: center; gap: 8px; }
.strength .bar {
  height: 6px;
  border-radius: 4px;
  flex: 1;
  background: linear-gradient(90deg, #e0e0e0 0%, #e0e0e0 100%);
  position: relative;
  overflow: hidden;
}
.strength .bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
}
.strength .bar.level-0::after { width: 20%; background:#dc3545; }
.strength .bar.level-1::after { width: 40%; background:#fd7e14; }
.strength .bar.level-2::after { width: 60%; background:#ffc107; }
.strength .bar.level-3::after { width: 80%; background:#20c997; }
.strength .bar.level-4::after { width: 100%; background:#28a745; }
.strength-label { color: #6c757d; }

/* Code inputs */
.code-inputs { display: flex; gap: 8px; }
.code-inputs .code-input {
  width: 40px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ced4da;
  border-radius: 6px;
}
.code-inputs .code-input:focus { outline: none; border-color: #2C1A4D; box-shadow: 0 0 0 2px rgba(44,26,77,0.1); }

.verify-inline { background: #faf8ff; border: 1px dashed #e1dff0; padding: 12px; border-radius: 8px; }

/* Buttons */
#sumbit-button:disabled { opacity: 0.7; cursor: not-allowed; }

/* Stepper */
.stepper {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  gap: 12px;
  margin: 8px 8px 20px;
}
.stepper .connector { height: 2px; background: #e9e4f6; }
.stepper .step { text-align: center; }
.stepper .circle {
  width: 36px; height: 36px; line-height: 36px; border-radius: 50%;
  background: #e9e4f6; color: #6c3ef0; font-weight: 700; margin: 0 auto 6px;
}
.stepper .step.active .circle { background: #6c3ef0; color: #fff; }
.stepper .step.done .circle { background: #38a169; color: #fff; }
.stepper .step.done .label { color: #38a169; }
.stepper .label { font-weight: 600; color: #2C1A4D; font-size: 14px; }
.stepper .sublabel { color: #8a87a3; font-size: 12px; }

/* Sections */
.section-card { border: 1px solid #eee; border-radius: 10px; padding: 16px; margin: 16px 8px; }
.section-title { color: #6c3ef0; font-weight: 700; margin-bottom: 12px; }
.section-title.with-icon { display: flex; align-items: center; gap: 8px; }
.section-title .icon { font-size: 18px; }

/* Requirements */
.requirements { background: #f1ecfc; border-radius: 8px; padding: 12px 14px; }
.req-title { color: #2C1A4D; font-weight: 600; margin-bottom: 6px; }
.req-item { color: #6b6a7a; margin: 4px 0; }
.req-item .ico { display: inline-block; width: 18px; color: #dc3545; font-weight: 700; }
.req-item.ok { color: #2C1A4D; }
.req-item.ok .ico { color: #28a745; }

/* Option cards */
.option-card { border: 1px solid #e1dff0; border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.option-card:hover { border-color: #cfc9f3; }
.option-card.selected { border-color: #6c3ef0; box-shadow: 0 0 0 3px rgba(108,62,240,0.08); }
.radio-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c2b9ee; }
.radio-dot.on { border-color: #6c3ef0; background: radial-gradient(#6c3ef0 60%, transparent 61%); }
.opt-title { font-weight: 700; color: #2C1A4D; }
.opt-sub { color: #6b6a7a; font-size: 13px; }

/* Footer actions */
.footer-actions { display: flex; align-items: center; gap: 8px; margin: 16px 8px 0; position: sticky; bottom: 0; background: #fff; padding: 12px 8px 0; border-top: 1px solid #efeff6; }
.footer-actions .spacer { flex: 1; }
.btn-prev { border-color: #e1dff0; }
.btn-next { background: #6c3ef0; border-color: #6c3ef0; }
.btn-next:disabled { opacity: 0.7; }

/* Payment select cards */
.select-card { border: 1px solid #e1dff0; border-radius: 12px; padding: 16px; cursor: pointer; height: 100%; }
.select-card.selected { border-color: #6c3ef0; box-shadow: 0 0 0 3px rgba(108,62,240,0.08); }
.select-card .sc-title { font-weight: 800; color: #2C1A4D; font-size: 18px; }
.select-card .sc-sub { color: #6b6a7a; margin-bottom: 8px; }
.select-card .sc-list { margin: 0; padding-left: 18px; color: #2C1A4D; }
.recommend { background: #f5f2fd; border: 1px solid #e1dff0; padding: 14px; border-radius: 10px; margin-top: 12px; color: #6b6a7a; }
.recommend .rec-title { font-weight: 700; color: #2C1A4D; margin-bottom: 4px; }

/* Payment overlay */
.payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
}
.payment-overlay .panel {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  padding: 20px;
}
.payment-overlay .panel-header { display:flex; align-items:center; justify-content:space-between; }
.payment-overlay .panel-title { font-weight: 800; color:#2C1A4D; }
.payment-overlay .panel-body { margin-top: 12px; }

/* Plan grid */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.plan-card { border: 2px solid #e1dff0; border-radius: 16px; padding: 16px; cursor: pointer; background: #fff; }
.plan-card.selected { border-color: #7a52ff; box-shadow: 0 8px 18px rgba(122,82,255,0.16); }
.plan-card .badge { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; margin-bottom: 8px; }
.badge.green { background: #e3fcef; color: #2d7a4b; }
.badge.purple { background: #efe9ff; color: #6c3ef0; }
.badge.violet { background: #ede6ff; color: #5a43c9; }
.plan-name { font-weight: 800; color: #2C1A4D; }
.plan-sub { color: #6b6a7a; }
.price { margin-top: 6px; }
.price .big { font-size: 32px; font-weight: 900; color: #6c3ef0; }
.price .unit { color: #6b6a7a; }
.features { margin: 8px 0 0; padding-left: 18px; color: #2C1A4D; }
.tokens-info { background: #f5f2fd; border: 1px solid #e1dff0; padding: 14px; border-radius: 10px; margin-top: 14px; }
.tokens-info .t-title { font-weight: 700; color: #2C1A4D; margin-bottom: 6px; }

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .login-card { padding: 18px; }
}
@media (max-width: 720px) {
  .stepper { grid-template-columns: 1fr; gap: 6px; }
  .stepper .connector { display: none; }
  .section-card { margin: 12px 0; padding: 12px; }
  .footer-actions { padding: 10px 0 0; }
}
