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

body {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(14px, 1vw, 1em);
  color: rgba(255, 255, 255, 0.9); font-weight: 200;
  background: url('../images/bg_login.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.orologio-login {
  padding: 1em;
  font-size: clamp(24px, 2vw, 2.2em); 
  color: rgba(255,255,255,0.94); 
  text-align: center; 
  letter-spacing: 0.040em; 
  text-transform: uppercase; 
  font-weight: 500; 
  line-height: 1.6em; 
  text-shadow: 0 0 1px #000, 0 0 2px #000;
}


.box_error_login, .box_error_email {
  margin-bottom: 14px;
  padding: 12px 16px;
  text-align: center;
  border-radius: 4px;
  background-color: rgba(220, 0, 0, 0.70);
}

.text_error_login, .text_error_email {
  font-size: calc(0.9em + 0vw); 
  color: rgba(255,255,255,0.90); 
  text-align: center;
  text-transform: uppercase; 
  font-weight: 500; 
  letter-spacing: 0.15em;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
  -webkit-animation: blink 1.4s step-end infinite;
  animation: blink 1.4s step-end infinite;
}

.text_success_login {
  margin-bottom: 14px;
  padding: 12px 16px;
  font-size: 1em; 
  color: #FFFFFF; 
  text-transform: uppercase; 
  font-weight: 600; 
  letter-spacing: 0.10em;
  text-shadow: 0 0 3px #000;
  border-radius: 4px;
  background-color: rgba(0, 110, 0, 0.7);
}

.n_t_l {
  margin-left: 0.580em;
  padding: 0 0.6em 0.1em 0.6em;
  font-size: 1.1em;
  color: #fff;
  text-shadow: 0 0 1px #000, 0 0 2px #000;
  border-radius: 0.120em;
  border: 1px solid #CC9966;
  background-color: #F6A12A;
  cursor: pointer;
  transition: all 0.5s;
}
/* Aggiungi questo CSS al tuo file css/login.css */

.n_t_l:hover {color: #fff; border: 1px solid #0094FF; background-color: #0094FF; text-decoration: none;}


.login {
  width: 25em;
  height: 29em;
  overflow: hidden;
  position: relative;
  margin: 160px auto 20px auto;
  padding: 1em;
  border-radius: 3px;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.5), 0 5px 18px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.5);
}

.login-box-top {
  height: 4em;
  margin: -20px -20px 20px;
  line-height: 4em;
  font-size: 1.4em;
  font-weight: 600;
  color: #606060;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 1px #FFF, 0 0 1px #FFF;
  border-radius: 3px 3px 0 0;
  border-bottom: 3px solid #F6A12A;
  background: #F1F1F1;
}

.login p:first-child {
  margin-top: 2em;
  font-size: 0.9em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 500;
}

.login p {
  margin: 1em 0;
}

.login input[type=text],
.login input[type=password],
.login input[type=email] {
  width: 90%; box-shadow: 0 0 0 200px rgba(255,255,255,0.8) inset !important;
}



input {
  height: 2.6em;
  margin: 0 5%;
  padding: 0 1em;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6em;
  color: rgba(33, 33, 33, 0.92);
  font-weight: 300;

  border-radius: 8px;
  border: 1px solid rgba(200, 200, 200, 0.4);
  outline: none;

  backdrop-filter: blur(8px);

  transition: all 0.3s ease;
}

input:focus {
  border-color: #67b8db;
  box-shadow: 0 0 0 3px rgba(103, 184, 219, 0.25);
  background: rgba(255, 255, 255, 0.4);
  color: #222;
}



/** BOTTONE  **/

input[type=submit] {
  height: 2.8em;
  padding: 0 2.5em;

  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7a00, #ffb347);

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  outline: none;

  transition: all 0.35s ease;
  cursor: pointer;
}

input[type=submit]:hover {
  background: linear-gradient(135deg, #e86c00, #ffaa33);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}



.login p.remember_me {
  width: 12em;
  float: left;
  margin-top: -0.1em;
  margin-left: 0.7em;
}

.login p.remember_me label {
  font-size: 1em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  transition: .5s;
  cursor: pointer;
}

.login p.remember_me label:hover {
  color: #fff;
  text-shadow: 0 0 9px #fff;
  cursor: pointer;
}

.login p.remember_me input {
  width: 0.670em;
  position: relative;
  bottom: 0.08em;
  margin-right: 0.30em;
  vertical-align: middle;
  cursor: pointer;
  outline: 0;
}

.login p.submit {
  text-align: right;
}

.login-help {
  width: 25em;
  margin: 30px auto;
  padding: 1em;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-align: center;
  text-shadow: 0 0 1px #000;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: 3px;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.5), 0 5px 18px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.5);
}

.link-ripristina a {
  font-size: 0.820em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.030em;
  text-shadow: 0 0 1px #000;
  text-decoration: none;
  transition: .5s !important;
}

.link-ripristina a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 9px #fff;
  text-decoration: none;
  cursor: pointer;
}

a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
}

#pass_recover {
  display: none;
}

/* Responsive per smartphone o piccoli tablet */
@media all and (min-width: 320px) and (max-width: 480px) {

  .orologio-login {
    width: calc(85% + 0.5vw);
    margin-top: calc(1em + 0.2vw);
    padding: calc(1em + 0.2vw);
    font-size: calc(0.7em + 1vw); 
  }

  .login {
    width: calc(85% + 0.5vw);
    margin: 2em auto 1em auto;
    padding: 1em;
  }

  .login-box-top {
    width: auto;
    font-size: calc(1em + 0.5vw);
  }

  .n_t_l {
    margin-left: 0.580em;
    padding: 0 0.6em 0.1em 0.580em;
    font-size: calc(0.9em + 0.5vw);
  }

  .login-help {
    width: 85%;
    margin: 30px auto;
    padding: calc(1em + 0.2vw);
    font-size: calc(0.760em + 0.5vw);
  }

  .login p.remember_me {
    width: 10em;
    margin-top: 0.6em;
    margin-left: 0.4em;
    float: left;
  }

  .login p.remember_me input {
    width: 1em;
    margin-top: -1px;
  }

  .login p.remember_me label {
    font-size: calc(0.5em + 1vw);
  }

  input {
    height: 2.4em;
    margin: 0 5%;
    padding: 0 0.5em;
    font-size: calc(1em + 0.5vw);
  }

  input[type=submit] {
    height: 2.6em;
    padding: 0 1.4em;
    font-size: calc(0.5em + 1vw);
  }
}
