.div-prelogin {
    align-self: stretch;
    position: relative;
    letter-spacing: -0.32px;
    font-weight: 600;
}
.youre-curious-alice {
    align-self: stretch;
    position: relative;
    letter-spacing: -1.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 53px;
    flex-shrink: 0;
}
.this-attitude-will {
    margin: 0;
}
.this-attitude-will-container {
    align-self: stretch;
    position: relative;
    font-size: 14px;
    letter-spacing: -0.32px;
    line-height: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 53px;
    flex-shrink: 0;
}
.youre-curious-alice-parent {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 22px;
    color: #b7b7b7;
}
.parent-prelogin {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.prelogin-fake-door-inner {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.prelogin-fake-door {
    width: 100%;
    position: relative;
    background-color: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    box-sizing: border-box;
    min-height: 640px;
    height: 100vh;
    text-align: center;
    font-size: 32px;
    color: #f2f2f2;
    font-family: Inter;
    margin: auto;
    z-index: var(--z-loader);
}
/* Login */
.h11 {
    margin: 0;
    position: absolute;
    top: 18.18%;
    left: 34.63%;
    font-size: inherit;
    font-weight: 600;
    font-family: inherit;
}
.titlehead{
    font-weight: 600;
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 24px;
}

.h1 {
    align-self: stretch;
    position: relative;
    height: 44px;
}

.input {
    outline: 2px solid rgba(242, 242, 242, 0.2);
    border:0;
    /*outline: none;*/
    font-family: Inter;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 312px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    box-sizing: border-box;
    height: 57px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 24px;
    color: rgba(211, 231, 255, 0.48);
}

.input-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.text-button-2 {
    font-size: 16px;
    line-height: 34.5px;
    font-family: Inter;
    color: #f2f2f2;
    text-align: center;
}

.button {
    cursor: pointer;
    outline: 2px solid rgba(242, 242, 242, 0.2);
    padding: 0;
    background-color: #000;
    width: 243px;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-sizing: border-box;
    height: 58px;
    border:0;
}

.h1-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 28px;

    height: 50vh;
}

.first-time-here1 {
    line-height: 16px;
}

.span {
    color: #f2f2f2;
}

.first-time-here {
    font-weight: 500;
}

.create-account1 {
    text-decoration: underline;
    font-weight: 800;
}

.are-you-a-container1 {
    width: 100%;
}

.are-you-a-container {
    position: absolute;
    width: 100%;
    top: 25%;
    left: 0%;
    display: flex;
    align-items: center;
}

.text {
    width: 308px;
    position: relative;
    height: 32px;
}

.text-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
   /* margin-bottom: 60px;*/
}

