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

}

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

.mainSignInContainer{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3vh;
    opacity: 0;
}

.mainSignInContainer.activate{
    opacity: 1;
}


.signInContainer {
    width: clamp(300px, 50vw, 500px);
    height: fit-content;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.334);
    border-radius: 10px;
    border-radius: 20px;
    filter: opacity(1);
    overflow: hidden;}

.loginForm {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to left, rgba(18, 111, 165, 0.808) , rgba(112, 190, 204, 0.571));
    padding: 0px 0px;
}

.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(1rem, 5vh, 2rem);
    background-color: rgb(30, 66, 119);
    color: white;
    padding: 5px 20%;
    background-size: 200%;
    border-radius: 15px;
    box-shadow: 0px 5px 10px rgba(94, 93, 93, 0.214);
}

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

}

.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: 5px 10% 5px 10%;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-top: -5px;
}

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

.loginContainer>div>input {
    width: 100%;
    height: 100%;
    position: absolute;
    padding-left: 20px;
    border-radius: 10px 10px 10px 0px;
    outline: none;
    border: rgb(255, 255, 255) 1px solid;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.552);
    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 {
    position: relative;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    margin-left: 20px;
    user-select: none;
    transform: translateX(0px, 0px);
    color: rgb(0, 0, 0);
    transition: transform 0.2s ease-in, color 0.2s ease-in;
    user-select: none;
    pointer-events: none;

}

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

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

}

.forgetPass {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;
    font-size: 0.5rem;
    color: #555;
    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(41, 41, 41);
    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);



}

.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;
    margin-bottom: 10px;
}

.loginButton>button {
    width: 80%;
    height: fit-content;
    padding: 5px 10px;
    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-color: rgb(30, 66, 119);
    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;

}

















/* SIGN UP STYLE SHEET */



.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;
}


.logoContainer {
    background-image: url(../assets/prism-logo-wn.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 35vh;
    height: 35vh;
    z-index: -1;
    transition: transform 0.5s ease-in;
}

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

}

.passwordErrorContainer {
    position: absolute;
    width: 15vh;
    height: 15vh;
    background-color: rgb(125, 212, 238);
    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;

}
.companyNameNotif{
    position: absolute;
    width: 30vh;
    height: fit-content;
    background-color: rgb(125, 212, 238);
    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, .companyNameNotif.activate {
    opacity: 1;

}

.passwordErrorContainer h1, .companyNameNotif h1 {
    font-size: 1.2rem;

}

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

.mainLoaderContainer.activate{
    opacity: 1;
}




.loadingContainer {
    position: relative;
    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;
    padding: 70px;

}

.loaderBg{
    width: 400px;
    height: fit-content;
    background-color: rgb(94, 175, 223);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(64, 59, 59, 0.31);
}

.notifContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0px 50px 50px 50px;
}

.loadingTextNotif1{
    color: white;
    font-size: 1.3rem;
    text-align: center;
}

.loadingTextNotif2::after{
    content: "";
    color: white;
    font-size: 1.3rem;
    text-align: center;
    animation: loadingAnim 2s linear infinite;
}

@keyframes loadingAnim {
    0%{
        content: " .";
    }
    25%{
        content: " ..";

    }
    50%{
        content: " ...";

    }
    75%{
        content: " ....";

    }
}

.loadingTextNotif2{
    color: white;
    font-size: 1.3rem;
    text-align: center;
}


.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(0px);
}



@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-color: rgba(32, 216, 245, 1);
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-radius: 15px;

}

.headerContainer{
    background-color: rgb(64, 154, 250);
    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;
}

.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-color: rgb(64, 154, 250);
    font-weight: bold;
    color: white;
}

.popUpsReloadBtn:hover{
    cursor: pointer;
}

.signedInContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(32, 216, 245, 0.87);
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    opacity:0;
    flex-direction: column;
    padding: 30px 100px 40px 100px;
    border-radius: 15px;
    position: absolute;
    color: white;
    transition: opacity 0.2s ease-in;

}

.signedInContainer.activate{
    opacity:1;
}

.signedInNotice{
background-color: rgb(64, 154, 250);
padding: 5px 40px;
border-radius: 15px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.signedInNotice h4{
    font-size: 1.3rem;
}

.countdownContainer h4{
    font-size: 1.3rem;
}


.errorSignInContainer{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(32, 216, 245, 0.87);
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    opacity:0;
    flex-direction: column;
    padding: 30px 100px 40px 100px;
    border-radius: 15px;
    position: absolute;
    color: white;
    gap: 40px;
    transition: opacity 0.2s ease-in;

}
.errorSignInContainer.activate{
    opacity:1;

}
.errorNotice{
    background-color: rgb(64, 154, 250);
    padding: 20px 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.errorNotice h4{
    font-size: 1.5rem;
    margin: 0px;
    text-align: center;
}

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

.errorNotifContainer h4{
    margin: 0px;
    font-size: 1.3rem;
}

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

.exitBtn{
    font-size: 1.2rem;
    padding: 10px 20px;
    outline: none;
    border-radius: 10px;
    border: none;
}

.exitBtn:hover{
    cursor: pointer;
}

@media screen and (max-width: 599px) {
  .mainSignInContainer {
    width: 90vw; 
  }

  .signInContainer {
    width: 90vw; 
  }

  .loginContainer > div > input {
    font-size: 0.9rem; 
  }

  .loginButton > button {
    width: 100%; 
    font-size: 1rem;
  }

  .logoContainer {
    width: 20vh;
    height: 20vh;
  }
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
  .mainSignInContainer {
    width: 70vw;
  }

  .signInContainer {
    width: 70vw;
  }

  .loginButton > button {
    width: 90%;
  }
}

@media screen and (min-width: 1025px) {
  .mainSignInContainer {
    width: 50vw;
  }

  .signInContainer {
    width: clamp(300px, 50vw, 500px);
  }
}
