* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    user-select: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-image: url(../Assets/loginbg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: brightness(1) blur(1px);
    overflow: hidden;
    
}


.signInContainer {
    position: absolute;
    width: clamp(300px, 50vw, 550px);
    height: clamp(600px, 90vh, 800px);
    background:linear-gradient(90deg,#374e7c,#0d234f);
    top: 50%;
    transform: translate(0%, 0%);
    border-radius: 20px;
    overflow: hidden;
    filter: opacity(0);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.334);
    transition: transform 0.5s linear, filter 0.5s linear;
}

.loginForm {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:linear-gradient(90deg,#374e7c,#0d234f);
}

.pageTitle {
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

.pageTitle h1 {
    text-align: center;
    font-size: clamp(1.5rem, 5vh, 2.5rem);
    color: white;
    padding: 10px 20%;
    margin-top: 5px;
}

.loginStateNotif {
    padding: 10px 0px 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3vh;

}

.loginStateNotif .loginNotifMassage {
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: rgb(93, 138, 94);

}

.loginNotifMassage.error {
    color: rgba(255, 77, 77)
}

.loginContainer {
    padding: 10px 10% 10px 10%;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
}

.loginContainer>div {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}

.loginContainer>div>input {
    width: 100%;
    height: 100%;
    position: absolute;
    padding-left: 20px;
    border-radius: 10px 10px 10px 10px;
    outline: none;
    border: rgb(255, 255, 255) 1px solid;
    font-size: 1.2rem;
    background-color: white;
    color: rgb(0, 0, 0);
    border: 2px solid rgba(0, 0, 0, 0.365);
    box-shadow: 0px 5px 10px rgba(66, 66, 66, 0.259);

}

.loginContainer > div > label {
    display: none;
}

.loginContainer>div>label:hover {
    cursor: text;
}

.loginContainer>div>input:focus+label,
.loginContainer>div>input:not(:placeholder-shown)+label {
    transform: translate(-20px, -40px);
    color: white;

}

.forgetPass {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;
    font-size: 0.5rem;
    color: #ffffff;
    justify-content: start;
    padding-left: 50px;
    align-items: start;
    text-decoration: none;
    height: fit-content;

}

.orText {
    font-size: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    height: fit-content;
    padding: 5px 0px;

}

.orText h1 {
    color: rgb(255, 255, 255);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

.orText>div {
    width: 25%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.322);
}

.forgetPass:hover {
    text-decoration: underline;
    cursor: pointer;
}

.signInOtherWay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    padding: 10px 10px;
    gap: 50px;
    padding: 10px 10%;
}

.signInOtherWay .imgContainer {
    height: 60%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(242, 245, 249);
    width: 100%;
    height: 5vh;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(66, 66, 66, 0.259);

}


.logoContainer {
    background-image: url(../Assets/whisp-logo.jpg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 55vh;
    height: 55vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(10vw, -50%);
    z-index: -1;
    transition: transform 0.5s ease-in;
}

.logoContainer.activate {
    transform: translate(-40vw, -50%);

}


.imgContainer:hover {
    cursor: pointer;

}

.signInOtherWay h1 {
    font-size: 1rem;
}

.signInOtherWay>div>img {
    height: 30px;
    aspect-ratio: 1/1;
}

.signInOtherWay>div>img:hover {
    cursor: pointer;
}


.g-recaptcha {
    width: 100%;
    height: fit-content;
    padding: 15px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.g-recaptcha> :nth-child(1) {
    transform: scale(0.9);
}

.loginButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 10%;
    height: fit-content;
}

.loginButton>button {
    width: 100%;
    height: fit-content;
    padding: 10px 40px;
    border-radius: 30px;
    outline: none;
    border: 0.5px solid rgb(255, 255, 255);
    font-size: 1.2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    background:linear-gradient(to left,#6589d0,#0E2148);
    color: white;
    background-size: 200%;
    background-position: 0px 0px;
    transition: background-position 0.3s ease-in;
}

.loginButton>button:hover {
    cursor: pointer;
    background-position: 100% 0px;

}

.dontHaveAcc {
    height: fit-content;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.dontHaveAcc h1 {
    font-size: 1.1rem;
    color:white;
}

.dontHaveAcc button {
    background:linear-gradient(to left,#6589d0,#0E2148);
    color: white;
    padding: 10px 30px;
    border: 1.5px rgb(255, 255, 255) solid;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.3rem;
    border-radius: 20px;
    width: fit-content;
    background-size: 200%;

}

















/* SIGN UP STYLE SHEET */

.signUpContainer {
    position: absolute;
    width: clamp(300px, 50vw, 550px);
    height: clamp(600px, 90vh, 800px);
    background:linear-gradient(90deg,#374e7c,#0d234f);
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    filter: opacity(0);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.334);
    transition: transform 0.5s linear, filter 0.5s linear;
}

.signUpForm {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:linear-gradient(90deg,#374e7c,#0d234f);

}

.signUpTitle {
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.signUpTitle h1 {
    text-align: center;
    font-size: clamp(1.5rem, 5vh, 2.5rem);
    color: white;
    padding: 5px 20%;
    margin-top: 10px;
}

.signUpNotifContainer {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signUpErrorMessage {
    text-align: center;
    color: rgb(93, 138, 94);
    font-size: 1.2rem;
}

.signUpErrorMessage.error {
    color: rgba(255, 77, 77);

}

.signUpUserContainer {
    width: 100%;
    display: flex;
    height: fit-content;
    padding: 20px 30px 20px 30px;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.signUpUserContainer input {
    width: 100%;
    height: 100%;
    padding-left: 20px;
    border-radius: 10px 10px 10px 10px;
    border: 1px white solid;
    outline: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.334);


}


.signUpUserContainer div {
    width: 100%;
    height: clamp(5px, 4vh, 40px);
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;

}

.signUpUserContainer>div>input {
    position: absolute;
}

.signUpfullname {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;


}

.signUpfullname>div {
    position: relative;
    width: 100%;
    height: 100%;
}

.signUpfullname>div>input {
    position: absolute;
}

.signUpUserContainer label {
    position: absolute;
    padding-left: 20px;
    pointer-events: none;
    transform: translate(0, 0);
    color: rgb(0, 0, 0);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: transform 0.2s ease-in, color 0.2s ease-in;
    font-size: 1.2rem;
}


.signUpUserContainer input:focus+label,
.signUpUserContainer input:not(:placeholder-shown)+label {
    transform: translate(-10px, -32px);
    color: white;
}

.signUpNow {
    padding: 0px 40px 0px 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signUpNow button {
    width: 100%;
    height: fit-content;
    padding: 10px 40px;
    border-radius: 30px;
    outline: none;
    border: 0.5px solid rgb(255, 255, 255);
    font-size: 1.2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    background:linear-gradient(to left,#6589d0,#0E2148);
    color: white;
    background-size: 200%;
    background-position: 0px 0px;
    transition: background-position 0.3s ease-in;
}

.signUpNow>button:hover {
    cursor: pointer;
    background-position: 100% 0px;

}

.signUpOrText {
    width: 100%;
    height: fit-content;
    font-size: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;

}

.signUpOrText h1 {
    color: white;
}

.signUpOrText div {
    height: 2px;
    width: 20%;
    background-color: rgba(0, 0, 0, 0.428);
}

.signUpOtherWay {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 40px;
    padding: 0px 40px;

}

.signUpImgContainer {
    height: 4vh;
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 0.5rem;
    background-color: white;
    border-radius: 10px;
}

.signUpImgContainer:hover {
    cursor: pointer;
}


.signUpImgContainer>img {
    height: 50%;
}

.haveAnAcc {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.haveAnAcc h1 {
    font-size: 1rem;
    color: white;
}

.haveAnAcc button {
    background:linear-gradient(to left,#6589d0,#0E2148);
    color: white;
    padding: 10px 30px;
    border: 1.5px rgb(255, 255, 255) solid;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.3rem;
    border-radius: 20px;
    width: fit-content;
    background-size: 200%;
}


.signUpContainer.activate {
    transform: translate(-50%, -50%);
    filter: opacity(1);



}

.signInContainer.activate {
    transform: translate(0%, -50%);
    filter: opacity(1);

}

.goToSignIn:hover,
.goToSignUp:hover {
    cursor: pointer;
}



.imgContainer img {
    pointer-events: none
}

.imgContainer h1 {
    pointer-events: none
}

.signUpImgContainer img {
    pointer-events: none;
}

.signUpImgContainer h1 {
    pointer-events: none;
}


.passwordErrorContainer {
    position: absolute;
    width: 15vh;
    height: 15vh;
    background:linear-gradient(45deg,#2452ae,#0e285c);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    border: 1px solid white;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;

}

.passwordErrorContainer.activate {
    opacity: 1;

}

.passwordErrorContainer h1 {
    font-size: 1.2rem;
    color: white;

}

/* LOADER styles */
.mainLoaderContainer{
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    backdrop-filter: blur(3px);
    opacity: 0;
}

.mainLoaderContainer.activate{
    opacity: 1;
}


.loadingContainer {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: transparent;
    outline: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    color: white;
    transition: opacity ease-in-out 0.5s;
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}


.innerLoader {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: rgb(20, 207, 232) 5px solid;
    border-left: 3px;
    border-top: 3px;
    transform: rotateZ(0deg);
    animation: outerRotation 2s linear infinite;

}

.outerLoader {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: rgb(198, 83, 86) 8px solid;
    border-right: transparent 3px;
    border-bottom: transparent 3px;
    transform: rotateZ(0deg);
    animation: innerRotation 2s linear infinite;
}

.loadingTextNotif {
    text-align: center;
}

.loadingContainer h4 {
    position: absolute;
    transform: translateY(85px);
}



@keyframes outerRotation {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);

    }
}

@keyframes innerRotation {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(-360deg);

    }
}


/* for pop-ups blocked style */
.popUpBlockedNoticeContainer{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.2s ease-in;

}

.popUpBlockedNoticeContainer.activate{
    opacity: 1;
}

.noticeContainer{
    background:linear-gradient(45deg,#2452ae,#0e285c);
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-radius: 15px;

}

.headerContainer{
    background:linear-gradient(45deg,#5a86df,#567ac4);    
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;

}

.messageContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.messageContainer h1{
    font-size: 1.8rem;
    color: white;
}

.btnContainer{
    display: flex;
    height: fit-content;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.popUpsReloadBtn{
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 10px;
    outline: none;
    border: none;
    background:linear-gradient(45deg,#5a86df,#567ac4);
    font-weight: bold;
    color: white;
}

.popUpsReloadBtn:hover{
    cursor: pointer;
    background-color: #729df4;
}

@media (max-width: 480px) {
  .signInContainer,
  .signUpContainer {
    width: 90vw;
    height: 90vh;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .logoContainer {
    display: none; 
  }

  .loginButton > button,
  .signUpNow button {
    font-size: 1rem;
    padding: 8px 20px;
  }

  .dontHaveAcc h1,
  .haveAnAcc h1 {
    font-size: 0.9rem;
    text-align: center;
  }

  .signInOtherWay,
  .signUpOtherWay {
    flex-direction: column;
    gap: 10px;
  }

  .imgContainer,
  .signUpImgContainer {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .signInContainer,
  .signUpContainer {
    width: 80vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .logoContainer {
    transform: translate(0, -50%);
    width: 40vh;
    height: 40vh;
    left: 50%;
  }

  .signInOtherWay,
  .signUpOtherWay {
    gap: 20px;
  }

  .imgContainer,
  .signUpImgContainer {
    width: 80%;
  }
}

@media (max-width: 1024px) {
  .signInContainer,
  .signUpContainer {
    width: 60vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .logoContainer {
    left: 50%;
    transform: translate(0, -50%);
    width: 45vh;
    height: 45vh;
  }
}
