:root {
  --ii-purple: #34006A;
  --ii-purple-light: #4a1a80;
  --ii-orange: #FF6C4C;
  --ii-orange-hover: #e85a3a;
  --ii-form-bg: #F4F6FB;
  --ii-text-dark: #262626;
  --ii-text: #333333;
  --ii-text-muted: #777777;
  --ii-border: #dfe3ea;
  --ii-white: #ffffff;
  --ii-bg: #faf9f5;
  --op-vodafone: #e60000;
  --op-orange: #ff6600;
  --op-digi: #003da5;
  --op-telekom: #e20074;
}

.multi-recharge-page {
  background: var(--ii-bg);
  color: var(--ii-text);
}

.multi-recharge-page * {
  box-sizing: border-box;
}

.ii-hero {
  background: linear-gradient(160deg, var(--ii-purple) 0%, #4a1080 40%, #5c1d99 100%);
  padding: 40px 20px 50px;
  position: relative;
  overflow: hidden;
}

.ii-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.ii-hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,108,76,0.05);
}

.ii-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ii-hero-title {
  text-align: center;
  margin-bottom: 28px;
}

.ii-hero-title h1 {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.ii-hero-title h1 .hl {
  color: var(--ii-orange);
}

.ii-hero-title p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.ii-card {
  background: var(--ii-white);
  border-radius: 16px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 16px 50px rgba(52,0,106,0.15);
  overflow: hidden;
}

.num-entry {
  padding: 16px 18px;
  margin: 14px 22px 0;
  border-radius: 12px;
  background: var(--ii-form-bg);
  border: 1.5px solid transparent;
  transition: all 0.25s;
}

.num-entry.completed {
  border-color: rgba(52,0,106,0.15);
  background: #f0eef8;
}

.num-entry.has-error {
  border-color: #e74c3c;
  background: #fff7f7;
}

.num-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.num-head-left {
  display: flex;
  align-items: center;
}

.num-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #bbb;
  transition: background 0.3s;
  flex-shrink: 0;
}

.num-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ii-text-dark);
  margin-left: 8px;
}

.num-remove {
  background: none;
  border: none;
  color: #bbb;
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.num-remove:hover {
  color: #e74c3c;
}

.num-fields {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.phone-grp {
  flex: 0 0 220px;
}

.phone-grp label,
.amt-grp label,
.option-grp label,
.email-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ii-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}

.phone-wrap.active {
  border-color: var(--ii-purple);
}

.phone-wrap.error {
  border-color: #e74c3c;
}

.phone-pre {
  padding: 10px 11px;
  background: #f9f9fc;
  border-right: 1px solid var(--ii-border);
  font-size: 13px;
  color: #999;
  font-weight: 500;
  user-select: none;
}

.phone-inp {
  flex: 1;
  padding: 10px 11px;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  width: 100%;
  min-width: 0;
}

.option-grp {
  flex: 1 1 100%;
  margin-top: 10px;
}

.option-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--ii-border);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  outline: none;
}

.option-select:focus {
  border-color: var(--ii-purple);
}

.amt-grp {
  flex: 1;
  min-width: 300px;
}

.amt-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.amt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.amt-btn {
  padding: 8px 0;
  width: 52px;
  border: 1.5px solid var(--ii-border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: #555;
  transition: all 0.15s;
  font-family: inherit;
  text-align: center;
}

.amt-btn:hover {
  border-color: var(--ii-purple);
  background: #f5f0fa;
  color: var(--ii-purple);
}

.amt-btn.sel {
  border: 2px solid var(--ii-purple);
  background: #ede8f5;
  color: var(--ii-purple);
  font-weight: 700;
}

.amt-or {
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
  padding-bottom: 10px;
  flex-shrink: 0;
}

.manual-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ii-border);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
  height: 38px;
}

.manual-wrap:focus-within {
  border-color: var(--ii-purple);
}

