.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

:root {
  --doro-green: #00854A;
  --doro-green-dark: #006238;
  --brand-disabled: #a6ccb8;
  --ink: #101418;
  --muted: #7b838b;
  --muted2: #8a9199;
  --border: #e9ebee;
  --border2: #dfe2e6;
}

body {
  margin: 0;
  background: #f2f3f5;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

a {
  color: var(--doro-green);
  text-decoration: underline;
}
a:hover {
  color: var(--doro-green-dark);
}

.doro-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  flex: 1;
  width: 100%;
}

.doro-header {
  background: transparent;
  padding: 28px 0 24px;
  text-align: center;
}

.doro-logo {
  display: block;
  width: min(150px, 60vw);
  height: auto;
  margin: 0 auto;
}

.brand-wordmark {
  color: var(--doro-green);
  font-size: clamp(32px, 8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.doro-footer {
  background: #333f48;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  padding: 36px 16px;
  font-size: 13px;
  line-height: 1.85;
}

.doro-copyright {
  background: var(--doro-green);
  color: #fff;
  margin: 0;
  padding: 18px 16px;
  font-size: 13px;
}

.card-block {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}

/* Activation entry */
.activation-entry {
  max-width: 520px;
  margin: 18px auto 0;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.05);
}
.activation-entry h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.activation-eyebrow {
  color: var(--doro-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.activation-intro {
  margin: 0 0 26px;
  color: #5c646d;
  font-size: 15px;
  line-height: 1.55;
}
.activation-hint {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 575px) {
  .activation-entry {
    margin-top: 4px;
    padding: 26px 22px;
  }
  .activation-entry h1 {
    font-size: 24px;
  }
}

.step-heading {
  margin: 14px 0 24px;
  font-size: 19px;
  font-weight: 600;
}

.step-indicator {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}
.card-block + .step-indicator {
  margin-top: 24px;
}
.step-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-pill {
  background: var(--doro-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-block;
}
.step-remaining {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.step-progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}
.step-progress-segment {
  height: 4px;
  border-radius: 999px;
  background: #e2e5e8;
}
.step-progress-segment.is-complete {
  background: var(--doro-green);
}

.btn-doro {
  background: var(--doro-green);
  border-color: var(--doro-green);
  color: #fff;
  border-radius: 26px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
}
.btn-doro:hover {
  background: var(--doro-green-dark);
  border-color: var(--doro-green-dark);
  color: #fff;
}
.btn-doro:disabled {
  background: var(--brand-disabled);
  border-color: var(--brand-disabled);
}

/* Product / IMEI summary card */
.product-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f8f9;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 470px;
}
.product-summary .thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex: none;
  background: repeating-linear-gradient(45deg, #e6e9ec 0 6px, #f3f5f7 6px 12px);
}

/* Tier picker (Premium / Basic) */
.tier-shell {
  background: #eceef0;
  border-radius: 14px;
  padding: 0 0 14px;
}
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tier-tab {
  cursor: pointer;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.tier-tab.selected {
  border-color: transparent;
  background: #fff;
  border-radius: 14px 14px 0 0;
  margin-bottom: 0;
}
.tier-tab .tier-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.tier-tab.selected .tier-name {
  color: var(--doro-green);
}
.tier-tab .tier-from {
  font-size: 13px;
  color: #5c646d;
}
.most-popular {
  background: var(--doro-green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 5px;
}

.tier-inner {
  margin: 0;
  background: #fff;
  border-radius: 0 14px 14px 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--muted2);
}

/* Data plan picker (3GB / 10GB) */
.dataplan-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dataplan-option {
  cursor: pointer;
  flex: 1;
  min-width: 150px;
  border: 1.5px solid #e2e5e9;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dataplan-option.selected {
  border-color: var(--doro-green);
  background: #f1f8f4;
}
.dataplan-option .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.dataplan-option.selected .name {
  color: var(--doro-green);
}
.dataplan-option .sub {
  font-size: 12px;
  color: #5c646d;
}
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  border: 1.5px solid #c9cfd5;
  background: transparent;
}
.dataplan-option.selected .radio-dot,
.number-option.selected .radio-dot {
  border-color: var(--doro-green);
  background: var(--doro-green);
}

/* Included bullets */
.plan-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 0;
  font-size: 14px;
  color: #2b3238;
  line-height: 1.45;
}
.included-list li::before {
  content: "\2713";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  margin-top: 2px;
  background: #e2f1e8;
  color: var(--doro-green);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Plan (commitment) option cards */
.plan-card {
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.plan-card.selected {
  border-color: var(--doro-green);
}
.plan-card .plan-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  border: 1.5px solid #c9cfd5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-card.selected .plan-radio {
  border-color: var(--doro-green);
}
.plan-card .plan-radio .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.plan-card.selected .plan-radio .dot {
  background: var(--doro-green);
}
.plan-card .plan-headline {
  font-size: 15px;
  font-weight: 600;
}
.plan-card .plan-term {
  font-size: 13px;
  color: var(--muted);
}
.plan-card .plan-readmore {
  font-size: 13px;
  color: var(--doro-green);
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}
.plan-card .plan-price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.plan-card .plan-price-sub {
  font-size: 12px;
  color: var(--muted);
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}
.plan-badge.half-price { background: var(--doro-green); }
.plan-badge.best-value { background: #333f48; }

/* Validation feedback */
.form-error-summary {
  margin: 18px 0 14px;
  padding: 12px 14px;
  border: 1px solid #efc6c0;
  border-radius: 10px;
  background: #fff4f2;
  color: #a4372d;
  font-size: 14px;
  font-weight: 500;
}
.form-error-summary.validation-summary-valid {
  display: none;
}
.form-error-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stripe-payment-element {
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 16px;
}

/* Number-choice / generic two-option row (step 2) */
.number-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.porting-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.number-option {
  cursor: pointer;
  flex: 1;
  min-width: 220px;
  border: 1.5px solid #e2e5e9;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.number-option.selected {
  border-color: var(--doro-green);
  background: #f1f8f4;
}
.number-option .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.number-option.selected .name {
  color: var(--doro-green);
}
.number-option .sub {
  font-size: 12px;
  color: #5c646d;
}

/* Form fields, matching the prototype's input styling */
.field-label {
  font-size: 14px;
  font-weight: 600;
}
.field-required {
  color: #d9483f;
}
.form-control {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 13px;
  border: 1px solid var(--border2);
  border-radius: 8px;
}
.form-control:focus {
  border-color: var(--doro-green);
}

.field-hint {
  font-size: 11.5px;
  color: var(--muted2);
  line-height: 1.5;
}
