/* ===== SHXRE Cloud — HUD Drive Interface ===== */
:root {
  --bg-dark: #0a0a0f;
  --bg-panel: rgba(10, 25, 40, 0.92);
  --teal-deep: #0d2f3f;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.6);
  --magenta: #ff00aa;
  --magenta-dim: rgba(255, 0, 170, 0.5);
  --orange: #ff8c00;
  --green: #00ff88;
  --red: #ff4466;
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.3);
  --glow-magenta: 0 0 20px rgba(255, 0, 170, 0.5);
  --border-cyan: 1px solid rgba(0, 229, 255, 0.5);
  --font-mono: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  --sidebar-w: 240px;
  --telemetry-w: 200px;
  --title-h: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hidden { display: none !important; }

/* ===== Background effects ===== */
.noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1000;
}

.world-map {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0, 80, 120, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 60, 90, 0.15) 0%, transparent 50%);
  opacity: 0.6; z-index: 0;
}

.network-nodes { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

.node {
  position: absolute; width: 3px; height: 3px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: var(--glow-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.lens-flare {
  position: fixed; width: 350px; height: 350px;
  top: 10%; right: 5%;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.08) 0%, rgba(0, 229, 255, 0.04) 40%, transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 2;
}

/* ===== Title bar ===== */
.title-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--title-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 80px;
  background: linear-gradient(180deg, rgba(0, 40, 60, 0.95) 0%, rgba(0, 25, 45, 0.9) 100%);
  border-bottom: var(--border-cyan);
  z-index: 100;
  -webkit-app-region: drag;
}

.title-bar button, .title-bar input { -webkit-app-region: no-drag; }

.title-bar-left { display: flex; align-items: center; gap: 12px; }

.app-logo {
  position: relative; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}

.logo-img {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.app-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.9); letter-spacing: 2px;
}

.app-title span { color: var(--cyan); text-shadow: var(--glow-cyan); }

.sync-status {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: rgba(0, 30, 50, 0.6);
  border: var(--border-cyan); border-radius: 4px;
}

.sync-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.sync-status.syncing .sync-dot {
  background: var(--cyan);
  animation: pulse 1s ease-in-out infinite;
}

.sync-status.synced .sync-dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.sync-status.error .sync-dot {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.title-bar-center { display: flex; align-items: center; gap: 12px; }

.backend-status {
  font-size: 9px; padding: 3px 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 3px; color: rgba(0, 229, 255, 0.6);
}
.backend-status.online { color: var(--green); border-color: var(--green); }
.backend-status.warn { color: var(--orange); border-color: var(--orange); }
.backend-status.offline { color: var(--red); border-color: var(--red); }

.endpoint-list {
  max-height: 120px; overflow-y: auto;
  background: rgba(0, 20, 35, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 4px; padding: 8px;
}
.ep-row {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 9px; padding: 3px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}
.ep-row code {
  color: var(--cyan-dim); word-break: break-all; text-align: right;
  font-size: 8px;
}

.title-bar-right { display: flex; gap: 8px; }

/* ===== App shell layout ===== */
.app-shell {
  position: fixed;
  top: var(--title-h); left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--telemetry-w);
  z-index: 10;
}

/* ===== Sidebar ===== */
.sidebar {
  background: var(--bg-panel);
  border-right: var(--border-cyan);
  display: flex; flex-direction: column;
  padding: 16px 12px;
  gap: 20px;
  overflow-y: auto;
}

.nav-section { display: flex; flex-direction: column; gap: 4px; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(0, 229, 255, 0.7);
  font-family: var(--font-mono); font-size: 11px;
  cursor: pointer; text-align: left;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-item:hover {
  background: rgba(0, 80, 120, 0.3);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.nav-item.active {
  background: rgba(0, 100, 150, 0.4);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.nav-icon { font-size: 14px; width: 18px; text-align: center; }

.badge {
  margin-left: auto;
  padding: 2px 6px;
  background: var(--magenta-dim);
  border-radius: 10px;
  font-size: 9px;
  color: white;
}

.storage-widget, .sync-folder-widget {
  padding: 12px;
  background: rgba(0, 30, 50, 0.5);
  border: var(--border-cyan);
  border-radius: 4px;
}

.storage-header {
  display: flex; justify-content: space-between;
  margin-bottom: 8px; font-size: 10px;
  color: rgba(255,255,255,0.7);
}

.storage-bar {
  height: 6px;
  background: rgba(0, 50, 80, 0.6);
  border: var(--border-cyan);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.storage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--magenta-dim));
  box-shadow: 0 0 10px var(--cyan-dim);
  transition: width 0.5s ease;
}

.storage-detail { font-size: 10px; color: var(--cyan-dim); }

.widget-label {
  display: block; font-size: 9px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px; letter-spacing: 1px;
}

.folder-path {
  font-size: 10px; color: var(--cyan-dim);
  word-break: break-all;
  margin-bottom: 10px;
  padding: 6px;
  background: rgba(0, 20, 35, 0.6);
  border-radius: 2px;
  max-height: 48px; overflow: hidden;
}

.user-widget {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: rgba(0, 25, 45, 0.8);
  border: var(--border-cyan);
  border-radius: 4px;
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0, 80, 120, 0.6);
  border: var(--border-cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--cyan);
}

.user-name { display: block; font-size: 11px; color: var(--cyan); }

/* ===== Main content ===== */
.main-content {
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  background: rgba(5, 15, 25, 0.6);
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  gap: 12px;
  flex-shrink: 0;
}

.breadcrumb { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.crumb {
  padding: 4px 10px;
  background: rgba(0, 30, 50, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan-dim);
  font-family: var(--font-mono); font-size: 10px;
  cursor: pointer; border-radius: 2px;
}

.crumb:hover, .crumb.active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 80, 120, 0.3);
}

