/* User-facing pages — glassmorphism dark theme */

.user-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--user-text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 18% 8%, rgba(37, 99, 235, 0.22), transparent 58%),
    radial-gradient(900px 480px at 85% 0%, rgba(59, 130, 246, 0.16), transparent 52%),
    linear-gradient(180deg, var(--user-bg-1), var(--user-bg-2));
}

.user-body.has-bg-image {
  background: transparent;
}

.user-body a {
  color: inherit;
  text-decoration: none;
}

.user-body a:hover {
  text-decoration: underline;
}

/* Background image layer (register page) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-bg-image {
  position: absolute;
  inset: -48px;
  width: calc(100% + 96px);
  height: calc(100% + 96px);
  object-fit: cover;
  filter: blur(10px) brightness(0.92) saturate(1.05);
  transform: scale(1.08);
}

.page-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.35), rgba(11, 18, 32, 0.62));
}

.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glass card */
.glass-card,
.app-card,
.register-card {
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  background: var(--user-glass);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--user-glass-border);
  box-shadow: var(--shadow-glass);
}

.user-center-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.user-center-inner {
  width: 100%;
  max-width: 520px;
}

/* Brand header */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.site-brand img,
.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--user-border);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.site-brand-title {
  font-weight: 700;
  font-size: 1.15rem;
}

.site-brand-sub,
.app-muted {
  color: var(--user-muted);
  font-size: 0.88rem;
}

.register-card h1,
.glass-card h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.register-card .lead {
  color: var(--user-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* Forms */
.user-body .form-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.user-body .form-control,
.user-body .form-select,
.user-body .form-control:focus,
.user-body .form-select:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--user-border);
  color: var(--user-text);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.user-body .form-control:focus,
.user-body .form-select:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
  color: var(--user-text);
}

.user-body .form-control[readonly] {
  opacity: 0.9;
  cursor: default;
}

.user-body .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.user-body .form-select option {
  color: #111;
}

.user-body .alert {
  border: 1px solid var(--user-border);
  border-radius: var(--radius-md);
}

.user-body .alert-success {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #bbf7d0 !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.user-body .alert-danger {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #fecaca !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
}

/* Buttons */
.btn-user-primary,
.btn-register {
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-weight: 600;
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  color: var(--color-on-primary);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.btn-user-primary:hover:not(:disabled),
.btn-register:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
  color: var(--color-on-primary);
}

.btn-user-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
  cursor: pointer;
}

.btn-user-accent:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-on-accent);
}

.user-body .btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  cursor: pointer;
}

.user-body .btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.user-body .btn-outline-light {
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.btn-alipay {
  background: #1677ff;
  border-color: #1677ff;
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.28);
  cursor: pointer;
}

.btn-alipay:hover {
  background: #4096ff;
  border-color: #4096ff;
  color: #fff;
}

.btn-other-pay {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-top: 0.45rem;
}

.btn-other-pay:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.footnote {
  color: var(--user-muted);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 1rem;
}

/* Pay page */
.pay-checkout-card {
  padding: 1.5rem 1.35rem;
}

.pay-checkout-header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-login-panel {
  padding-top: 0.75rem;
}

.pay-login-panel h1 {
  margin-bottom: 0.5rem;
}

.pay-account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--user-border);
}

.pay-account-meta .fw-semibold {
  font-size: 0.92rem;
  line-height: 1.25;
}

.pay-billing-row {
  margin-bottom: 1rem;
}

.pay-section {
  margin-bottom: 0.95rem;
}

.pay-section-head {
  margin-bottom: 0.55rem;
}

.pay-section-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.pay-category-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.28rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.pay-category-tab {
  border: 0;
  border-radius: calc(var(--radius-md) - 2px);
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--user-muted);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.pay-category-tab:hover {
  color: var(--user-text);
}

.pay-category-tab.is-active {
  background: rgba(37, 99, 235, 0.28);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.35);
}

