/* floating.css - unified floating wrapper (top-right buttons + bottom copyright) */

.floating-wrapper {
  position: fixed;
  top: 0;
  right: 0px;                   /* controls distance from right edge for both buttons & copyright */
  height: 100vh;                 /* full viewport height so we can justify top & bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;/* top group at top, bottom group at bottom */
  align-items: flex-end;         /* align items by right edge */
  z-index: 999;
  pointer-events: none;          /* disable pointer at wrapper level */
  padding: 75px 10px 20px 10px;  /* top padding pushes buttons below navbar; tweak 75px if your navbar height differs */
  box-sizing: border-box;
}

/* Top group container: allow clicks inside */
.floating-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: auto;          /* enable pointer events for children (buttons) */
}

/* Bottom container (copyright) — also clickable area disabled */
.floating-bottom {
  pointer-events: auto;          /* allows interactions if any (not necessary for plain text) */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Floating button base (compact circle) */
.floating-btn {
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.08s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  pointer-events: auto;          /* explicit: buttons are clickable */
}

/* hover / active */
.floating-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-1px);
}

/* icons inside the button (e.g., LinkedIn) */
.floating-btn img {
  max-height: 20px;
  width: auto;
  display: block;
}

/* Copyright label */
.copyright-btn {
  background: transparent;
  color: #000;
  font-size: 11px;       /* slightly smaller */
  font-weight: 400;
  opacity: 0.75;
  white-space: nowrap;   /* keep on one line */
  padding: 0;
  margin: 0;
  text-align: right;     /* right align (not necessary but safe) */
  pointer-events: none;  /* not clickable */
}

/* Responsive tweak: reduce size / spacing on small screens */
@media (max-width: 420px) {
  .floating-wrapper {
    padding: 60px 6px 12px 6px; /* slightly less top/bottom on phones */
    right: 6px;
  }
  .floating-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .floating-btn img { max-height: 18px; }
  .copyright-btn { font-size: 10px; }
}