.toolbar-actions {
  display: flex; align-items: center; gap: 8px;
}

.search-box input {
  padding: 6px 12px;
  width: 180px;
  background: rgba(0, 25, 45, 0.8);
  border: var(--border-cyan);
  color: var(--cyan);
  font-family: var(--font-mono); font-size: 11px;
  border-radius: 4px;
  outline: none;
}

.search-box input::placeholder { color: rgba(0, 229, 255, 0.4); }
.search-box input:focus { box-shadow: 0 0 12px rgba(0, 229, 255, 0.2); }

.view-toggle { display: flex; gap: 2px; }

.view-btn {
  padding: 6px 10px;
  background: rgba(0, 30, 50, 0.6);
  border: var(--border-cyan);
  color: var(--cyan-dim);
  cursor: pointer; font-size: 12px;
}

.view-btn.active, .view-btn:hover {
  color: var(--cyan);
  background: rgba(0, 80, 120, 0.4);
}

/* ===== Buttons ===== */
.hud-btn {
  padding: 8px 14px;
  background: rgba(20, 50, 70, 0.8);
  border: var(--border-cyan);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono); font-size: 11px;
  cursor: pointer; border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.hud-btn:hover {
  background: rgba(0, 100, 150, 0.5);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.hud-btn.small { padding: 4px 10px; font-size: 10px; }

.link-btn {
  background: none; border: none;
  color: var(--magenta-dim);
  font-family: var(--font-mono); font-size: 10px;
  cursor: pointer; text-decoration: underline;
}

.link-btn:hover { color: var(--magenta); }

/* ===== Drop zone ===== */
.drop-zone {
  position: absolute; inset: 0;
  background: rgba(0, 40, 70, 0.85);
  border: 2px dashed var(--cyan);
  display: none; align-items: center; justify-content: center;
  z-index: 50;
}

.drop-zone.active { display: flex; }

.drop-content {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--cyan); font-size: 14px;
  text-shadow: var(--glow-cyan);
}

.drop-icon { font-size: 48px; animation: pulse 1s ease-in-out infinite; }

