/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background-color: var(--accent-color);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* Both floating buttons share the same icon metrics (lightbulb is the reference). */
.floating-suggestion i,
.scroll-top i {
  font-size: 20px;
  line-height: 1;
  color: var(--contrast-color);
}

/* bi-arrow-up-short is drawn with more intrinsic whitespace than bi-lightbulb-fill,
   so scale it up to match the bulb's visual size. */
.scroll-top i {
  transform: scale(1.2);
}

.scroll-top span {
  font-size: 10px;
  font-weight: 600;
  color: var(--contrast-color);
  line-height: 1.1;
  text-align: center;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.floating-actions {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-actions > a,
.floating-actions > button {
  pointer-events: auto;
}

.floating-suggestion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 48px;
  height: 48px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color), transparent 55%);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-suggestion:hover,
.floating-suggestion:focus-visible {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), #000 12%);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-color), transparent 45%);
  outline: none;
}

@media (max-width: 575.98px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .floating-suggestion {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .copyright {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}
