/**
 * Shared Report Button Styles
 * Applies consistent hover animations to all report buttons
 */

/* Common styles for all report buttons */
.static-report-button,
.mobile-menu-report-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: var(--color-copper); /* Copper fill */
  color: var(--color-sky-blue);
  border-radius: 0;
  font-family: var(--font-interstate);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid var(--color-gold); /* Gold border */
  overflow: visible;
}

/* Text styling with underline animation */
.static-report-button-text,
.mobile-menu-report-button-text {
  margin-right: 10px;
  white-space: nowrap;
  position: relative;
}

/* Underline animation */
.static-report-button-text::after,
.mobile-menu-report-button-text::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sky-blue);
  transition: width 0.3s ease;
}

/* Hover state for underline */
.static-report-button:hover .static-report-button-text::after,
.mobile-menu-report-button:hover .mobile-menu-report-button-text::after {
  width: 100%;
  transition: width 0.4s ease;
}

/* Hover state for buttons */
.static-report-button:hover,
.mobile-menu-report-button:hover {
  background-color: var(--color-copper); /* Keep copper background */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Active state for buttons */
.static-report-button:active,
.mobile-menu-report-button:active {
  background-color: var(--color-copper);
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.1s ease;
}

/* Icon styling */
.static-report-button-icon,
.mobile-menu-report-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* Subtle glow animation */
.static-report-button::before,
.mobile-menu-report-button::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 2px;
  background: linear-gradient(45deg, var(--color-gold), rgba(247, 158, 69, 0.5), var(--color-gold));
  background-size: 200% 200%;
  z-index: -1;
  animation: glowAnimation 4s ease-in-out infinite;
  opacity: 0.6;
  filter: blur(3px);
  transition: opacity 0.5s ease;
}

/* Add a class for the filled state after hover */
.static-report-button.hover-fill,
.static-report-button:hover:active,
.mobile-menu-report-button.hover-fill,
.mobile-menu-report-button:hover:active {
  background-color: var(--color-copper);
  border-color: var(--color-gold);
}

/* Mobile styles */
@media (max-width: 768px) {
  .static-report-button,
  .mobile-menu-report-button {
    padding: 10px 16px;
  }
}