/* ===== File grid ===== */
.file-area {
  flex: 1; overflow-y: auto;
  padding: 16px;
  position: relative;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.file-grid.list-view {
  grid-template-columns: 1fr;
  gap: 4px;
}

.file-item {
  padding: 12px;
  background: rgba(0, 30, 50, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.file-item:hover {
  border-color: var(--cyan);
  background: rgba(0, 60, 90, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.file-item.selected {
  border-color: var(--magenta);
  box-shadow: 0 0 15px var(--magenta-dim);
}

.file-item.syncing::after {
  content: '';
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.file-icon {
  font-size: 32px; text-align: center;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px var(--cyan-dim));
}

.file-grid.list-view .file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
}

.file-grid.list-view .file-icon {
  font-size: 20px; margin-bottom: 0;
}

.file-name {
  font-size: 10px; color: var(--cyan);
  word-break: break-word;
  line-height: 1.3;
}

.file-meta {
  font-size: 9px; color: rgba(0, 229, 255, 0.5);
  margin-top: 4px;
}

.file-grid.list-view .file-meta { margin-top: 0; margin-left: auto; }

.empty-state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(0, 229, 255, 0.5);
  pointer-events: none;
}

.empty-state.hidden { display: none; }

.empty-rings {
  position: relative; width: 80px; height: 80px;
  margin-bottom: 16px;
}

.empty-rings span {
  position: absolute; inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.empty-rings span:nth-child(2) { inset: 15%; animation-delay: 0.3s; }
.empty-rings span:nth-child(3) { inset: 30%; animation-delay: 0.6s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.empty-state .hint { font-size: 10px; margin-top: 8px; opacity: 0.7; }

/* ===== Upload queue panel ===== */
.queue-panel {
  position: absolute; inset: 0;
  background: rgba(5, 15, 25, 0.95);
  padding: 16px;
  overflow-y: auto;
  z-index: 20;
}

.queue-header {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 12px; color: var(--cyan);
}

.queue-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  background: rgba(0, 30, 50, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 4px;
  margin-bottom: 8px;
}

.queue-item-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}

.queue-item .name { flex: 1; font-size: 11px; color: var(--cyan); }

.queue-item .pct {
  font-size: 10px; color: var(--cyan);
  font-family: var(--font-display); min-width: 36px; text-align: right;
}

.queue-item-meta {
  display: flex; justify-content: space-between; font-size: 9px; color: rgba(0, 229, 255, 0.5);
}

.queue-item .status {
  font-size: 10px;
  color: var(--cyan-dim);
  text-align: right;
}

.queue-item .progress {
  width: 100%; height: 6px;
  background: rgba(0, 50, 80, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 3px; overflow: hidden;
}

.queue-item .progress.wide { height: 8px; }

.queue-item .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--magenta-dim), var(--cyan));
  box-shadow: 0 0 8px var(--cyan-dim);
  transition: width 0.15s ease;
}

.queue-item.uploading .progress-fill {
  animation: upload-pulse 1.2s ease-in-out infinite;
}

@keyframes upload-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.queue-item.done .progress-fill { background: linear-gradient(90deg, var(--green), var(--cyan-dim)); }
.queue-item.done .status { color: var(--green); }
.queue-item.error .progress-fill { background: linear-gradient(90deg, var(--red), var(--magenta-dim)); }
.queue-item.error .status { color: var(--red); }

.queue-empty {
  color: rgba(0, 229, 255, 0.5); text-align: center; padding: 20px; font-size: 11px;
}

/* ===== Telemetry upload progress ===== */
.overall-upload { display: flex; flex-direction: column; gap: 6px; }

.overall-upload-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--cyan-dim);
}

.overall-upload-header span:last-child {
  font-family: var(--font-display); color: var(--cyan);
}

.overall-bar {
  height: 10px;
  background: rgba(0, 50, 80, 0.6);
  border: var(--border-cyan);
  border-radius: 3px;
  overflow: hidden;
}

.overall-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--magenta-dim), var(--cyan));
  box-shadow: 0 0 12px var(--cyan-dim);
  transition: width 0.15s ease;
}

.upload-progress-stack {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 140px; overflow-y: auto;
  margin-top: 4px;
}

.upload-progress-empty {
  font-size: 9px; color: rgba(0, 229, 255, 0.45); text-align: center; padding: 8px 0;
}

.upload-progress-item { display: flex; flex-direction: column; gap: 4px; }

.upload-progress-top {
  display: flex; justify-content: space-between; gap: 6px;
  font-size: 9px; color: var(--cyan-dim);
}

.upload-progress-top .name { color: var(--cyan); flex: 1; }

.upload-progress-item .bar {
  height: 5px;
  background: rgba(0, 50, 80, 0.6);
  border-radius: 2px;
  overflow: hidden;
}

.upload-progress-item .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  transition: width 0.15s ease;
}

.upload-progress-item .fill.pending {
  background: rgba(0, 229, 255, 0.2);
  width: 100% !important;
  animation: pending-stripe 1s linear infinite;
}

@keyframes pending-stripe {
  0% { opacity: 0.3; }
  50% { opacity: 0.7; }
  100% { opacity: 0.3; }
}

