/* Atom Vault animated logo — shared across atomvault.com.au apps */

.atom-logo {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.atom-logo-sm {
  width: 40px;
  height: 40px;
}

.atom-logo-md {
  width: 64px;
  height: 64px;
}

.atom-logo-lg {
  width: clamp(120px, 24vw, 180px);
  height: clamp(120px, 24vw, 180px);
  margin: 0 auto;
}

.atom-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(#1a2332, #1a2332) padding-box,
    linear-gradient(135deg, #f59e0b, #d97706) border-box;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}

.atom-logo-sm .atom-logo-ring { border-width: 2px; }
.atom-logo-lg .atom-logo-ring { border-width: 6px; box-shadow: 0 0 30px rgba(245, 158, 11, 0.15); }

.atom-logo-face {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #243044 0%, #1a2332 55%, #111827 100%);
  border: 1px solid #334155;
  overflow: visible;
}

.atom-logo-lg .atom-logo-face { border-width: 2px; }

.atom-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: atom-spin 8s linear infinite;
}

.atom-logo-lg .atom-orbit { border-width: 2px; }

.atom-orbit-1 { width: 78%; height: 34%; animation-duration: 6s; }
.atom-orbit-2 { width: 62%; height: 62%; animation-duration: 9s; animation-direction: reverse; }
.atom-orbit-3 { width: 40%; height: 82%; animation-duration: 7s; }

.atom-electron {
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 6px #60a5fa, 0 0 10px rgba(96, 165, 250, 0.6);
}

.atom-logo-lg .atom-electron {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  box-shadow: 0 0 10px #60a5fa, 0 0 18px rgba(96, 165, 250, 0.6);
}

.atom-orbit-1 .atom-electron {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b, 0 0 10px rgba(245, 158, 11, 0.6);
}

.atom-logo-lg .atom-orbit-1 .atom-electron {
  box-shadow: 0 0 10px #f59e0b, 0 0 18px rgba(245, 158, 11, 0.6);
}

.atom-orbit-2 .atom-electron { top: auto; bottom: 0; }
.atom-orbit-3 .atom-electron { left: 0; top: 50%; margin: -2.5px 0 0 -2.5px; }
.atom-logo-lg .atom-orbit-3 .atom-electron { margin: -5px 0 0 -5px; }

@keyframes atom-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.atom-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  border-radius: 18%;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  border: 1px solid #93c5fd;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45), inset 0 0 8px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.atom-logo-lg .atom-core {
  border-width: 2px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.atom-core::before {
  content: "";
  width: 58%;
  height: 58%;
  border-radius: 12%;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.35);
}

.atom-logo-lg .atom-core::before { border-width: 2px; box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.35); }

.atom-core::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  animation: core-pulse 2.4s ease-in-out infinite;
}

.atom-logo-lg .atom-core::after { box-shadow: 0 0 12px rgba(245, 158, 11, 0.8); }

@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.brand-name {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f8fafc 0%, #f59e0b 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cyberpunk .brand-name {
  background: linear-gradient(135deg, #e0e0ff 0%, #f59e0b 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.photo-upload-item {
  width: 80px;
}

.photo-upload-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.photo-upload-progress {
  height: 4px;
  margin-top: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.photo-upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #3b82f6);
  border-radius: 999px;
  transition: width 0.15s ease;
  width: 0%;
}

.photo-upload-status {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark .photo-upload-progress { background: #334155; }