.pay-plan-list {
  display: grid;
  gap: 0.45rem;
}

.pay-plan-item {
  border: 1px solid var(--user-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.pay-plan-item:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.pay-plan-item.active {
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.16);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22);
}

.pay-plan-item.is-featured:not(.active) {
  border-color: rgba(234, 88, 12, 0.35);
}

.pay-plan-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  border: 0;
  border-radius: 0;
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  background: transparent;
  color: inherit;
  min-height: 3.1rem;
}

.pay-row-radio {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.55);
  flex-shrink: 0;
  position: relative;
}

.pay-plan-item.active .pay-row-radio {
  border-color: #93c5fd;
}

.pay-plan-item.active .pay-row-radio::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: 50%;
  background: #60a5fa;
}

.pay-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.pay-row-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}

.pay-plan-badge {
  display: inline-flex;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 700;
  background: rgba(234, 88, 12, 0.22);
  color: #fed7aa;
  border: 1px solid rgba(234, 88, 12, 0.35);
}

.pay-row-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
  margin-left: auto;
  flex-shrink: 0;
}

.pay-row-price {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.pay-row-unit {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--user-muted);
  margin-left: 0.12rem;
}

.pay-plan-price-original,
.pay-price-original {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  line-height: 1.2;
}

.pay-plan-expand {
  padding: 0 0.85rem 0.85rem 2.6rem;
  animation: pay-expand-in 180ms ease-out;
}

.pay-plan-expand-tagline {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.pay-plan-expand-features {
  margin: 0;
}

.pay-plan-expand-features li:first-child {
  margin-top: 0;
}

@keyframes pay-expand-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pay-plan-expand {
    animation: none;
  }
}

.pay-seats-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--user-border);
}

.pay-seats-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pay-seats-hint {
  font-size: 0.72rem;
  line-height: 1.35;
}

.pay-seats-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
}

.pay-seats-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-seats-btn:hover {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(30, 58, 138, 0.45);
}

.pay-seats-input {
  width: 3.8rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.35);
  color: #fff;
}

.pay-checkout-dock {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: 1rem;
  padding: 0.85rem 0 0.15rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.92) 18%, rgba(15, 23, 42, 0.98) 100%);
}

.pay-checkout-dock-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.pay-checkout-dock-line {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
  min-width: 0;
}

.pay-order-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #bfdbfe;
  white-space: nowrap;
}

.pay-order-price .pay-price-original {
  font-size: 0.85rem;
}

.pay-trust-note {
  margin-top: 0.65rem;
  text-align: center;
}

.pay-step {
  margin-bottom: 1.25rem;
}

.pay-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.billing-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.billing-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--user-muted);
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.billing-toggle-btn:hover {
  color: var(--user-text);
}

.billing-toggle-btn.is-active {
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.billing-save-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.28);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.billing-toggle-btn.is-active .billing-save-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.plan-features {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.plan-features li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--user-muted);
  line-height: 1.45;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-primary);
}

#payFormHost {
  display: none;
}

.modal-content.app-modal {
  border: 1px solid var(--user-border);
  background: #151c2c;
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
}

.modal-header.app-modal-header,
.modal-footer.app-modal-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.qr-pay-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--user-border);
}

.badge-user {
  background: rgba(37, 99, 235, 0.25);
  color: #bfdbfe;
  border: 1px solid rgba(147, 197, 253, 0.35);
  font-weight: 600;
}

/* Reset password — language switch */
.lang-switch .btn-lang {
  font-size: 0.8125rem;
  padding: 0.15rem 0.5rem;
  line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.lang-switch .btn-lang:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lang-switch .btn-lang.active {
  background: rgba(37, 99, 235, 0.45);
  border-color: rgba(147, 197, 253, 0.45);
  color: #fff;
}

#msg:empty {
  display: none;
}

/* Register — download section */
.download-wrap {
  margin-top: 8px;
  padding: 24px 0 48px;
}

