@charset "UTF-8";

/* Scope generale solo sulla pagina di login */
body.login.als-skin {
  /* niente bg qui se vuoi usare quello WP; lascio neutro */
}

/* Nascondo il logo WP (hai il tuo nella colonna 2) */
body.login #login h1 a { display: none; }

/* Wrapper a due colonne (riprende il tuo #modulo-selena) */
#modulo-selena {
  width: 90%;
  margin-left: 5%;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  padding-top: 30px;
  padding-bottom: 30px;
  gap: 0;
}

/* Colonne */
.modulo-colonna1 {
  background-color: #ffffff;
  width: 100%;
}
.intro-col1{
  /*background-image: url("https://academy.seleniaitalia.it/wp-content/uploads/2024/12/sfondo.jpg");*/
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 10vh;
  text-align: center;
  padding-bottom: 50px;
  padding-top: 50px;
}
.modulo-colonna2 {
  background-color: #ffffff;
  width: 50%;
  /*background-image: url("https://academy.seleniaitalia.it/wp-content/uploads/2024/12/sfondo.jpg");*/
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

/* Montserrat */
.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Messaggi WP (tuo comportamento) */
.message{display: none !important;}
#login-message{
  display: block !important;
  margin: 25px;
  border-left: 4px solid #d75881;
  background-color: #f2f2f2;
}
#login_error{
  border-left-color: #b78864;
  margin: 25px;
  background-color: #ff000014;
}

/* Piede custom */
.fomr-footer{
  width: 100%;
  display: flex;
  align-items: stretch;
  margin-top: 30px; 
  margin-bottom: 30px; 
  background-color: #b78864; 
  color: white;
}
.fomr-footer-col1{ width: 50%; }
.fomr-footer-col2{
  width: 50%; 
  display: flex; 
  flex-wrap: nowrap; 
  align-content: center; 
  justify-content: center; 
  align-items: center;
}
.fomr-footer-col2 > img,
.fomr-footer-col2 > a > img { max-width: 35px; }

/* Form core WP: tolgo bordo del login, mantieni il tuo stile */
#loginform{ border: 0; }
#registerform{
  margin-top: 20px;
  margin-left: 0;
  padding: 26px 24px;
  font-weight: 400;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 0px 0px rgba(0,0,0,.04);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.login form {
	display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}
#registerform > p{
  width: 48%;
  display: inline-block;
}
#registerform > br{ display: none; }

#registerform > p > select{
  font-size: 24px;
  line-height: 1.33333333;
  width: 100%;
  border-width: .0625rem;
  padding: .1875rem .3125rem;
  margin: 0 6px 16px 0;
  min-height: 40px;
  max-height: none;
}

/* Nascondi elementi che non vuoi */
.language-switcher{display: none;}
#reg_passmail{display: none !important;}
#backtoblog{display: none !important;}
#nav{margin: 24px 0px !important;}

/* Bottoni */
#wp-submit{
  background-color: #000000;
  color: #b78864;
  border: solid 1px #b78864 !important;
  font-size: 16px;
  padding: 4px 18px;
}
#wp-submit:hover {
  background-color: #ffffff !important;
  color: #000000;
  border: solid 1px #b78864 !important;
  background-image: none;
}

/* Logo colonna destra */
.logo-login{ max-width: 150px; }

/* Titolo intro */
.intro{
  color:#b78864;
  font-size: 40px;
  line-height: 40px;
  margin-top: 30px !important;
}
h1.intro > span{ font-size:28px; }

/* Responsive */
@media (max-width: 768px) {
  #modulo-selena{ flex-direction: column; }
  .modulo-colonna1{ width: 100%; }
  .modulo-colonna2{
    width: 100%; 
    min-height: 200px;
    display: flex; align-items: center; justify-content: center;
  }
  #registerform > p { width: 100%; }
}

/* ====== REGISTRAZIONE A 3 COLONNE (DESKTOP) ====== */
#login {
    width: 80%;
    padding: 0px; 
    margin: auto;
}

/* base: una colonna su mobile (già c'è) */
#registerform > p { width: 100%; }

/* tablet: 2 colonne */
@media (min-width: 768px) and (max-width: 1199px) {
  #registerform {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }
  #registerform > p {
    width: auto !important;
    margin: 0;
    display: block;
  }
  #registerform > p.submit {
    grid-column: 1 / -1; /* submit a tutta larghezza */
    display: flex;
    justify-content: center;
  }
}

/* desktop: 3 colonne */
@media (min-width: 1200px) {
  #registerform {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px; /* verticale / orizzontale */
  }
  #registerform > p {
    width: auto !important;
    margin: 0;
    display: block;
  }
  /* campo submit su tutta la riga */
  #registerform > p.submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }
}

/* assicurati che gli input riempiano la cella */
#registerform input[type="text"],
#registerform input[type="email"],
#registerform input[type="password"],
#registerform select,
#registerform textarea {
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width:600px){
	.login form {
	display: grid!important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px 24px;
}
}