:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: rgba(22, 27, 34, 0.85);
  --bg-card-hover: rgba(30, 37, 46, 0.9);
  --border-color: rgba(48, 54, 61, 0.6);
  --text-primary: #e6edf3;
  --text-secondary: rgba(230, 237, 243, 0.7);
  --text-muted: rgba(139, 148, 158, 0.8);
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
  --glow-green: rgba(16, 185, 129, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #0d1117 !important;
  background-color: #0d1117 !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0d1117 !important;
  background-color: #0d1117 !important;
  color: var(--text-primary, #e6edf3);
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  background: #0d1117 !important;
  background-color: #0d1117 !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: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.back-btn:hover {
  border-color: var(--accent-green);
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 40px;
}

/* Login Info */
.login-info {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.login-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Security Level */
.security-level {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.security-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.security-value {
  color: var(--accent-green);
  font-weight: 600;
}

.security-bars {
  display: flex;
  gap: 4px;
}

.security-bar {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-green);
}

.security-bar.inactive {
  background: rgba(255, 255, 255, 0.15);
}

/* Settings List */
.settings-list {
  padding: 0;
}

.settings-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.settings-item:hover {
  background: rgba(13, 17, 23, 0.9) !important;
}

.settings-item:active {
  background: rgba(13, 17, 23, 0.9) !important;
}

.settings-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--text-secondary);
}

.settings-content {
  flex: 1;
}

.settings-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.settings-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

.settings-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.settings-arrow {
  color: var(--text-secondary);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--accent-green);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(20px);
}

/* Status Badges */
.status-configured {
  color: var(--text-secondary);
}

.status-not-setup {
  color: var(--text-secondary);
}

.status-verified {
  color: var(--accent-green);
  font-weight: 500;
}

.status-pending {
  color: var(--accent-orange);
  font-weight: 500;
}

/* Divider */
.divider {
  height: 8px;
  background: rgba(13, 17, 23, 0.9) !important;
}