/* ===== Telemetry panel ===== */
.telemetry-panel {
  background: var(--bg-panel);
  border-left: var(--border-cyan);
  padding: 16px 12px;
  display: flex; flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.telemetry-block { display: flex; flex-direction: column; gap: 6px; }

.telemetry-label {
  font-size: 9px; color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}

.telemetry-value {
  font-size: 14px; color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

.telemetry-value.large { font-size: 28px; font-family: var(--font-display); }

.waveform {
  width: 100%; height: 32px;
  display: flex; align-items: flex-end;
}

.wave-bars {
  display: flex; align-items: flex-end;
  gap: 2px; height: 100%; width: 100%;
}

.wave-bar {
  flex: 1; min-height: 3px;
  background: linear-gradient(180deg, var(--magenta-dim), var(--cyan-dim));
  border-radius: 1px;
  animation: wave 0.5s ease-in-out infinite alternate;
}

@keyframes wave {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}

.progress-stack { display: flex; flex-direction: column; gap: 4px; }

.progress-item .num { font-size: 11px; color: var(--cyan); }

.progress-item .bar {
  height: 6px;
  background: rgba(0, 50, 80, 0.6);
  border: var(--border-cyan);
  border-radius: 2px; overflow: hidden;
}

.progress-item .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 10px var(--cyan-dim);
  transition: width 0.5s ease;
}

.radar-mini {
  position: relative; width: 56px; height: 56px;
  margin: auto auto 0;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 50%; overflow: hidden;
}

.radar-sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent 0%, rgba(0, 229, 255, 0.15) 30%, transparent 60%);
  animation: sweep 2s linear infinite;
}

@keyframes sweep { to { transform: rotate(360deg); } }

.radar-dots::before, .radar-dots::after {
  content: ''; position: absolute;
  width: 4px; height: 4px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  top: 30%; left: 40%;
}

.radar-dots::after { top: 55%; left: 60%; }

/* ===== Context menu ===== */
.context-menu {
  position: fixed;
  background: rgba(0, 25, 45, 0.95);
  border: var(--border-cyan);
  border-radius: 4px;
  padding: 4px 0;
  min-width: 160px;
  z-index: 200;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.context-menu button {
  display: block; width: 100%;
  padding: 8px 16px;
  background: none; border: none;
  color: var(--cyan-dim);
  font-family: var(--font-mono); font-size: 11px;
  text-align: left; cursor: pointer;
}

.context-menu button:hover {
  background: rgba(0, 80, 120, 0.4);
  color: var(--cyan);
}

.context-menu button.danger { color: var(--red); }
.context-menu hr { border: none; border-top: 1px solid rgba(0, 229, 255, 0.2); margin: 4px 0; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
}

.modal {
  width: 420px;
  background: rgba(0, 25, 45, 0.95);
  border: var(--border-cyan);
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
}

.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border-bottom: var(--border-cyan);
  font-family: var(--font-display); font-size: 12px;
  color: var(--cyan);
}

.modal-close {
  background: none; border: none;
  color: var(--cyan-dim); font-size: 20px;
  cursor: pointer; line-height: 1;
}

.modal-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field span { font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 1px; }

.field input[type="url"],
.field input[type="number"],
.field input[type="text"] {
  padding: 8px 10px;
  background: rgba(0, 20, 35, 0.8);
  border: var(--border-cyan);
  color: var(--cyan);
  font-family: var(--font-mono); font-size: 11px;
  border-radius: 4px; outline: none;
}

.field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--cyan); }

.modal-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  display: flex; justify-content: flex-end;
}

/* ===== Auth overlay ===== */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 5, 15, 0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 400;
}

.auth-overlay.visible { display: flex; }

.auth-panel {
  text-align: center;
  padding: 40px 48px;
  background: rgba(0, 25, 45, 0.95);
  border: var(--border-cyan);
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.2);
  max-width: 420px;
}

.auth-logo {
  width: 96px; height: 96px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.35), 0 0 20px rgba(255, 0, 170, 0.2);
}

.auth-rings {
  position: relative; width: 80px; height: 80px;
  margin: 0 auto 20px;
}

.auth-rings span {
  position: absolute; inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.auth-rings span:nth-child(2) { inset: 15%; animation-delay: 0.3s; }
.auth-rings span:nth-child(3) { inset: 30%; animation-delay: 0.6s; }

.auth-panel h2 {
  font-family: var(--font-display); font-size: 22px;
  color: rgba(255,255,255,0.9); letter-spacing: 3px;
  margin-bottom: 12px;
}

.auth-panel h2 span { color: var(--cyan); text-shadow: var(--glow-cyan); }

.auth-panel p { color: rgba(0, 229, 255, 0.7); font-size: 11px; margin-bottom: 24px; line-height: 1.5; }

.google-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; font-size: 12px;
}

.google-btn span {
  width: 22px; height: 22px; line-height: 22px;
  background: white; color: #4285f4; border-radius: 50%;
  font-weight: bold; font-family: sans-serif;
}

.auth-note { margin-top: 20px !important; margin-bottom: 0 !important; font-size: 9px !important; opacity: 0.6; }
