    /* ============================================
       TOP UP VIEW
       ============================================ */
    .topup-card {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 24px;
      padding: 40px 36px;
      max-width: 480px;
      width: 100%;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .topup-card-title {
      font-size: 20px;
      font-weight: 700;
      color: #1c132c;
      letter-spacing: -0.3px;
      margin-bottom: 28px;
    }

    /* Form elements */
    .form-group { margin-bottom: 20px; }

    .form-label {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 600;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 8px;
    }

    .form-label-balance {
      font-weight: 500;
      text-transform: none;
      letter-spacing: 0;
      font-size: 12px;
      color: #9ca3af;
    }

    .form-row {
      display: flex;
      gap: 10px;
    }

    .form-input {
      flex: 1;
      width: 100%;
      padding: 14px 18px;
      border-radius: 14px;
      border: 1.5px solid rgba(0, 0, 0, 0.08);
      background: rgba(255, 255, 255, 0.7);
      font-size: 15px;
      font-family: 'JetBrains Mono', monospace;
      color: #1c132c;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .form-input::placeholder { color: #b0b4bd; }

    .form-input:focus {
      border-color: rgba(24, 148, 232, 0.4);
      box-shadow: 0 0 0 4px rgba(24, 148, 232, 0.08);
    }

    .form-input.amount {
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
      font-size: 16px;
    }

    /* Selectors (token, chain) */
    .dropdown-wrapper {
      position: relative;
      flex-shrink: 0;
    }

    .dropdown-wrapper.flex-1 { flex: 1; }

    .form-select {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1.5px solid rgba(0, 0, 0, 0.08);
      background: rgba(255, 255, 255, 0.7);
      font-size: 14px;
      font-weight: 600;
      font-family: 'JetBrains Mono', monospace;
      color: #1c132c;
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s;
      white-space: nowrap;
      width: 100%;
    }

    .form-select:hover {
      border-color: rgba(0, 0, 0, 0.12);
      background: rgba(243, 244, 246, 0.8);
    }

    .form-select.open {
      border-color: rgba(24, 148, 232, 0.4);
      box-shadow: 0 0 0 4px rgba(24, 148, 232, 0.08);
    }

    .form-select img {
      width: 20px;
      height: 20px;
      border-radius: 50%;
    }

    .form-select .chevron {
      font-size: 10px;
      color: #9ca3af;
      margin-left: auto;
      transition: transform 0.2s;
    }

    .form-select.open .chevron { transform: rotate(180deg); }

    /* Dropdown menu */
    .dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1.5px solid rgba(0, 0, 0, 0.08);
      border-radius: 14px;
      padding: 6px;
      z-index: 50;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
      animation: dropdownIn 0.15s ease;
      max-height: 240px;
      overflow-y: auto;
    }

    .dropdown-menu.open { display: block; }

    @keyframes dropdownIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.12s;
      font-size: 14px;
      font-weight: 500;
      font-family: 'JetBrains Mono', monospace;
      color: #1c132c;
    }

    .dropdown-option:hover { background: rgba(24, 148, 232, 0.06); }
    .dropdown-option.selected { background: rgba(24, 148, 232, 0.08); font-weight: 600; }

    .dropdown-option img {
      width: 24px;
      height: 24px;
      border-radius: 50%;
    }

    /* Conversion label below amount */
    .conversion-label {
      margin-top: 6px;
      padding-left: 2px;
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 500;
      color: #9ca3af;
      min-height: 18px;
      transition: opacity 0.2s;
    }

    /* Connect Wallet Button (Top Up State 1) */
    .connect-wallet-btn {
      width: 100%;
      padding: 20px 24px;
      border-radius: 16px;
      background: rgba(243, 244, 246, 0.8);
      border: 1.5px dashed rgba(0, 0, 0, 0.12);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      transition: background 0.15s, border-color 0.15s, transform 0.2s;
      font-family: 'JetBrains Mono', monospace;
    }

    .connect-wallet-btn:hover {
      background: rgba(229, 231, 235, 0.9);
      border-color: rgba(24, 148, 232, 0.4);
      transform: translateY(-1px);
    }

    .connect-wallet-btn:active { transform: translateY(0); }

    .connect-wallet-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1894E8, #9F72FF);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .connect-wallet-icon svg {
      width: 20px;
      height: 20px;
      color: #fff;
    }

    .connect-wallet-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .connect-wallet-title {
      font-size: 15px;
      font-weight: 600;
      color: #1c132c;
    }

    .connect-wallet-sub {
      font-size: 12px;
      color: #9ca3af;
      font-weight: 400;
    }

    .connect-description {
      margin-top: 16px;
      font-size: 13px;
      color: #9ca3af;
      line-height: 1.6;
      text-align: center;
    }

    /* Source Wallet Pill (Top Up State 2) */
    .source-wallet {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-radius: 14px;
      background: rgba(243, 244, 246, 0.6);
      border: 1.5px solid rgba(0, 0, 0, 0.06);
    }

    .source-wallet-icon { width: 20px; height: 20px; flex-shrink: 0; }
    .source-wallet-label { font-size: 14px; font-weight: 600; color: #1c132c; }
    .source-wallet-address { font-size: 13px; color: #9ca3af; font-weight: 400; }

    .source-wallet-change {
      margin-left: auto;
      font-size: 12px;
      font-weight: 500;
      color: #1894E8;
      cursor: pointer;
      transition: opacity 0.15s;
    }

    .source-wallet-change:hover { opacity: 0.7; }

    /* Destination Box (read-only) */
    .destination-box {
      padding: 14px 16px;
      border-radius: 14px;
      background: rgba(24, 148, 232, 0.04);
      border: 1.5px solid rgba(24, 148, 232, 0.12);
    }

    .destination-label { font-size: 13px; font-weight: 500; color: #1c132c; }
    .destination-address { font-size: 12px; color: #9ca3af; margin-top: 2px; }

    /* Fee Estimate */
    .fee-estimate {
      display: flex;
      justify-content: space-between;
      padding: 0 2px;
      margin-bottom: 16px;
      font-size: 13px;
      color: #9ca3af;
    }

    /* Top Up CTA Button */
    .btn-topup {
      width: 100%;
      padding: 16px 24px;
      border-radius: 14px;
      background: linear-gradient(135deg, #1894E8, #9F72FF);
      color: #fff;
      font-size: 15px;
      font-weight: 600;
      font-family: 'JetBrains Mono', monospace;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: box-shadow 0.2s, transform 0.2s;
      margin-top: 4px;
    }

    .btn-topup:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(24, 148, 232, 0.35); }
    .btn-topup:active { transform: translateY(0); }
    .btn-topup svg { width: 16px; height: 16px; }

    /* Hint */
    .hint {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      margin-top: 16px;
      font-size: 12px;
      color: #b0b4bd;
      line-height: 1.5;
    }

    .hint-icon {
      flex-shrink: 0;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 1.5px solid #c5c9d2;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      font-weight: 700;
      color: #c5c9d2;
      margin-top: 1px;
    }

    /* Success Card */
    .success-card {
      display: none;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.5);
      border-radius: 24px;
      padding: 40px 36px;
      max-width: 480px;
      width: 100%;
      text-align: center;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
      animation: fadeInUp 0.35s ease;
    }

    .success-check {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, #22c55e, #4ade80);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 22px;
      color: #fff;
    }

    .success-title {
      font-size: 20px;
      font-weight: 700;
      color: #1c132c;
      margin-bottom: 8px;
      letter-spacing: -0.3px;
    }

    .success-amount {
      font-size: 28px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: #1c132c;
      letter-spacing: -1px;
      margin-bottom: 4px;
    }

    .success-detail {
      font-size: 14px;
      color: #9ca3af;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .success-detail img { width: 16px; height: 16px; border-radius: 50%; }

    .success-tx {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      background: rgba(243, 244, 246, 0.8);
      border-radius: 12px;
      margin-bottom: 20px;
      justify-content: center;
    }

    .success-tx-label { font-size: 12px; color: #9ca3af; font-weight: 500; }

    .success-tx-hash {
      font-size: 13px;
      font-family: 'JetBrains Mono', monospace;
      color: #6b7280;
    }

    .btn-another {
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 24px;
      border-radius: 14px;
      font-size: 14px;
      font-weight: 600;
      font-family: 'JetBrains Mono', monospace;
      color: #6b7280;
      background: rgba(243, 244, 246, 0.8);
      border: 1.5px solid rgba(0, 0, 0, 0.08);
      cursor: pointer;
      margin-top: 8px;
      transition: background 0.15s, transform 0.2s, color 0.15s;
    }

    .btn-another:hover { background: rgba(229, 231, 235, 0.9); transform: translateY(-1px); color: #1c132c; }
    .btn-another:active { transform: translateY(0); }
    .btn-another svg { width: 16px; height: 16px; flex-shrink: 0; }

