/* ═══════════════════════════════════════════════════════════════
   NEXUS OS — Backup Tool
   Neon glassmorphism backup/restore interface
   ═══════════════════════════════════════════════════════════════ */

.nexus-backup-tool {
  width: 100%; height: 100%;
  background: rgba(10, 5, 20, 0.96);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 8px;
  display: flex; flex-direction: column;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: #e0e0e0;
  overflow: hidden;
  position: relative;
}

.nexus-backup-tool::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.5), transparent);
}

.bt-header {
  padding: 14px 16px;
  background: rgba(0, 200, 255, 0.06);
  border-bottom: 1px solid rgba(0, 200, 255, 0.15);
  display: flex; align-items: center; justify-content: space-between;
}

.bt-header h3 {
  margin: 0; font-size: 13px; font-weight: 600;
  color: #00c8ff;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
  letter-spacing: 1px;
}

.bt-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 200, 255, 0.3) transparent;
}

.bt-body::-webkit-scrollbar { width: 6px; }
.bt-body::-webkit-scrollbar-track { background: transparent; }
.bt-body::-webkit-scrollbar-thumb { background: rgba(0, 200, 255, 0.3); border-radius: 3px; }

.bt-section {
  background: rgba(0, 200, 255, 0.04);
  border: 1px solid rgba(0, 200, 255, 0.12);
  border-radius: 6px;
  padding: 14px;
}

.bt-section h4 {
  margin: 0 0 10px 0; font-size: 11px; font-weight: 600;
  color: #00c8ff; text-transform: uppercase; letter-spacing: 0.5px;
}

.bt-app-list {
  display: flex; flex-direction: column; gap: 6px;
}

.bt-app-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.bt-app-item:hover { border-color: rgba(0, 200, 255, 0.25); background: rgba(0, 200, 255, 0.06); }
.bt-app-item.selected { border-color: rgba(0, 200, 255, 0.5); background: rgba(0, 200, 255, 0.1); }

.bt-app-check {
  width: 14px; height: 14px;
  accent-color: #00c8ff;
}

.bt-app-size { margin-left: auto; color: #666; font-size: 10px; }

.bt-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.bt-btn {
  padding: 6px 14px;
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 4px;
  color: #e0e0e0;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.bt-btn:hover {
  background: rgba(0, 200, 255, 0.25);
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
}

.bt-btn-primary {
  background: rgba(0, 200, 255, 0.2);
  border-color: rgba(0, 200, 255, 0.4);
  color: #00c8ff;
}

.bt-btn-warn {
  border-color: rgba(255, 170, 0, 0.3);
  color: #ffaa00;
}

.bt-btn-warn:hover {
  background: rgba(255, 170, 0, 0.2);
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

.bt-log {
  max-height: 150px; overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px;
  font-size: 10px;
  line-height: 1.6;
}

.bt-log-entry { display: flex; gap: 8px; }
.bt-log-time { color: #555; flex-shrink: 0; }
.bt-log-ok { color: #00ff88; }
.bt-log-warn { color: #ffaa00; }
.bt-log-err { color: #ff4444; }
.bt-log-info { color: #00c8ff; }

.bt-backup-list {
  display: flex; flex-direction: column; gap: 4px;
}

.bt-backup-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 11px;
}

.bt-backup-date { color: #00c8ff; }
.bt-backup-size { color: #666; margin-left: auto; }

.bt-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.bt-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00c8ff, #44ddff);
  border-radius: 2px;
  transition: width 0.3s;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
}

.bt-footer {
  padding: 8px 16px;
  background: rgba(0, 200, 255, 0.04);
  border-top: 1px solid rgba(0, 200, 255, 0.1);
  font-size: 10px;
  color: #555;
  display: flex; justify-content: space-between;
}