.login {
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: space-between;*/
    justify-content: space-around;
   /* padding: 0px 20px 40px;*/
    box-sizing: border-box;
    background-image: url('/images/login/login1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    min-height: 640px;
    text-align: center;
    font-size: 24px;
    color: #f2f2f2;
    font-family: Inter;
    margin: auto;
}
/*register */
.h11-2 {
    margin: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Neutral-100, #F2F2F2);
    text-align: center;
    font-family: Inter;
    font-size: 19px;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1px;
}

.leave-email{
  color: var(--Neutral-100, #F2F2F2);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -1px;
  text-align: left;
  width: 312px;
  margin-bottom: -15px;
}

.h1-2 {
    width: 280px;
    position: relative;
    height: 44px;
}

.text-button-2-2 {
    font-size: 16px;
    line-height: 34.5px;
    font-family: Inter;
    color: #fff;
    text-align: center;
}
.terms-and-conditions {
    text-decoration: underline;
}


.are-you-a-container-2 {
    position: absolute;
    width: 100%;
    top: 18.75%;
    left: 0%;
    letter-spacing: -0.32px;
    line-height: 21px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.text-2 {
    width: 308px;
    position: relative;
    height: 32px;
    font-size: 10px;
}

.box-create-account {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    gap: 28px;
}

.ready-to-enter{
  color: var(--Neutral-500, #B7B7B7);
  text-align: center;
  font-family: Inter;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -1px;
  width: 315px;
  margin-top: -27px;
}

.span-2 {
    font-size: 14px;
    white-space: pre-wrap;
}

.already-have-an-account {
    font-weight: 500;
}

.login-2 {
    text-decoration: underline;
    font-weight: 800;
}

.are-you-a-container2 {
    position: absolute;
    width: 100%;
    top: 25%;
    left: 0%;
    display: flex;
    align-items: center;
}

.text1 {
    width: 308px;
    position: relative;
    height: 32px;
    font-size: 12px;
    bottom:40px;
}
#signup-form{
    display: flex;
    flex-direction: column;
    gap:12px;
    align-items: center;
}

/* helper / hint sotto input, coerente con la grafica esistente */
.helper-text {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #d5d5d5;
  margin-top: -9px;
  text-align: right;
  width: 100%;
  line-height: 1.2;
}

/* stato di errore helper */
.helper-text.error {
  color: #ff6b6b;
}

/* piccolo wrapper per input + icona */
.input {
  position: relative;
  margin-bottom: 10px;
}

/* small checked icon già usata — visibilità gestita via JS */
.checked {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

/* bottone disabilitato */
.button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}


.go-back{
    width: 100%;
    position: absolute;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    height: 58px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0px;
    box-sizing: border-box;
    cursor: pointer;
    top:20px;
    padding-left: 25px;
}
.vector-icon-back {
    width: 12px;
    position: relative;
    height: 20px;
    display: flex;
    padding: 20px;
    }
.backBlack{
    width: 20px;
    height: 20px;
    background-color: #f2f2f2;
    border-radius: 50%;
    border: 8px solid #f2f2f2;
    padding:0px;

}
.create-account {
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: space-between;*/
    justify-content: space-around;
   /* padding: 0px 20px 40px;*/
    box-sizing: border-box;
    background-image: url('/images/login/login3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    min-height: 640px;
    text-align: center;
    font-size: 24px;
    color: #f2f2f2;
    font-family: Inter;
    margin: auto;  

}

.input-here {
    border: none;
    outline: none;
    font-family: Inter;
    font-size: 16px;
    background-color: transparent;
    flex: 1;
    position: relative;
    line-height: 24px;
    color: #f2f2f2;
    text-align: left;
    }
.vector-icon {
    width: 7.2px;
    position: relative;
    height: 5.4px;
    }
    .checked {
    width: 17.2px;
    border-radius: 8.61px;
    background-color: #000;
    border: 0.5px solid #b7b7b7;
    box-sizing: border-box;
    height: 17.2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

/* Error/Success boxes */
#errorBox{
    /* Hidden container - only used to transfer flash messages to JS */
    position: absolute;
    left: -9999px;
    visibility: hidden;
    pointer-events: none;
}
#successBox{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    z-index: var(--z-system);
    color:green; 
    padding: 8px;
    border-radius: 4px;
    line-height: 16px;
    font-family: Inter;
    color: #f2f2f2;


}
#successBox:empty {
    display: none;
}

.error-message {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    z-index: var(--z-system);

    background-color: #e74c3c;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    max-width: 320px;
    text-align: center;
    user-select: none;

    transition: opacity 0.3s ease;
}

.error-message:empty {
    display: none;
}

.hidden {
  display: none;
}

#namepot{
    display: none;
}

/* Ready to enter section */
.xdestination {
    width: 148px;
}
.ready-to-enter-container {
    align-self: stretch;
    position: relative;
    font-size: 16px;
    letter-spacing: -1.5px;
    font-weight: 500;
    color: #b7b7b7;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin : auto;
}

.parent-ready {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: unset;
    height: 260px;
    padding-top: 20px;
}

.click-here {
    position: relative;
    line-height: 12px;
}

.button-circle-ready {
    width: 90px;
    margin: 0 !important;
    position: absolute;
    top: calc(50% - 33.5px);
    left: calc(50% - 45px);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(242, 242, 242, 0.2);
    box-sizing: border-box;
    height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 10;
}

.group-parent-ready {
    width: 298px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 48px;
    font-size: 10px;
    margin-top: -100px;
}
.hi-dreamer-welcome-back{
    color: #f2f2f2;
    text-align: left;
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 16px;
    letter-spacing: -1px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;

}
/* improvement: fine-tune on very small screens to avoid overlap */
@media (max-width: 360px){
  .group-parent-ready{
    margin-top: -36px; /* smaller shift on tiny viewports */
  }
}

.text-button-1-ready {
    font-size: 16px;
    line-height: 16px;
    font-family: Inter;
    color: #f2f2f2;
    text-align: center;
}

.button-ready {
    cursor: pointer;
    outline: 2px solid rgba(242, 242, 242, 0.2);
    padding: 0;
    width: 312px;
    position: relative;
    border-radius: 20px;
    box-sizing: border-box;
    height: 55px;
    background: transparent;  /* Importante */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border:0;
  }
  
  /* Per aggiungere una leggera oscurità mantenendo la trasparenza 
  .button-ready::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    z-index: -1;
  }*/

.login-ready {
    position: relative;
    letter-spacing: -1px;
    font-weight: 600;
    cursor: pointer;
}

.button-parent-ready {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    font-size: 16px;
    color: #b7b7b7;
    margin-bottom:30px;
}

.frame-parent-ready {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /*gap: 100px;
    background-image: url('/images/login/33cc376498ca6c092929cc4a26b53d1e.png');*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    height: 100vh;
}
/* Sfondo principale */
#getready {
    position: relative;       /* necessario per il posizionamento dei figli */
    height: 100vh;
    width: 100%;
    background-image: url('/images/login/33cc376498ca6c092929cc4a26b53d1e.png');
    background-size: 70% auto;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.prelogin-2-ready {
    width: 100%;
    position: relative;
    background-color: #000;
   /* overflow: hidden;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    min-height: 640px;
    height: auto;
    text-align: center;
    font-size: 32px;
    color: #f2f2f2;
    font-family: Inter;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}