/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.google-translate-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}

.google-translate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2937;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-translate-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.google-translate-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

@media (max-width: 640px) {
  .google-translate-widget {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .google-translate-link {
    width: 2.5rem;
    height: 2.5rem;
  }
}
