@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

.textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: none;
}

#translate-button {
  display: block;
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  background-color: #7cd47a;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
}

#copy-button {
  display: block;
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  background-color: #efefef;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
}

.copy-success {
  font-size: 12px;
  text-align: center;
  color: green;
  display: none;
  font-family: "Montserrat", Arial, sans-serif;
}

h1 {
  font-family: "Montserrat Black", sans-serif;
  text-align: center;
}

.betabox {
  display: inline-block;
  background-color: #7cd47a;
  color: #000;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 10px;
  font-family: "Montserrat", Arial, sans-serif;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.disclaimer {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  color: #000;
}

.disclaimer a {
  text-decoration: underline;
  color: inherit;
}

.language-label {
  display: inline-block;
  background-color: #7cd47a;
  color: #000;
  padding: 5px;
  border-radius: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: normal;
  font-size: 14px;
  margin-bottom: 5px;
  transition: font-weight 0.3s ease-in-out;
}

.language-label.bold {
  font-weight: bold;
}

@media only screen and (max-width: 1000px) {
  .container {
    max-width: 100%;
  }
}

#translate-button,
#copy-button {
    transition: transform 0.3s ease-in-out;
}

#translate-button:hover,
#copy-button:hover {
    transform: scale(1.01); /* Zoom normale per altri pulsanti */
}

#translate-button:disabled {
    background-color: #ccc; /* Colore grigio per il pulsante disabilitato */
    cursor: not-allowed; /* Mostra il simbolo di divieto */
    transform: none; /* Rimuove l'effetto hover */
}

#copy-button:disabled {
  background-color: #ccc; /* Colore grigio per il pulsante disabilitato */
  cursor: not-allowed; /* Mostra il simbolo di divieto */
  transform: none; /* Rimuove l'effetto hover */
}

#translate-button:disabled:hover {
    transform: none; /* Nessuna trasformazione su hover */
}

/* Stile per il popup di timeout */
.timeout-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
  z-index: 1000; /* Assicura che il popup sia sopra gli altri elementi */
}

.timeout-popup h2 {
  font-size: 16px;
  margin-bottom: 10px;
  font-family: "Montserrat", Arial, sans-serif;
}

.timeout-popup button {
  padding: 10px 20px;
  background-color: #7cd47a;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
  transition: transform 0.3s ease; /* Solo zoom al passaggio del mouse */
}

.timeout-popup button:hover {
  transform: scale(1.04); /* Leggermente ridotto lo zoom per il pulsante del popup */
}

.timeout-popup button:focus {
  outline: none;
}
