/* ============================================================
   MEA Account Center — app.css
   Placeholder v0.1 — full dashboard coming soon
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #081120;
  --surface:   #101827;
  --surface-2: #16202F;
  --border:    #1D293D;
  --border-2:  #2A3A55;
  --text:      #F8FAFC;
  --text-2:    #94A3B8;
  --text-3:    #51637C;
  --accent:    #4DD8E0;
  --accent-light: #C9F7F2;
  --accent-dim:   rgba(77,216,224,0.10);
  --green:     #00E676;
  --red:       #FF5252;

  --font-brand: 'Bebas Neue', sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --radius:     14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(8,17,32,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148,163,184,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { width: 28px; height: 28px; }
.brand-name {
  font-family: var(--font-brand);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-logout:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(255,82,82,0.08);
}
.btn-logout svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Main ── */
.main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

/* Avatar */
.avatar-wrap {
  position: relative;
  margin-bottom: 20px;
}
.avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-2);
  background: var(--surface-2);
}
.avatar-fallback {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.online-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--surface);
}

/* User info */
.user-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.user-email {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 4px 0 24px;
}

/* Coming soon banner */
.coming-soon {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.coming-soon-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.coming-soon h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.coming-soon p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 32ch;
}

/* Version */
.version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

/* ── Loading state ── */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 16px;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { font-size: 13px; color: var(--text-3); }

/* ── Responsive ── */
@media (max-width: 480px) {
  .card { padding: 28px 20px; }
  .site-header { padding: 0 16px; }
}
