/* src/components/Noise.css */
.noise-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* src/components/WalletSelector.css */
.create-wallet {
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* src/components/Counter.css */
.counter-container {
  position: relative;
  display: inline-block;
}
.counter-counter {
  display: flex;
  overflow: hidden;
  line-height: 1;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    Helvetica,
    sans-serif;
  font-weight: 600;
}
.counter-digit {
  position: relative;
  width: 1ch;
  font-variant-numeric: tabular-nums;
  background: none;
  border-radius: 0;
}
.counter-number {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
}
.gradient-container {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.bottom-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* src/components/ChainCard.css */
.chain-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* src/components/ManageAssets.css */
.manage-assets-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}
.manage-assets-modal {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
}
.manage-assets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #3a3a3a;
}
.manage-assets-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}
.close-btn:hover {
  background: #3a3a3a;
  color: #fff;
}
.manage-assets-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  min-height: 0;
}
.manage-assets-content::-webkit-scrollbar {
  width: 6px;
}
.manage-assets-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.manage-assets-content::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 3px;
}
.loading-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #9ca3af;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #3a3a3a;
  border-top: 3px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
.error-state button {
  background: #8b5cf6;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}
.error-state button:hover {
  background: #7c3aed;
}
.selection-summary {
  margin-bottom: 20px;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
}
.selection-summary p {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}
.tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.token-card {
  background: #1a1a1a;
  border: 2px solid #3a3a3a;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.token-card:hover {
  border-color: #8b5cf6;
  transform: translateY(-1px);
}
.token-card.selected {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}
.token-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.token-card .token-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.token-details {
  display: flex;
  flex-direction: column;
}
.token-card .token-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.token-card .token-symbol {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}
.token-selection {
  display: flex;
  align-items: center;
}
.token-selection input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #8b5cf6;
  cursor: pointer;
}
.manage-assets-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid #3a3a3a;
}
.cancel-btn,
.save-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.cancel-btn {
  background: #3a3a3a;
  color: #9ca3af;
}
.cancel-btn:hover {
  background: #4a4a4a;
  color: #fff;
}
.save-btn {
  background: #8b5cf6;
  color: white;
}
.save-btn:hover:not(:disabled) {
  background: #7c3aed;
}
.save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* src/components/WalletSettings.css */
.modal-content::-webkit-scrollbar {
  width: 4px;
}
.modal-content::-webkit-scrollbar-track {
  background: #374151;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 2px;
}
.receive-modal {
  background: #2a2a2a !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 16px !important;
  width: 90% !important;
  max-width: 400px !important;
  max-height: 80vh !important;
  overflow: auto !important;
  position: relative !important;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #3a3a3a;
}
.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}
.close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.modal-body {
  padding: 24px;
}
.receive-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wallet-info {
  text-align: center;
}
.wallet-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.curve-info {
  font-size: 14px;
  color: #9ca3af;
}
.address-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 8px;
}
.address-container {
  display: flex;
  gap: 8px;
  align-items: center;
}
.address-display {
  flex: 1;
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #e5e7eb;
  word-break: break-all;
}
.address-text {
  font-size: 12px;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #7c3aed;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: #8b5cf6;
}
.copy-btn.copied {
  background: #10b981;
}
.copy-feedback {
  font-size: 12px;
  color: #10b981;
  text-align: center;
  margin-top: 4px;
}
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.qr-container {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.qr-code {
  display: flex;
  justify-content: center;
  align-items: center;
}
.qr-info {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
}
.qr-scanner-modal {
  background: #2a2a2a !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 16px !important;
  width: 90% !important;
  max-width: 500px !important;
  max-height: 80vh !important;
  overflow: hidden !important;
  position: relative !important;
}
.scanner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.permission-error,
.scanner-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 20px;
}
.camera-icon-large {
  width: 64px !important;
  height: 64px !important;
  color: #6b7280;
}
.permission-error h3 {
  color: #fff;
  margin: 0;
  font-size: 18px;
}
.permission-error p,
.scanner-error p {
  color: #9ca3af;
  margin: 0;
  font-size: 14px;
}
.retry-btn {
  background: #7c3aed;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.retry-btn:hover {
  background: #8b5cf6;
}
.scanner-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}
.scanner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-frame {
  width: 200px;
  height: 200px;
  border: 2px solid #7c3aed;
  border-radius: 12px;
  background: transparent;
  animation: scanner-pulse 2s infinite;
}
@keyframes scanner-pulse {
  0%, 100% {
    border-color: #7c3aed;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
  }
}
.scanner-status {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.scanner-status p {
  color: #fff;
  margin: 0;
  font-size: 14px;
  text-align: center;
}
.camera-switch-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  z-index: 10;
}
.camera-switch-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}
.camera-switch-btn:active {
  transform: scale(0.95);
}
.camera-switch-btn svg {
  width: 24px;
  height: 24px;
}

