/* Dashboard charts grid layout */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
/* Critical Alerts Banner */
.critical-alerts {
  width: 100%;
  margin: 0 auto 18px auto;
  padding: 18px 32px;
  border-radius: 12px;
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 16px rgba(239, 68, 68, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}
.critical-alerts.error {
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  border: 2px solid #ef4444;
}
.critical-alerts.warning {
  background: rgba(251, 191, 36, 0.95);
  color: #181a20;
  border: 2px solid #f59e0b;
}
.critical-alerts.info {
  background: rgba(0, 212, 255, 0.92);
  color: #181a20;
  border: 2px solid #00d4ff;
}
/* Staking History Placeholder */
#stakingHistoryPlaceholder {
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1em;
  letter-spacing: 0.01em;
}
/* Critical CSS - Above the fold styles for fastest rendering */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
}

:root {
  --primary: #00d4ff;
  --secondary: #8a2be2;
  --accent: #ff6b35;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --dark: #0a0a0a;
  --light: #1a1a2e;
  --text: #ffffff;
  --card-bg: rgba(26, 26, 46, 0.8);
  --bg-gradient-start: #0a0a0a;
  --bg-gradient-mid: #1a1a2e;
  --bg-gradient-end: #16213e;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: radial-gradient(
    ellipse at center,
    var(--bg-gradient-start) 0%,
    var(--bg-gradient-mid) 50%,
    var(--bg-gradient-end) 100%
  );
  color: var(--text);
  min-height: 100vh;
  transition:
    background 0.3s,
    color 0.3s;
  overflow-x: hidden;
  position: relative;
}

.navbar {
  background: rgba(26, 26, 46, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  padding: 1rem 2rem;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  border: none;
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  [data-theme='dark'] {
    --bg: #181a20;
    --card: #23272f;
    --text: #f5f5f5;
    --accent: #00d4ff;
    --primary: #00d4ff;
    --text-main: #f5f5f5;
    background: var(--bg);
    color: var(--text);
  }
  [data-theme='light'] {
    --bg: #f5f7fa;
    --card: #fff;
    --text: #181a20;
    --accent: #8a2be2;
    --primary: #8a2be2;
    --text-main: #181a20;
    background: var(--bg);
    color: var(--text);
  }
  .card {
    font-weight: 600;
    transition: all 0.3s ease;
  }
}
body,
html {
  background: var(--bg);
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-primary:hover {
  background: #00b8e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

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

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(138, 43, 226, 0.1) 100%
  );
  border-radius: 1rem;
  margin: 2rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