.download-wrap .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.download-wrap .section-subtitle {
  text-align: center;
  color: var(--user-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 24px;
}

.success-banner {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 24px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #bfdbfe;
  font-size: 0.92rem;
  text-align: center;
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 20px;
  flex-wrap: wrap;
  max-width: 100%;
}

.platform-tab {
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  color: var(--user-muted);
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.platform-tab:hover {
  color: var(--user-text);
}

.platform-tab.is-active {
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.platform-card {
  display: none;
  border-radius: 18px;
  padding: 20px 18px;
  background: var(--user-glass);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--user-glass-border);
  box-shadow: var(--shadow-glass);
}

.platform-card.is-active {
  display: block;
}

.platform-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.platform-card p,
.platform-card li {
  font-size: 14px;
  color: var(--user-muted);
  line-height: 1.7;
}

.platform-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.platform-badge {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.85);
  color: #e5e7eb;
  margin-bottom: 10px;
}

.platform-badge-green {
  background: rgba(22, 163, 74, 0.95);
}

.platform-badge-dark {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.platform-actions,
.download-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  text-align: center;
}

.btn-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
  color: #fff;
}

.btn-dl.btn-dark {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-dl.btn-dark:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-chrome-install {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-base);
  text-align: left;
}

.btn-chrome-install:hover {
  transform: translateY(-1px);
  background: #1a1a1a;
  color: #fff;
}

.btn-chrome-install .chrome-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-base), opacity var(--transition-base);
  cursor: pointer;
}

.google-play-btn img {
  height: 46px;
  width: auto;
  display: block;
}

.google-play-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-copy-ipa {
  height: 46px;
  cursor: pointer;
}

.btn-copy-ipa img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.platform-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.btn-copy-ipa.is-copied {
  background: linear-gradient(120deg, #16a34a, #22c55e);
}

.download-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.download-label {
  font-size: 12px;
  color: var(--user-muted);
  margin-bottom: 6px;
}

.download-link {
  font-size: 13px;
  color: #93c5fd;
  word-break: break-all;
}

.download-link:hover {
  text-decoration: underline;
}

.download-desc {
  font-size: 12px;
  color: var(--user-muted);
  margin-top: 6px;
  line-height: 1.6;
}

.hint-list {
  margin-top: 12px;
  font-size: 12px;
  color: var(--user-muted);
  padding-left: 18px;
}

.hint-list li {
  margin-bottom: 4px;
}

.step-list {
  margin: 8px 0 0 16px;
  font-size: 13px;
  color: var(--user-muted);
  line-height: 1.7;
}

.register-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.register-stage-inner {
  width: 100%;
  max-width: 520px;
}

@media (min-width: 1200px) {
  .user-page-wide .col-xl-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .user-page-wide .container,
  .user-page-wide .container-sm {
    max-width: none !important;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .pay-checkout-card {
    padding: 1.15rem 0.95rem;
  }

  .pay-checkout-dock-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .billing-toggle-btn {
    font-size: 0.86rem;
    padding: 0.58rem 0.5rem;
  }

  .register-card,
  .glass-card,
  .app-card {
    padding: 22px 16px;
  }

  .platform-tabs {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Account delete page */
.account-delete-page .app-subtle {
  color: rgba(255, 255, 255, 0.72);
}

.badge-danger-user {
  background: rgba(220, 38, 38, 0.25);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-weight: 600;
}

.delete-info-box {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--user-border);
}

.delete-warning {
  background: rgba(234, 179, 8, 0.12) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
}

.btn-danger-user {
  background: var(--color-destructive);
  border-color: var(--color-destructive);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
  cursor: pointer;
  transition: filter var(--transition-fast);
}

.btn-danger-user:hover {
  filter: brightness(0.95);
  color: #fff;
}

/* Focus visible for keyboard nav */
.user-body button:focus-visible,
.user-body a:focus-visible,
.user-body input:focus-visible,
.user-body select:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}