.manual-wrap.error {
  border-color: #e74c3c;
}

.manual-inp {
  width: 58px;
  padding: 8px 8px 8px 12px;
  border: none;
  outline: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ii-text-dark);
  text-align: right;
}

.manual-inp::placeholder {
  color: #ccc;
  font-weight: 400;
}

.manual-sfx {
  padding: 8px 10px 8px 2px;
  font-size: 14px;
  color: #999;
  font-weight: 500;
  user-select: none;
}

.manual-wrap.active {
  border-color: var(--ii-purple);
  background: #ede8f5;
}

.manual-wrap.active .manual-inp {
  background: #ede8f5;
  color: var(--ii-purple);
}

.confirm-ln,
.error-ln,
.loading-ln {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
}

.confirm-ln {
  color: var(--ii-purple);
}

.error-ln {
  color: #e74c3c;
}

.loading-ln {
  color: #777;
}

.add-btn {
  width: calc(100% - 44px);
  margin: 14px 22px 0;
  padding: 13px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ii-purple);
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-btn:hover {
  border-color: var(--ii-purple);
  background: #f5f0fa;
}

.order-sum {
  background: var(--ii-form-bg);
  border-top: 1px solid #e8e6f0;
  padding: 18px 26px;
  margin-top: 18px;
}

.order-sum h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ii-text-dark);
  margin-bottom: 10px;
}

.ord-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
}

.ord-line-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ord-badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  margin-right: 8px;
  flex-shrink: 0;
}

.ord-phone {
  font-size: 13px;
  color: #555;
}

.ord-amt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ii-text-dark);
  white-space: nowrap;
}

.ord-totals {
  border-top: 1px solid #d8d5e0;
  margin-top: 10px;
  padding-top: 10px;
}

.tot-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-bottom: 3px;
}

.tot-row.grand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ii-text-dark);
  margin-top: 6px;
}

.btm-section {
  padding: 18px 26px 26px;
}

.email-inp {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--ii-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 8px;
  background: #fff;
}

.email-inp:focus {
  border-color: var(--ii-purple);
}

.email-inp.error {
  border-color: #e74c3c;
}

.form-error-message {
  display: none;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.form-error-message.error {
  display: block;
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #ffd0d0;
}

.form-error-message.success {
  display: block;
  background: #effaf1;
  color: #247a35;
  border: 1px solid #ccefd2;
}

.chk-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ii-text-muted);
  margin-bottom: 8px;
  cursor: pointer;
}

.chk-row input {
  accent-color: var(--ii-purple);
  margin-top: 2px;
}

.chk-row a {
  color: var(--ii-purple);
  text-decoration: underline;
}

.ii-cta {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  margin-top: 16px;
  letter-spacing: 0.2px;
}

.ii-cta.on {
  background: var(--ii-orange);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,108,76,0.3);
}

.ii-cta.on:hover {
  background: var(--ii-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255,108,76,0.4);
}

.ii-cta.off {
  background: #ddd;
  color: #aaa;
  cursor: default;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 11px;
  color: #aaa;
  flex-wrap: wrap;
}

.how-sec {
  padding: 44px 20px;
  background: var(--ii-white);
}

.how-sec h2 {
  text-align: center;
  font-size: 21px;
  color: var(--ii-text-dark);
  margin-bottom: 30px;
  font-weight: 700;
}

.how-steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.how-step {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ii-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 10px;
}

.step-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ii-text-dark);
  margin-bottom: 4px;
}

.step-d {
  font-size: 13px;
  color: var(--ii-text-muted);
}

@media (max-width: 640px) {
  .ii-hero-title h1 {
    font-size: 21px;
  }

  .num-fields {
    flex-direction: column;
  }

  .phone-grp {
    flex: 1 1 100%;
    width: 100%;
  }

  .amt-grp {
    min-width: auto;
    width: 100%;
  }

  .amt-btn {
    width: 46px;
    font-size: 13px;
  }
}
