/* MEGA PREMIUM FEATURES CSS */

/* 1. FOCUS MODE */
body.focus-mode .admin-sidebar,
body.focus-mode .admin-header,
body.focus-mode .admin-tab-nav {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

body.focus-mode .admin-layout-wrapper {
  grid-template-columns: 1fr;
  padding: 0;
  margin: 0;
}

body.focus-mode .admin-main {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 40px;
  background-color: #000000;
  overflow-y: auto;
}

body.focus-mode .focus-mode-exit {
  display: flex !important;
}

.focus-mode-exit {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  z-index: 9999;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.focus-mode-exit:hover {
  background: rgba(255,255,255,0.2);
}

/* 2. COMMAND PALETTE (CTRL+K) */
.command-palette-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.command-palette-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.command-palette-box {
  width: 100%;
  max-width: 600px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.command-palette-overlay.active .command-palette-box {
  transform: translateY(0);
}

.command-palette-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-body);
}

.command-palette-input:focus {
  outline: none;
}

.command-palette-results {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.command-item.active, .command-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.command-item kbd {
  margin-left: auto;
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: monospace;
}

/* 3. ACTIVITY RADAR */
.activity-radar-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  height: 300px;
  overflow-y: hidden;
  position: relative;
}

.activity-radar-panel h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-radar-panel h3::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.activity-time {
  font-family: monospace;
  color: var(--text-muted);
  width: 50px;
}

.activity-desc {
  color: var(--text-primary);
}

.activity-fade-out {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}
