/* nav-menu.css — shared dropdown menu styles
 * Included by pages that do NOT already load landing.css
 * (compose-studio, compose-editor, compose-preview)
 */

.menu-wrap {
  position: relative;
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  z-index: 500;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.menu-dropdown--right {
  left: auto;
  right: 0;
}

/* ── Sign In button ──────────────────────────────────────── */

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.login-btn:active { opacity: 0.7; }

.login-btn-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  flex-shrink: 0;
}

/* ── Logged-in user bar ──────────────────────────────────── */

.user-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-bar-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  object-fit: cover;
  flex-shrink: 0;
}

.user-name {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-link {
  display: inline-block;
  padding: 7px 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Mulish', sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.logout-link:active { opacity: 0.7; }

/* ── Divider between sections ───────────────────────────── */

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 8px 0;
}

/* ── Nav link (Compose, etc.) ────────────────────────────── */

.menu-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 9px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-nav-link:active { opacity: 0.7; }
