:root {
  --flylondon: #702072;
  --asportuguesas: #000;
  --fredandfrederico: #086e6f;
  --softinos: #e96911;
}

/* Apply custom animations */
.animate-circle-keys {
  animation: circle-keys 2s ease-in-out infinite;
}
.animate-dot-keys {
  animation: dot-keys 2s ease-in-out infinite;
}
.animate-outline-keys {
  animation: outline-keys 2s ease-in-out infinite;
}
.animation-delay-300 {
  animation-delay: 0.3s;
}
.animation-delay-600 {
  animation-delay: 0.6s;
}
.animation-delay-900 {
  animation-delay: 0.9s;
}
.animation-delay-1200 {
  animation-delay: 1.2s;
}
.animation-delay-1500 {
  animation-delay: 1.5s;
}
.animation-delay-1800 {
  animation-delay: 1.8s;
}
.animation-delay-2100 {
  animation-delay: 2.1s;
}

/* Custom animations */
@keyframes circle-keys {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes dot-keys {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes outline-keys {
  0% {
    transform: scale(0) "var(--{{MyConfig.site}})";
    outline-offset: 0;
    opacity: 1;
  }
  100% {
    transform: scale(1);
    outline: solid 0 transparent;
    outline-offset: 20px;
    opacity: 0;
  }
}

/*** Hide arrow on input number */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/** show tooltip message if value is invalid*/
.tooltip {
  display: none;
}
input:invalid:not(:placeholder-shown) + .tooltip {
  display: block;
}

/* Para navegadores WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px; /* Largura da barra vertical */
  height: 6px; /* Altura da barra horizontal */
}

::-webkit-scrollbar-track {
  background: transparent; /* Fundo transparente */
}

::-webkit-scrollbar-thumb {
  background-color: "var(--{{MyConfig.site}})"; /* Cor da barra */
  border-radius: 3px; /* Bordas arredondadas */
}

/* Para Firefox */
* {
  scrollbar-width: thin; /* "auto" ou "thin" */
  scrollbar-color: "var(--{{MyConfig.site}})" transparent; /* thumb e track */
}

/* Para Internet Explorer (suporte limitado) */
body {
  scrollbar-base-color: "var(--{{MyConfig.site}})";
  scrollbar-face-color: "var(--{{MyConfig.site}})";
  scrollbar-3dlight-color: "var(--{{MyConfig.site}})";
  scrollbar-highlight-color: "var(--{{MyConfig.site}})";
  scrollbar-track-color: transparent;
  scrollbar-arrow-color: "var(--{{MyConfig.site}})";
  scrollbar-shadow-color: "var(--{{MyConfig.site}})";
  scrollbar-darkshadow-color: "var(--{{MyConfig.site}})";
}

.chart-container {
  position: relative;
  height: 300px;
}

/* Animações personalizadas */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Scrollbar personalizada */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Estilo para as estações */
.season-aw {
  background-color: #dbeafe;
  border-left: 4px solid #3b82f6;
}

.season-ss {
  background-color: #fee2e2;
  border-left: 4px solid #ef4444;
}

/* Estilo para o multiselect */
.multiselect-container {
  position: relative;
}

.multiselect-dropdown {
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.multiselect-dropdown.show {
  display: block;
}

.multiselect-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.selected-season {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #e3f2fd;
  border-radius: 12px;
  font-size: 12px;
}

.selected-season i {
  margin-left: 4px;
  cursor: pointer;
}

/* Estilo para o input de pesquisa */
.search-input {
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 8px 12px;
  width: 100%;
  outline: none;
}

.search-input:focus {
  border-bottom-color: #3b82f6;
}
