*{
  box-sizing:border-box;
}

body,html{
  margin:0;
  height:100%;
  font-family:'Segoe UI', Arial, sans-serif;
  background-image: url('/images/bg3b.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
}

/* pagina splash */
#app-splash{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
  background-image: url('/images/bg3b.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
transition:opacity .35s ease;
}

.splash-center img{
width:110px;
height:110px;
}

.splash-loader{
margin-top:20px;
width:36px;
height:36px;
border:3px solid rgba(255,255,255,.35);
border-top:3px solid white;
border-radius:50%;
animation:spin .9s linear infinite;
}

@keyframes spin{
0%{transform:rotate(0)}
100%{transform:rotate(360deg)}
}

/* layout principale */
.wrapper{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:0 20px;
}

/* logo */
.cont{
  text-align:center;
  margin-bottom:30px;
}

.cont img{
  max-width:220px;
  height:auto;
}

/* box login */
#box{
  width:100%;
  max-width:420px;

  background:#ffffff;
  padding:40px 35px;

  border-radius:16px;

  box-shadow:
  0 20px 45px rgba(0,0,0,0.12),
  0 5px 15px rgba(0,0,0,0.06);
}

/* form */
#log{
  width:100%;
}

/* input */
#log input{
  width:100%;
  padding:14px 16px;
  margin-bottom:18px;

  border-radius:10px;
  border:1px solid #E0E0E0;

  background:#FAFAFA;
  color:#333;

  font-size:15px;

  transition:all .25s ease;
}

#log input::placeholder{
  color:#9E9E9E;
}

#log input:focus{
  outline:none;
  border-color:#43A047;

  background:#FFF;

  box-shadow:0 0 0 3px rgba(67,160,71,0.18);
}

/* bottone */
#login{
  width:100%;
  padding:14px;

  border-radius:10px;
  border:none;

  background:linear-gradient(135deg,#43A047,#2E7D32);
  color:#FFF;

  font-weight:600;
  font-size:15px;

  cursor:pointer;

  transition:all .25s ease;
}

#login:hover{
  transform:translateY(-2px);

  box-shadow:0 10px 22px rgba(0,0,0,0.2);
}

/* agenda */
.agenda{
  margin-top:25px;
  text-align:center;
  font-size:14px;
}

.agenda a{
  color:#A5D6A7;
  font-weight:500;
  text-decoration:none;

  transition:all .2s ease;
}

.agenda a:hover{
  text-decoration:underline;
  opacity:.9;
}

/* Messaggi */
#result {
  margin-top: 15px;
  font-size: 14px;
  color: #ffe082;
  text-align: center;
}

/* Link */
p {
  margin-top: 20px;
  font-size: 13px;
  text-align: center;
}

p a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

p a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 600px) {

  .wrapper {
    justify-content: flex-start;
    padding-top: 80px;
  }

  #box {
    padding: 30px 20px;
  }

}
