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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #2c3e50;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
  color: #7c8ba1;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat-card .value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #667eea;
}

.subscribers-table {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.export-btn {
  background: #667eea;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.export-btn:hover {
  background: #5568d3;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 15px;
  background: #f8f9fa;
  color: #7c8ba1;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

td {
  padding: 15px;
  border-top: 1px solid #ecf0f1;
}

.plan-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-starter {
  background: #e3f2fd;
  color: #1976d2;
}

.plan-pro {
  background: #f3e5f5;
  color: #7b1fa2;
}

.plan-alpha {
  background: #fff3e0;
  color: #e65100;
}

.crypto-badge {
  font-family: monospace;
  font-size: 0.9rem;
  color: #667eea;
}

.tx-hash {
  font-family: monospace;
  font-size: 0.85rem;
  color: #95a5a6;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
