/* AtlasPool.io - Main Stylesheet */
/* Monochrome Theme (Default) */

:root {
  --primary: #18181b;
  --accent: #06b6d4;
  --bg-dark: #09090b;
  --bg-card: #1e293b;
  --text-primary: #fafafa;
  --text-secondary: #94a3b8;
  --border: #334155;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
}

/* Blue/Purple Theme */
[data-theme="blue-purple"] {
  --primary: #1e3a8a;
  --accent: #7c3aed;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: #334155;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
}

/* Orange/Red Theme */
[data-theme="orange-red"] {
  --primary: #dc2626;
  --accent: #f7931a;
  --bg-dark: #1c0f0a;
  --bg-card: #2d1b13;
  --text-primary: #fef2f2;
  --text-secondary: #fca5a5;
  --border: #7f1d1d;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
}

/* Green/Teal Theme */
[data-theme="green-teal"] {
  --primary: #047857;
  --accent: #14b8a6;
  --bg-dark: #0a1f1a;
  --bg-card: #134e4a;
  --text-primary: #f0fdfa;
  --text-secondary: #5eead4;
  --border: #115e59;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.4;
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.logo a {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  background-color: var(--accent);
  color: var(--bg);
}

/* Hero Section */
.hero {
  padding: 1.5rem 0 0.125rem 0;  /* Minimal bottom padding before Connect panel */
  text-align: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #7dd3fc, var(--accent), #0891b2);  /* Light to dark, left to right */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1rem;  /* Space between tagline and search bar */
}

.subtitle-word {
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Wallet Search */
.wallet-search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.wallet-input {
  flex: 1;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
}

.wallet-input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-primary {
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.error-message {
  color: var(--error);
  margin-top: 0.5rem;  /* Reduced from 1rem */
  margin-bottom: 0.5rem;  /* Added to control spacing */
  min-height: 1.5rem;
}

/* Stats Section */
.stats-section {
  padding: 0.75rem 0;  /* Reduced from 1.25rem */
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;  /* Reduced from 2rem */
  text-align: center;
  color: var(--accent);  /* Use theme accent color */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;  /* Reduced from 1rem */
  text-align: center;
}

.stat-label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.stat-value {
  font-size: 1.25rem;  /* Reduced from 1.5rem */
  font-weight: 700;
  color: var(--accent);
}

.stat-date {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Features Section */
.features-section {
  padding: 1rem 0;  /* Reduced from 2rem */
  background: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;  /* Reduced from 2rem */
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;  /* Reduced from 2rem */
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature-card p {
  color: var(--text-secondary);
}

/* Dashboard */
.dashboard {
  padding: 1rem 0;
  min-height: 60vh;
}

.dashboard h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.dashboard h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 2.5rem 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.wallet-section {
  margin-bottom: 1.25rem;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.wallet-address {
  font-family: 'Courier New', monospace;
  color: var(--text-secondary);
  word-break: break-all;
  font-size: 0.85rem;
}

.btn-refresh {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-refresh:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-refresh:active {
  transform: scale(0.95);
}

.btn-refresh.refreshing {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-refresh.refreshing svg {
  animation: spin 1s linear infinite;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

th {
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

th.status-col {
  width: 40px;
  padding: 0.65rem 0.5rem;
}

/* Dashboard workers table - Last Seen column */
.last-seen-cell {
  width: 140px;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

.text-center {
  text-align: center;
}

/* Status Indicators */
.status-indicator {
  text-align: center;
  padding: 0.65rem 0.5rem;
}

.status-light {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 4px currentColor;
}

.status-light.status-healthy {
  background-color: var(--success);
  color: var(--success);
}

.status-light.status-offline {
  background-color: var(--error);
  color: var(--error);
}

/* Leaderboards Section */
.leaderboards-section {
  padding: 1rem 0;
}

.leaderboards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.leaderboards-grid-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.leaderboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.leaderboard-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-align: center;
}

.leaderboard-chart {
  min-height: 300px;
}

.leaderboard-table {
  min-height: 300px;
  overflow-x: auto;
}

.leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--primary);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.8rem;
}

.leaderboard-table thead {
  background: var(--accent);
}

.leaderboard-table th {
  padding: 0.65rem 0.5rem;
  text-align: left;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.8rem;
  white-space: nowrap;
}

.leaderboard-table td {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.75rem;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
}

.leaderboard-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table tbody tr:nth-child(odd) {
  background: transparent;
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.1);
}

@media (max-width: 768px) {
  .leaderboards-grid {
    grid-template-columns: 1fr;
  }
  
  .leaderboards-grid-secondary {
    grid-template-columns: 1fr;
  }
  
  .leaderboard-chart {
    min-height: 250px;
  }
  
  .leaderboard-table {
    font-size: 0.7rem;
  }
  
  .leaderboard-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
  }
  
  .leaderboard-table td {
    padding: 0.4rem 0.25rem;
    font-size: 0.65rem;
  }
}

/* Chart Section */
.chart-section {
  padding: 1rem 0;  /* Reduced from 2rem to 1rem */
}

/* Chart Panel - matches stat cards */
.chart-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
}

/* Chart Tabs */
.chart-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1rem 0 1rem;
  background: var(--bg-card);
}

.chart-tab {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.chart-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
}

.chart-container {
  background: var(--primary);
  padding: 2rem;
}

.chart {
  width: 100%;
  min-height: 300px;  /* Reduced from 400px to 300px */
}

/* Chart responsive */
@media (max-width: 768px) {
  .chart-tabs {
    padding: 0.5rem 0.5rem 0 0.5rem;
    gap: 0.25rem;
  }
  
  .chart-tab {
    padding: 0.5rem 0.5rem;
    font-size: 0.7rem;
    min-width: 0;
    flex: 1 1 auto;
  }
  
  .chart-tab span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .chart-container {
    padding: 1rem;
  }
  
  .chart {
    min-height: 250px;  /* Reduced from 300px to 250px */
  }
}

/* Footer */
.footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-section {
  flex: 0 1 auto;
  min-width: 120px;
}

.footer-section.donate-section {
  flex: 0 1 auto;
  min-width: 280px;
  max-width: 350px;
}

.footer-section.theme-section {
  flex: 0 1 auto;
  margin-left: auto;
}

.footer-section strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  min-height: 1.2em;
}

.donation-address {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  background: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links svg {
  vertical-align: middle;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--accent);
}

/* Features Grid - Why AtlasPool page */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .wallet-search {
    flex-direction: column;
  }
  
  .nav {
    gap: 1rem;
  }
  
  .stats-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .wallet-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-refresh {
    justify-content: center;
  }
}


/* Language Selector (Header) */
.language-selector {
  margin-left: 1rem;
}

.language-selector select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.language-selector select:hover {
  border-color: var(--accent);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1);
}

/* Theme Selector (Footer) */
#theme-select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.25rem;
  display: block;
}

