/* ─── GUEST PAGE ─── */
.guest-page {
  min-height: 100vh;
  padding: 88px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.guest-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.guest-header {
  margin-bottom: 36px;
}
.guest-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}
.guest-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ─── STEP SECTIONS ─── */
.step-section {
  margin-bottom: 36px;
}

.step-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--brand-border);
}

/* ─── NETWORK TABS ─── */
.network-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.net-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--brand-surface);
  border: 1.5px solid var(--brand-border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.net-tab img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.net-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.net-tab.active[data-net="mtn"] {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.5);
  color: var(--mtn-yellow);
}
.net-tab.active[data-net="telecel"] {
  background: rgba(226, 0, 26, 0.1);
  border-color: rgba(226, 0, 26, 0.5);
  color: #ff3347;
}
.net-tab.active[data-net="at"] {
  background: rgba(0, 61, 165, 0.12);
  border-color: rgba(0, 61, 165, 0.5);
  color: #5b8ff9;
}

/* ─── INPUT HINTS ─── */
.input-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── ORDER SUMMARY ─── */
.order-summary {
  background: var(--brand-surface);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 88px;
}

.summary-title {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brand-border);
}

.summary-empty {
  text-align: center;
  padding: 32px 0;
}
.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.summary-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.sum-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

.summary-divider {
  height: 1px;
  background: var(--brand-border);
  margin: 12px 0;
}

.summary-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 0;
}
.sum-total-val {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mtn-yellow);
}

.payment-methods {
  margin: 20px 0 16px;
}
.pay-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pay-icons {
  display: flex;
  gap: 8px;
}
.pay-icon {
  background: var(--brand-mid);
  border: 1px solid var(--brand-border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pay-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: var(--mtn-yellow);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pay-btn:hover:not(:disabled) {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.3);
}
.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secure-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── UPSELL CARD ─── */
.upsell-card {
  margin-top: 16px;
  background: var(--brand-mid);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.upsell-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.upsell-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.upsell-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.upsell-card a {
  color: var(--mtn-yellow);
  text-decoration: underline;
}

/* ─── SUCCESS MODAL ─── */
.success-animation {
  text-align: center;
  margin-bottom: 20px;
}
.success-icon {
  font-size: 3.5rem;
  animation: successPop 0.5s ease;
}
@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.order-details-box {
  background: var(--brand-dark);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.order-details-box .detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  color: var(--text-secondary);
}
.order-details-box .detail-row span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .guest-container {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: relative;
    top: 0;
    order: -1;
  }
}
@media (max-width: 480px) {
  .network-tabs {
    flex-direction: column;
  }
  .net-tab {
    justify-content: flex-start;
  }
}
