/* VRX Wallet - Styling System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #08080a;
  --bg-secondary: rgba(18, 18, 24, 0.75);
  --bg-tertiary: rgba(30, 30, 40, 0.5);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8a2be2;
  
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple: linear-gradient(135deg, #8a2be2 0%, #4a00e0 100%);
  --grad-dark: linear-gradient(180deg, rgba(25, 25, 35, 0.4) 0%, rgba(10, 10, 15, 0.6) 100%);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.5);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-glow: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

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

body {
  background-color: #030304;
  color: var(--text-primary);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* App Container Frame (centered mobile layout) */
.app-container {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

@media (min-width: 481px) {
  .app-container {
    height: 880px;
    border-radius: 36px;
    border: 1px solid var(--border-light);
  }
}

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.orb-1 {
  background: var(--accent-cyan);
  top: -100px;
  right: -100px;
}

.orb-2 {
  background: var(--accent-purple);
  bottom: -100px;
  left: -100px;
}

/* Screen Wrapper */
.view-wrapper {
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}

.view-wrapper::-webkit-scrollbar {
  display: none;
}

.view {
  display: none;
  flex-direction: column;
  padding: 24px;
  min-height: 100%;
  animation: fadeIn 0.4s ease-out forwards;
}

.view.active {
  display: flex;
}

/* Headers */
.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}

.header-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.icon-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--border-light);
  transform: scale(1.05);
}

/* Buttons */
.btn {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.4);
}

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

.btn-ghost {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--color-danger);
}

/* Typography */
h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-container {
  position: relative;
}

.input-field {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  background: rgba(30, 30, 40, 0.8);
}

.input-field::placeholder {
  color: var(--text-muted);
}

.textarea-field {
  resize: none;
  height: 100px;
}

.validation-error {
  color: var(--color-danger);
  font-size: 12px;
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 4px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 20px;
}

/* Landing View specific */
.landing-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px 0 40px;
  text-align: center;
}

.logo-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
  margin-bottom: 16px;
  animation: float 4s ease-in-out infinite;
}

.landing-title {
  margin-bottom: 8px;
}

.landing-desc {
  max-width: 280px;
  margin: 0 auto 30px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.feature-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Password View specific */
.password-intro {
  margin-bottom: 30px;
}

/* Phrase Screen specific */
.phrase-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.warning-icon {
  color: var(--color-warning);
  font-size: 20px;
  flex-shrink: 0;
}

.warning-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-warning);
  margin-bottom: 4px;
}

.warning-text p {
  font-size: 12px;
  color: var(--text-secondary);
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.phrase-word {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.word-index {
  color: var(--text-muted);
  font-weight: 500;
}

.word-text {
  font-weight: 600;
}

/* Segmented Control (Tabs) */
.segmented-control {
  display: flex;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.seg-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn.active {
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Dashboard Layout */
.dashboard-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Dashboard Header & Network Selector */
.network-selector-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.network-selector-pill:hover {
  background: var(--border-light);
}

.network-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Account Info Card */
.account-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
}

.account-selector-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  background: transparent;
  border: none;
  color: var(--text-primary);
}

.portfolio-network-chip {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.balance-fiat {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.balance-crypto {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
}

.balance-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 8px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.address-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Quick Actions Group */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.action-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all 0.2s ease;
}

.action-btn:hover .action-icon {
  background: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

.action-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Tokens and Networks List Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.section-link {
  font-size: 13px;
  color: var(--accent-cyan);
  text-decoration: none;
  cursor: pointer;
}

.section-link:hover {
  text-decoration: underline;
}

.token-list, .network-list-dashboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.list-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.token-avatar, .network-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-cyan);
  border: 1px solid var(--border-light);
}

.row-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.row-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.row-right {
  text-align: right;
}

.row-val {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.row-sub {
  font-size: 11px;
}

.txt-green {
  color: var(--color-success);
}

.txt-red {
  color: var(--color-danger);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 40px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Explore Tab DApps Grid */
.dapps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dapp-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dapp-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.dapp-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}

.dapp-card:nth-child(even) .dapp-icon-wrapper {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
}

.dapp-card h4 {
  font-size: 13px;
  font-weight: 700;
}

.dapp-card p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  flex: 1;
}

/* Settings Options */
.settings-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 4px;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.settings-item-label {
  font-size: 14px;
  font-weight: 600;
}

.settings-item-value {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-item-arrow {
  color: var(--text-muted);
  font-size: 12px;
}

.about-footer {
  text-align: center;
  padding: 24px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.about-footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: relative;
  width: 100%;
  height: 72px;
  min-height: 72px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: var(--safe-area-bottom);
  z-index: 100;
  flex-shrink: 0;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  color: var(--accent-cyan);
}

.nav-tab-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tab-label {
  font-size: 10px;
  font-weight: 600;
}

/* Modals & Bottom Sheets */
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-top: 1px solid var(--border-light);
  padding: 24px 24px calc(24px + var(--safe-area-bottom));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.94, 0.6, 1);
  z-index: 201;
  max-height: 85%;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.bottom-sheet.active {
  transform: translateY(0);
}

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

.bottom-sheet-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.bottom-sheet-drag-handle {
  width: 40px;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: -12px auto 16px;
}

/* Specific Modals styling */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.qr-code-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-wrapper canvas {
  width: 180px !important;
  height: 180px !important;
}

/* Swap Inputs styling */
.swap-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-input-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swap-input-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  width: 60%;
}

.swap-input-box input:focus {
  outline: none;
}

.swap-token-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.swap-divider {
  display: flex;
  justify-content: center;
  margin: -8px 0;
  position: relative;
  z-index: 5;
}

.swap-divider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.swap-divider-btn:hover {
  transform: rotate(180deg);
}

.swap-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Toast Notifications */
.toast-notification {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 242, 254, 0.2);
  z-index: 500;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  color: var(--accent-cyan);
}

/* Custom styling for standard text formatting */
.mono {
  font-family: monospace;
}

/* Hide navigation on auth views */
.app-container.auth-view .bottom-nav {
  display: none;
}

/* ================================================
   WEB3 FEATURE STYLES
   ================================================ */

/* Network Badges */
.network-live-badge,
.network-sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}

.network-live-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.network-sim-badge {
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.25);
  color: var(--accent-cyan);
}

/* Price Source Badges (Swap sheet) */
.live-price-badge,
.stale-price-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.live-price-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.stale-price-badge {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Confirm Send Sheet */
.confirm-tx-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.confirm-tx-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
}

.confirm-addr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.confirm-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.confirm-addr-val {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-primary);
  word-break: break-all;
  text-align: center;
}

.confirm-arrow {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.confirm-amount-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.confirm-symbol {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.confirm-fee-box {
  width: 100%;
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.confirm-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 5px 0;
}

.confirm-fee-row:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.confirm-fee-row span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* Tx Hash Link in Activity */
.tx-hash-link {
  font-family: monospace;
  font-size: 10px;
  color: var(--accent-cyan);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  transition: opacity 0.2s;
}

.tx-hash-link:hover {
  opacity: 0.75;
}

/* Tx Status Badges */
.tx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tx-badge-confirmed {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

.tx-badge-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.tx-badge-simulated {
  background: rgba(0, 194, 255, 0.1);
  color: var(--accent-cyan);
}

/* Staking external protocol cards */
.stake-protocol-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stake-protocol-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-tertiary);
}