/* src/pages/Popup/Popup.css */
.wallet-address-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.2s;
}
.wallet-address-span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  color: #fff;
  font-family: monospace;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  max-width: 120px;
  white-space: nowrap;
}
.wallet-address-span.copied {
  border: 1px solid #4caf50;
}
.wallet-address-container:hover .wallet-address-span {
  max-width: 420px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.18);
  border: 1px solid #4caf50;
}
.wallet-address-text {
  position: relative;
  display: inline-block;
  transition: color 0.2s;
}
.wallet-address-full {
  opacity: 0;
  margin-left: 8px;
  transition: opacity 0.3s, margin-left 0.3s;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}
.wallet-address-container:hover .wallet-address-full {
  opacity: 1;
  margin-left: 8px;
}
.settings-gear-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.settings-gear-btn:hover,
.settings-gear-btn:focus {
  opacity: 1;
}
.settings-gear-btn svg {
  transition: transform 0.3s cubic-bezier(.4, 2, .6, 1), filter 0.2s;
  filter: brightness(1);
}
.settings-gear-btn:hover svg,
.settings-gear-btn:focus svg {
  transform: rotate(30deg);
  filter: brightness(0.7);
}
.action-btn:hover,
.action-btn:focus {
  transform: scale(1.08);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.10);
  z-index: 1;
}
.chain-card-anim {
  transition: transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 10px 0 rgba(60, 60, 90, 0.13), 0 1px 3px 0 rgba(60, 60, 90, 0.10);
  background: #fff;
  border-radius: 14px;
}
.chain-card-anim:hover,
.chain-card-anim:focus-within {
  transform: scale(1.035);
  box-shadow: 0 8px 32px 0 rgba(60, 60, 90, 0.18), 0 2px 8px 0 rgba(60, 60, 90, 0.13);
  z-index: 2;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Oxygen",
    "Ubuntu",
    "Cantarell",
    "Fira Sans",
    "Droid Sans",
    "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wallet-popup {
  width: 360px;
  height: 600px;
  background: #1a1a1a;
  color: white;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #2a2a2a;
  border-bottom: 1px solid #3a3a3a;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}
.brand-name {
  color: #a855f7;
  font-weight: 600;
  font-size: 14px;
}
.popup-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popup-content::-webkit-scrollbar {
  width: 4px;
}
.popup-content::-webkit-scrollbar-track {
  background: #374151;
}
.popup-content::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 2px;
}
.balance-card {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.balance-label {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 8px;
}
.balance-amount {
  font-size: 28px;
  font-weight: 600;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    Helvetica,
    sans-serif;
  margin-bottom: 12px;
}
.balance-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.balance-change.positive {
  color: #10b981;
}
.balance-change.negative {
  color: #ef4444;
}
.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.action-btn {
  background: #8b5cf6;
  border: none;
  border-radius: 8px;
  padding: 12px 8px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.15s cubic-bezier(.4, 0, .2, 1), box-shadow 0.15s cubic-bezier(.4, 0, .2, 1);
}
.action-btn:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}
.assets-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.assets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.assets-label {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}
.manage-btn {
  background: none;
  border: none;
  color: #a855f7;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.manage-btn:hover {
  background: #3a3a3a;
}
.assets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chain-card {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}
.chain-card:hover {
  border-color: #8b5cf6;
}
.chain-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.chain-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chain-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  color: white;
}
.chain-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.chain-balance {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.2;
}
.chain-value {
  text-align: right;
}
.fiat-value {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 4px;
}
.change-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  justify-content: flex-end;
}
.change-value.positive {
  color: #10b981;
}
.change-value.negative {
  color: #ef4444;
}
.chart-section {
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
}
.mini-chart {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-chart svg {
  width: 100%;
  height: 100%;
}
.dropdown {
  position: relative;
}
.dropdown-trigger {
  cursor: pointer;
}
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  z-index: 1000;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.wallet-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.wallet-selector:hover {
  background: #3a3a3a;
  border-color: #8b5cf6;
}
.wallet-name {
  font-size: 14px;
  font-weight: 500;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-list {
  padding: 8px;
}
.wallet-item {
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.wallet-item:hover {
  background: #3a3a3a;
}
.wallet-item.selected {
  background: #3a3a3a;
}
.wallet-item .wallet-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  max-width: none;
}
.wallet-address {
  font-size: 12px;
  color: #9ca3af;
  font-family: monospace;
}
.tokens-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #d1d5db;
  transition: all 0.2s;
}
.tokens-trigger:hover {
  background: #3a3a3a;
  border-color: #8b5cf6;
}
.tokens-list {
  padding: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.token-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.token-item:hover {
  background: #3a3a3a;
}
.token-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.token-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #6b7280,
      #4b5563);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: white;
}
.token-symbol {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.token-name {
  font-size: 10px;
  color: #9ca3af;
  line-height: 1.2;
}
.token-value {
  text-align: right;
}
.token-balance {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}
.token-change {
  font-size: 10px;
  font-weight: 500;
}
.token-change.positive {
  color: #10b981;
}
.token-change.negative {
  color: #ef4444;
}
.w-4 {
  width: 16px;
}
.h-4 {
  height: 16px;
}
.positive {
  color: #10b981;
}
.negative {
  color: #ef4444;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes lockPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
.wallet-lock-indicator {
  animation: lockPulse 2s ease-in-out infinite;
}
.modal-slide-in {
  animation: modalSlideIn 0.3s ease-out;
}
.spinner {
  animation: spin 1s linear infinite;
}

/* src/pages/Popup/RequestDialog.css */
.request-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.request-dialog {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #333;
  background: #1a1a1a;
  flex-shrink: 0;
}
.request-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}
.close-btn {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.close-btn:hover {
  color: #ffffff;
  background: #333;
}
.request-content {
  padding: 20px;
  color: #ffffff;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.request-content::-webkit-scrollbar {
  width: 8px;
}
.request-content::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}
.request-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
  border: 1px solid #333;
}
.request-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.request-site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px;
  background: #252525;
  border-radius: 8px;
  border: 1px solid #333;
}
.site-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  border-radius: 6px;
  overflow: hidden;
}
.site-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-icon.fallback {
  font-size: 18px;
}
.site-info {
  flex: 1;
}
.site-name {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}
.site-origin {
  font-size: 12px;
  color: #888;
  word-break: break-all;
}
.request-message {
  margin-bottom: 20px;
}
.request-message p {
  margin: 0;
  color: #cccccc;
  line-height: 1.5;
  font-size: 14px;
}
.private-key-warning {
  background: #ff6b6b20;
  border: 2px solid #ff6b6b;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.warning-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.warning-icon {
  font-size: 20px;
}
.warning-header h4 {
  margin: 0;
  color: #ff6b6b;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.warning-message {
  margin-bottom: 16px;
}
.warning-message p {
  margin: 8px 0;
  color: #ffcccc;
  font-size: 13px;
  line-height: 1.4;
}
.warning-message p:first-child {
  font-weight: 600;
  color: #ff6b6b;
}
.confirmation-input {
  margin-top: 16px;
}
.confirmation-input label {
  display: block;
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.phrase-to-type {
  background: #333;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-family: monospace;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
}
.confirmation-phrase-input {
  width: 100%;
  background: #1a1a1a;
  border: 2px solid #ff6b6b;
  border-radius: 4px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: monospace;
}
.confirmation-phrase-input:focus {
  outline: none;
  border-color: #ff8888;
  box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}
.confirmation-phrase-input::placeholder {
  color: #666;
}
.wallet-selection {
  background: #252525;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.wallet-selector {
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  width: 100%;
  cursor: pointer;
}
.wallet-selector:focus {
  outline: none;
  border-color: #0066ff;
}
.connect-wallets {
  background: #252525;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.connect-wallets h4 {
  margin: 0 0 12px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}
.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wallet-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.wallet-item:hover {
  background: #242424;
  border-color: #555;
}
.wallet-item.selected {
  background: #1e3a5f;
  border-color: #007acc;
  box-shadow: 0 0 5px rgba(0, 122, 204, 0.3);
}
.wallet-checkbox {
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.wallet-checkbox input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 50%;
  background: #1a1a1a;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.wallet-checkbox input[type=radio]:hover {
  border-color: #007acc;
}
.wallet-checkbox input[type=radio]:checked {
  border-color: #007acc;
  background: #007acc;
}
.wallet-checkbox input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}
.wallet-checkbox input[type=radio]:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 122, 204, 0.5);
}
.wallet-info {
  flex: 1;
}
.wallet-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}
.wallet-address {
  color: #888;
  font-size: 12px;
  font-family: monospace;
  margin-bottom: 2px;
  word-break: break-all;
}
.wallet-curve {
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
}
.transaction-details,
.message-details {
  background: #252525;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.detail-row:last-child {
  margin-bottom: 0;
}
.detail-row .label {
  color: #888;
  font-size: 13px;
  min-width: 60px;
  flex-shrink: 0;
}
.detail-row .value {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}
.message-text {
  font-family: monospace;
  background: #1a1a1a;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.request-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #333;
  background: #1a1a1a;
  flex-shrink: 0;
}
.error-message {
  background: #ff6b6b20;
  border: 1px solid #ff6b6b;
  border-radius: 6px;
  padding: 8px 12px;
  color: #ff6b6b;
  font-size: 13px;
  text-align: center;
}
.request-buttons {
  display: flex;
  gap: 12px;
}
.request-buttons .btn {
  flex: 1;
}
.btn {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn-primary {
  background: #0066ff;
  color: #ffffff;
}
.btn-primary:hover {
  background: #0052cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}
.btn-secondary {
  background: #333;
  color: #ffffff;
  border: 1px solid #555;
}
.btn-secondary:hover {
  background: #444;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.request-loading,
.request-error {
  padding: 40px 20px;
  text-align: center;
  color: #cccccc;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #333;
  border-top: 2px solid #0066ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff40;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.request-error p {
  color: #ff6b6b;
  margin-bottom: 16px;
}

/* src/pages/Web/WebWallet.css */
.web-wallet-desktop {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at top,
      #1a1a2e 0%,
      #0f0f23 50%,
      #000 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.web-wallet-mobile {
  min-height: 100vh;
  background:
    linear-gradient(
      135deg,
      #0f0f23 0%,
      #1a1a2e 100%);
}
.desktop-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.background-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(120, 119, 198, 0.1) 0%,
      transparent 50%),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%),
    radial-gradient(
      circle at 40% 80%,
      rgba(120, 255, 198, 0.1) 0%,
      transparent 50%);
}
@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}
.device-indicator {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: monospace;
  z-index: 9999;
  pointer-events: none;
}
.web-wallet-mobile .wallet-popup {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}
.web-wallet-desktop .wallet-popup {
  position: relative;
  z-index: 1;
  height: auto;
  min-height: 600px;
  max-height: 90vh;
  overflow: visible;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.web-wallet-desktop .popup-content {
  max-height: calc(90vh - 140px);
  overflow-y: auto;
}
@media (min-width: 1200px) {
  .web-wallet-desktop .wallet-popup {
    max-height: 80vh;
  }
  .web-wallet-desktop .popup-content {
    max-height: calc(80vh - 140px);
  }
}
@media (max-width: 768px) {
  .web-wallet-desktop {
    align-items: flex-start;
    padding: 1rem;
  }
  .web-wallet-desktop .wallet-popup {
    max-height: 95vh;
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
  }
  .web-wallet-desktop .popup-content {
    max-height: calc(95vh - 140px);
  }
}
.web-wallet {
  transition: all 0.3s ease;
}
.wallet-popup {
  transition: all 0.3s ease;
}
.web-wallet-mobile {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
@media (prefers-contrast: high) {
  .background-grid {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .background-grid {
    animation: none;
  }
  .web-wallet,
  .wallet-popup {
    transition: none;
  }
}
@media print {
  .web-wallet {
    background: white;
    color: black;
  }
  .desktop-background,
  .device-indicator {
    display: none;
  }
}

/* src/pages/Web/index.css */
.web-wallet {
  min-height: 100vh;
  width: 100%;
  background:
    linear-gradient(
      135deg,
      #0f0f23 0%,
      #1a1a2e 100%);
  position: relative;
  overflow-x: hidden;
}
.mobile-device .web-wallet {
  padding: 0;
}
.mobile-device .wallet-popup {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.mobile-device .popup-header {
  padding: 20px 16px 16px 16px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mobile-device .popup-page {
  padding: 16px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}
.mobile-device .brand-name {
  font-size: 20px !important;
}
.mobile-device .balance-card {
  padding: 24px 20px !important;
  margin-bottom: 20px !important;
}
.mobile-device .balance-amount {
  font-size: 32px !important;
}
.mobile-device .action-buttons {
  gap: 12px !important;
}
.mobile-device .action-button {
  padding: 16px !important;
  min-height: 48px !important;
}
.desktop-device .web-wallet {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.desktop-device .wallet-popup {
  width: 400px !important;
  max-width: 400px !important;
  min-height: 600px !important;
  max-height: 90vh !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  margin: 0 !important;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.desktop-device .popup-page {
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}
.mobile-device button,
.mobile-device .clickable {
  min-height: 44px;
  min-width: 44px;
}
.desktop-device ::-webkit-scrollbar {
  width: 6px;
}
.desktop-device ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.desktop-device ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.desktop-device ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.mobile-device {
  font-size: 16px;
}
.desktop-device {
  font-size: 14px;
}
.mobile-device .form-group {
  margin-bottom: 20px;
}
.mobile-device .form-input {
  padding: 16px 12px;
  font-size: 16px;
}
.desktop-device .form-group {
  margin-bottom: 16px;
}
.desktop-device .form-input {
  padding: 12px 10px;
  font-size: 14px;
}
.mobile-device .popup-page {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.mobile-device html,
.mobile-device body {
  height: 100%;
  overflow-x: hidden;
}
@media (orientation: landscape) and (max-height: 500px) {
  .mobile-device .popup-header {
    padding: 12px 16px;
  }
  .mobile-device .balance-card {
    padding: 16px 20px !important;
  }
  .mobile-device .balance-amount {
    font-size: 24px !important;
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .web-wallet {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
/*# sourceMappingURL=app.bundle.css.map */
