:root {
  --bg-main: #07090e;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.25);
  
  --primary-emerald: #10b981;
  --primary-emerald-hover: #059669;
  --primary-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.10) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 16px 14px 28px;
}

.app-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: -2px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 10px;
  border-radius: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-emerald);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-emerald);
  text-transform: uppercase;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Network Card: Perfectly Balanced 2-Column Metric Grid */
.network-card {
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 14px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.text-emerald {
  color: var(--primary-emerald);
}

.text-cyan {
  color: var(--primary-cyan);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.divider-v {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Subscription Card */
.sub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sub-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sub-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.expiry-pill {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

/* Devices Box */
.devices-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
}

.devices-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dev-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
}

.dev-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-emerald), var(--primary-cyan));
  border-radius: 10px;
  transition: width 0.4s ease;
}

.devices-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dev-hint {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-text:hover {
  text-decoration: underline;
}

/* Action Buttons Grid */
.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-emerald), #059669);
  border: none;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--primary-cyan);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Guide Card */
.guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-emerald);
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Store Badges & Download Grid (App Store, Google Play, happ.su) */
.store-grid,
.store-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.store-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 9px 10px;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  min-width: 0;
}

.store-chip:visited {
  color: #ffffff !important;
}

.store-chip:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.store-chip:active {
  transform: scale(0.98);
}

.store-chip-full {
  grid-column: 1 / -1;
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-chip-full:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.08));
  border-color: rgba(16, 185, 129, 0.55);
}

.store-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
  display: block;
}

.store-icon-apple {
  color: #ffffff;
}

.store-icon-web {
  color: var(--primary-cyan);
}

.store-chip-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.store-chip-name {
  font-size: 0.81rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.store-chip-sub {
  font-size: 0.67rem;
  color: var(--text-muted);
  line-height: 1.15;
  margin-top: 1px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.store-external-icon {
  width: 15px;
  height: 15px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.store-chip-full:hover .store-external-icon {
  transform: translate(2px, -2px);
  color: var(--primary-emerald);
  opacity: 1;
}

code {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-cyan);
  font-size: 0.74rem;
}

/* Telegram Stars & Extension Card (Perfect Horizontal Flex) */
.stars-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.stars-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.stars-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.stars-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-stars {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #000 !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-stars:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-stars:active {
  transform: scale(0.97);
}

/* Referral Program Card */
.ref-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 16px;
  border-radius: var(--radius-lg);
}

.ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ref-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.ref-title-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.ref-benefits {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: -2px;
}

.ref-benefit-line {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.ref-badge {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--primary-emerald);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.ref-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
}

.ref-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ref-stat-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.ref-stat-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.ref-actions {
  display: flex;
  gap: 8px;
}

.btn-ref-share {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-emerald), #059669);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-ref-share:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-ref-share:active {
  transform: scale(0.98);
}

.btn-ref-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ref-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ref-copy:active {
  transform: scale(0.98);
}

/* Footer */
.app-footer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  padding-top: 6px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #111726;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: modal-pop 0.2s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.qr-box {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.qr-box img {
  display: block;
}

/* Device Manager in Modal */
.device-input-box {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.device-input-box input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.device-input-box input:focus {
  border-color: var(--primary-cyan);
}

.btn-add {
  background: var(--primary-cyan);
  border: none;
  color: #000;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.devices-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Device Row in Modal */
.device-row, .device-card-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  gap: 12px;
  transition: background 0.2s, border-color 0.2s;
}

.device-row:hover, .device-card-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.device-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.device-header-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dev-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.dev-tag-primary {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary-cyan);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 1px 6px;
  border-radius: 6px;
}

.dev-info-line {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.dev-info-line code {
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 4px;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.device-quick-btns {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.btn-dev-chip, .btn-dev-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0 !important;
  text-decoration: none !important;
  font-size: 0.70rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-dev-chip:hover, .btn-dev-action:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.45);
  color: #fff !important;
}

.btn-del-device, .btn-dev-delete {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: var(--accent-red) !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 7px 13px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-del-device:hover, .btn-dev-delete:hover {
  background: rgba(239, 68, 68, 0.28) !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  color: #ff6b6b !important;
}

/* Payment Modal Styles */
.pay-summary-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
}

.pay-period-pill {
  font-size: 0.85rem;
  color: var(--primary-emerald);
  font-weight: 600;
  margin-bottom: 6px;
}

.pay-feature-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pay-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-method-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.pay-method-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.pay-method-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-method-icon {
  font-size: 1.6rem;
}

.pay-method-meta strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.pay-method-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-pay-action {
  width: 100%;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-pay-action:active {
  transform: scale(0.98);
}

.btn-stars-action {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.btn-sbp-action {
  background: linear-gradient(135deg, var(--primary-cyan), #0284c7);
  color: #fff;
}

/* SBP Detailed Screen */
.sbp-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.btn-back-link {
  background: none;
  border: none;
  color: var(--primary-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.sbp-badge-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 2px 8px;
  border-radius: 8px;
}

.sbp-amount-badge {
  text-align: center;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.sbp-amount-badge strong {
  color: var(--primary-emerald);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #fff;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  z-index: 2000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
