/* docs/assets/custom.css */

.language-switcher-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
}

.language-switcher-float .switcher-button {
  background-color: #343131;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.language-switcher-float .switcher-options {
  display: none;
  position: absolute;
  bottom: calc(100% + 5px); /* Posiciona acima do botão */
  right: 0;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
  overflow: hidden;
}

.language-switcher-float.open .switcher-options {
  display: block;
}

.language-switcher-float .switcher-options a {
  display: block;
  padding: 8px 16px;
  color: #24292e;
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher-float .switcher-options a:hover {
  background-color: #f6f8fa;
}

.md-select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.md-select select {
  width: 200px;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
}