#theme-select:hover {
  border-color: var(--accent);
}

#theme-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1);
}

/* Smooth theme transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }
  
  .language-selector {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .language-selector select {
    width: 100%;
  }
}


/* ============================================
   Wallet Persistence Feature Styles
   ============================================ */

/* Header Layout Updates */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.mobile-menu-btn:hover {
  color: var(--accent-color);
}

/* Header Wallet Section */
.header .wallet-section {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  margin-bottom: 0;
}

.header .wallet-label {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 0.5rem 0;
  line-height: 1.4;
}

.header .wallet-address {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
  line-height: 1.4;
  word-break: normal;
}

.header .wallet-address:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.wallet-address .dropdown-icon {
  font-size: 0.75rem;
  opacity: 0.6;
}

.wallet-clear {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.2s;
}

.wallet-clear:hover {
  color: var(--accent-color);
}

/* Wallet Dropdown */
.wallet-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  min-width: 300px;
  z-index: 1000;
}

.wallet-dropdown-header {
  padding: 0.375rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--primary);
}

.wallet-dropdown-list {
  max-height: 300px;
  overflow-y: auto;
}

.wallet-dropdown-item {
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  background: var(--primary);
}

.wallet-dropdown-item:hover {
  background: var(--bg-card);
}

.wallet-dropdown-item.current {
  background: var(--bg-card);
}

.wallet-dropdown-item .wallet-indicator {
  color: var(--accent-color);
  font-weight: bold;
}

.wallet-dropdown-item .wallet-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-dropdown-footer {
  padding: 0.375rem 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--primary);
}

.wallet-add-new {
  display: block;
  text-align: center;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.wallet-add-new:hover {
  background: var(--bg-card);
}

/* Responsive Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Tablet: Hide wallet label to save space */
  .wallet-label {
    display: none;
  }
  
  .nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  /* Mobile: Restructure header */
  .header-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .header-left {
    width: 100%;
    justify-content: space-between;
  }
  
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: block;
    order: -1;
  }
  
  /* Hide navigation by default on mobile */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    background: #09090b;  /* Solid background for better readability */
  }
  
  .nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: #09090b;  /* Ensure each link has solid background */
  }
  
  .nav a:last-child {
    border-bottom: none;
  }
  
  /* Hide wallet label on mobile */
  .wallet-label {
    display: none;
  }
  
  /* Adjust wallet section for mobile */
  .wallet-section {
    flex: 1;
    padding: 0.375rem 0.5rem;
  }
  
  .wallet-address {
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Make wallet dropdown full width on mobile */
  .wallet-dropdown {
    left: 0;
    right: 0;
    min-width: auto;
  }
  
  /* Larger touch targets */
  .wallet-clear {
    padding: 0.5rem;
    font-size: 1.5rem;
  }
  
  .mobile-menu-btn {
    padding: 0.75rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .wallet-address,
  .wallet-clear,
  .mobile-menu-btn,
  .wallet-dropdown-item {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================
   No Wallet & No Activity States
   ============================================ */

/* No Wallet State */
.no-wallet-state,
.no-activity-state {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem;
}

.no-wallet-icon,
.no-activity-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-wallet-state h2,
.no-activity-state h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.no-wallet-state p,
.no-activity-state p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.wallet-search-box {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
}

.wallet-search-box input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
}

.wallet-search-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.wallet-search-box button {
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.wallet-search-box button:hover {
  background: var(--accent-hover);
}

.wallet-display {
  font-family: 'Courier New', monospace;
  background: var(--bg-secondary);
  padding: 0.75rem;
  border-radius: 6px;
  margin: 1rem 0;
}

.wallet-display code {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.help-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.help-section p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.help-section a {
  color: var(--accent-color);
  text-decoration: none;
}

.help-section a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .no-wallet-state,
  .no-activity-state {
    margin: 2rem auto;
    padding: 1rem;
  }
  
  .wallet-search-box {
    flex-direction: column;
  }
  
  .wallet-search-box button {
    width: 100%;
  }
}
