@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");

body {
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.home-icon {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  transition: transform 0.2s;
}
.home-icon:hover {
  transform: scale(1.1);
}

/* Popup promozionale ArtistGo */
#promoPopup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

#promoPopup > div {
  background: #ff5757;
  border-radius: 16px;
  padding: 0;
  padding-bottom: 20px;
  /* max-width: 350px; */
  height: 700px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.div-imgPopUp {
  background-color: white;
}

#promoPopup img {
  width: 90%;
  height: 200px;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

#promoPopup h2 {
  color: white;
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: bold;
}

#promoPopup ul {
  text-align: left;
  margin-bottom: 24px;
  color: white;
  padding-right: 10px;
}

#promoPopup li {
  margin-top: 40px;
  line-break: strict;
  line-height: 1.5;
  font-weight: bold;
  font-size: 1.2rem;
}

#closePromoPopup {
  background: white;
  color: #ff5757;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  margin-top: 20px;
}

#closePromoPopup:hover {
  background: #fb1e1e;
  color: #fff;
}

.registration-container {
  max-width: 400px;
  margin: 60px auto;
  background: #ff5757;
  color: #fff;
  padding: 32px 28px 24px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 1.5px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid #d9d4d4;
}

.registration-container h2 {
  margin-bottom: 24px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
}

.artist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.artist-form label {
  font-weight: bold;
  margin-bottom: 4px;
}

.artist-form input,
.artist-form textarea {
  padding: 10px;
  border: 1px solid #d9d4d4;
  border-radius: 6px;
  font-size: 1em;
  font-family: "Inter", Arial, sans-serif;
  background: #fff;
  color: #ff5757;
  margin-bottom: 8px;
  outline: none;
  transition: border 0.2s;
}

.artist-form input:focus,
.artist-form textarea:focus {
  border: 1.5px solid #fb1e1e;
}

.artist-form button {
  background: linear-gradient(90deg, #ff5757, #fb1e1e);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artist-form button:hover {
  background: linear-gradient(90deg, #fb1e1e, #ff5757);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 36px;
  box-sizing: border-box;
}
.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}
.eye-icon svg {
  display: block;
}

.password-hint {
  color: #fff;
  font-size: 0.95em;
  margin-top: -8px;
  margin-bottom: 8px;
  opacity: 0.85;
}

#sottocategoria-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 600px) {
  body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Evita scroll orizzontale */
    overflow-x: hidden;
  }
  .registration-container {
    max-width: 70vw;
    border-radius: 10px;
    margin: 0; /* Elimina il margin verticale */
  }
}

@media (max-width: 500px) {
  #promoPopup h2 {
    font-size: 1.5rem;
  }
  #promoPopup li {
    font-size: 1rem;
  }
}

@media (min-width: 1440px) and (max-width: 2559px) {
  #promoPopup > div {
    max-width: 750px;
    height: 750px;
    font-size: 1.4rem;
    padding-bottom: 32px;
  }
  #promoPopup img {
    height: 250px;
  }
  #promoPopup h2 {
    font-size: 2rem;
  }
  #promoPopup li {
    font-size: 1.2rem;
  }
  #closePromoPopup {
    font-size: 1.5rem;
    padding: 18px 36px;
    border-radius: 14px;
  }
}

@media (min-width: 2560px) {
  #promoPopup > div {
    max-width: 1200px;
    height: 1400px;
    font-size: 2.2rem;
    padding-bottom: 60px;
  }
  #promoPopup img {
    height: 600px;
  }
  #promoPopup h2 {
    font-size: 4rem;
  }
  #promoPopup li {
    font-size: 2.5rem;
  }
  #closePromoPopup {
    font-size: 3rem;
    padding: 32px 64px;
    border-radius: 24px;
    margin-top: 60px;
  }

  .registration-container {
    max-width: 800px;
    padding: 64px 60px 48px 60px;
    font-size: 2rem;
    border-radius: 24px;
  }
  .registration-container h2 {
    font-size: 3.2rem;
  }
  .artist-form label,
  .artist-form input,
  .artist-form select,
  .artist-form button,
  .artist-form textarea {
    font-size: 2rem;
  }
  .password-hint {
    font-size: 1.5rem;
  }
  .home-icon svg {
    width: 48px;
    height: 48px;
  }
}
