/* ======================================================
   V2K SOCIAL — BASE CSS AUTHORITY
   Gunmetal-blue • Teal • Chrome
   This file OWNS background, shell, FAB, bottom nav
   ====================================================== */

/* ---------- ROOT VARIABLES ---------- */
:root {
  --bg-main: #0b1620;          /* gunmetal-blue */
  --bg-panel: #0f1d2b;
  --bg-elev: #14263a;

  --accent-teal: #2dd4bf;
  --accent-teal-dark: #14b8a6;
  --accent-chrome: #9aa7b2;

  --text-main: #e6eef5;
  --text-sub: #a9b6c3;

  --border-steel: #233449;

  --bottom-nav-height: 64px;
  --fab-size: 56px;
}

/* ---------- GLOBAL RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* ---------- BODY / APP ROOT ---------- */
body.v2k-app-root {
  background: linear-gradient(135deg, #020617, var(--bg-main));
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

/* ---------- BACKGROUND LAYER ---------- */
#v2k-background {
  position: fixed;
  inset: 0;
  background: inherit;
  z-index: 0;
}

/* ---------- OVERLAY ROOT ---------- */
#v2k-overlay-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

#drawer-root,
#modal-root,
#toast-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------- VIEWPORT ---------- */
#v2k-viewport {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--bottom-nav-height);
}

/* ---------- FLOATING ACTION BUTTON ---------- */
#fab-create {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height) - 20px);
  transform: translateX(-50%);
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  border: 1px solid var(--accent-chrome);
  background: linear-gradient(
    145deg,
    var(--accent-teal),
    var(--accent-teal-dark)
  );
  color: #021b1a;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  z-index: 90;
  cursor: pointer;
}

/* ---------- BOTTOM NAV ---------- */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(10px);
  z-index: 80;
  border-top: 1px solid var(--border-steel);
}

#bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: var(--text-sub);
  font-size: 12px;
}

#bottom-nav .nav-item.nav-create {
  pointer-events: none;
}

/* ---------- SAFETY ---------- */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* V2K_GLOBAL_THEME_BG_V1 */
html,body{background:#0b1a26;color:#e9f1ff}
#v2k-content{min-height:100vh;background:transparent}
.verify-help-text{margin-top:12px;font-size:14px;opacity:.85;text-align:center}

/* =========================
   EMAIL VERIFICATION UI
   ========================= */
.verify-help-text{
  margin-top:12px;
  font-size:14px;
  opacity:.85;
  text-align:center;
}
.verify-sent{
  margin-top:10px;
  color:#6fd;
  font-size:14px;
  text-align:center;
}

.verify-resend{
  margin-top:16px;
  text-align:center;
}

.verify-resend .btn-primary{
  padding:10px 18px;
  border-radius:10px;
  background:#1ea7a7;
  color:#fff;
  border:none;
  cursor:pointer;
}
.verify-resend .btn-primary:hover{
  background:#178c8c;
}
.v2k-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);
background:#111;color:#fff;padding:12px 16px;border-radius:12px;
box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:9999;opacity:0;
transition:opacity .2s ease}
.v2k-toast.show{opacity:1}
