
.login-container {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.login-image-container {
  position: relative;
  width: 50%; 
  text-align: center;
}

.login-image {
  width: 50%;
  height: auto;
}

.login-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color:#313c4a; 
  color: white;
  padding: 10px 0;
}

.login-form-wrapper {
  width: 30%;
  margin-top: 20px; 
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom:20px;
}

.login-form {
  background-color: #fff;
  box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35);
  margin-top:30px;
  padding: 30px;
  border-radius: 10px;
  height:350px;
  position:relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #313c4a; 
  font-size: 14px;
}

.input-field {
  width: 93%;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #D2D911;
  border-radius: 5px; 
  background-color: #f9f9f9; 
  color: #313c4a; 
  transition: border-color 0.3s ease, background-color 0.3s ease; 
}

.input-field:focus {
  outline: none;
  border-color: #0F9BC0; 
  background-color: #ffffff; 
}

.input-field::placeholder {
  color: #a0a0a0; 
}

.container-button {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.login-button {
  background-color: #0F9BC0;
  color: #ffffff; 
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  width: 100%; 
  border-radius: 5px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 5px, rgba(0, 0, 0, 0.1) 0px 2px 10px;
  border: none;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color:  #D2D911;
  color: #ffffff;
}

.logoRightHub {
	width:110px;
	padding: 10px;
}

.password-container {
  position: relative;
  width: 100%;
}

.input-field {
  width: 100%;
  padding-right: 40px;
  box-sizing: border-box;
}

.password-container i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}


.forgot-password-container {
  margin-top: 15px;
  text-align: center;
}

.forgot-password-link {
  font-size: 14px;
  color: #0F9BC0; 
  text-decoration: none;
  font-weight: bold;
}

.forgot-password-link:hover {
  color: #D2D911; 
  text-decoration: underline;
}

.asideLogo {
  height: 60px;
  background: linear-gradient(to right, #0F9BC0 40%, #D2D911 60%);
  display: flex;
  align-items: center;
  color: white;
  font-size: 19px;
  padding: 10px 20px; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
  justify-content: space-between;
}


.spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position:absolute;
  z-index:10;
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.spinner::before,
.spinner::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #0F9BC0;  
  border-radius: 50%;
  animation: dualSpin 1s ease-in-out infinite;
}

.spinner::after {
  border-top-color: #D2D911;   
  animation-delay: 0.5s;
}

@keyframes dualSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.login-form-wrapper {
  position: relative;
}


.bottone-tendina {
  background-color: #313c4a;
  color: white;
  padding: 3px;
  font-size: 12px; 
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-right: 20px; 
  border:1px solid white;
}

.tendina {
  position: relative;
  display: inline-block;
  margin-right: 20px; 
}

.contenuto-tendina {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 100px; 
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2); 
  z-index: 1;
}

.contenuto-tendina a {
  color: black;
  padding: 6px 10px; 
  text-decoration: none;
  font-size: 12px; 
  display: flex;
  align-items: center;
}

.contenuto-tendina a:hover {
  background-color: #ddd;
}

.tendina:hover .contenuto-tendina {
  display: block;
}

.icona-bandiera {
  width: 14px; 
  height: auto;
  margin-right: 8px; 
}


.div-multilingua-intestazione {
	display: flex;
	justify-content: space-between;
	width: 100%;
}


/* Media queries per dispositivi mobili da migliorare */
@media screen and (max-width: 768px) {
  .login-container {
    padding: 10px;
    align-items: center;
  }

  .login-form-wrapper {
    width: 100%; 
    max-width: 400px; 
    margin-top: 0;
  }

  .login-form {
    padding: 20px;
    border-radius: 10px;
    height: auto; 
  }

  .logoRightHub {
    width: 80px; 
  }

  .input-field {
    width: 100%; 
  }

  .login-button {
    width: 100%; 
  }

  .forgot-password-container {
    margin-top: 10px;
  }
}



.login-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 350px; 
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.login-card.flipped {
  transform: rotateY(180deg);
}

.login-front, .login-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.login-back {
  transform: rotateY(180deg);
}


.login-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.login-card.flipped {
  transform: rotateY(180deg);
}

.login-front, .login-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.login-back {
  transform: rotateY(180deg);
}



