:root {
  --bg-primary: #0a0e14;
  --bg-card: #111318;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #0a0e14 !important;
  background-color: #0a0e14 !important;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0e14 !important;
  background-color: #0a0e14 !important;
  color: var(--text-primary, #fff);
  min-height: 100vh;
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
}

.header {
  display: flex;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  background: #0a0e14 !important;
  background-color: #0a0e14 !important;
  z-index: 10;
  border-bottom: 1px solid var(--border-color);
}

.back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.header-action {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.tabs {
  display: flex;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 1px;
}

.tab-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

.notifications-list {
  padding: 0.5rem 0;
}

.notification-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s;
}

.notification-item:hover {
  background: rgba(13, 17, 23, 0.9) !important;
}

.notification-item.unread {
  background: rgba(245, 158, 11, 0.05);
}

.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon.system {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.notification-icon.trade {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.notification-icon.alert {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

.notification-icon.promo {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-title .unread-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
}

.notification-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.notification-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.9) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
}

.empty-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}