/* Signup First styles */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: var(--dark-purple);
    background-color: var(--body-back-color);
}
main{
    display: flex;
    justify-content: center;
    align-items: center;
}

:root{
    --dark-purple:#31178f;
    --soft-purple:#7226b0;
    --back-color-main:#ffffff;
    --body-back-color:rgb(248, 246, 254);
    --main-text:black;
    --light-color:white;
    --secondary-text:#777;
}

h2, label {
    font-weight: 600 !important;
}

.container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100vh;
}

/* Left container styles */
.left-container {
    background-image: url(css-images/bg-illustrate.png);
    background-size: cover;
    background-color: var(--back-color-main);
    text-align: center;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
@media (max-width:992px){
    .left-container{
        background-image: url(css-images/bg-illustrate-horizontally.png);
    }
}

.logos {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-left {
    width: 100px;
    height: auto;
}

.signup-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.signup-description {
    text-align: center;
    font-size: 20px;
    margin: 0 auto;
    margin-bottom: 30px;
    max-width: 600px;
}

.signup-form {
    padding: 2% 25%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.signup-form label {
    font-weight: bold;
}

.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form input[type="password"] {
    width: 94%;
    background-color: var(--back-color-main);
    padding: 10px 50px 10px 10px;
    border: 1px solid var(--dark-purple);
    border-radius: 14px;
    font-size: 16px;
}

.signup-form input[type="email"]:focus,
.signup-form input[type="text"]:focus,
.signup-form input[type="password"]:focus {
    background-color: transparent;
    box-shadow: 0px 0px 3px 1px var(--dark-purple);
    outline: none;
}

.password-container {
    position: relative;
}

.password-container .toggle-password {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password ion-icon {
    margin-top: -5px;
}
.check-div{
    padding: 5px;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    align-items: center;
}
.check-div input{
    cursor: pointer;
    margin-right: 10px;
    height: 15px;
    width: 15px;
}
.btn-div {
    display: flex;
    justify-content: center;
}
.btn-div a{
    text-decoration: none;
}

.button {
    padding: 12px 15px !important;
    width: 200px;
    border-radius: 10px !important;
}


/* Right container styles */
.right-container {
    position: relative;
    background-color: var(--body-back-color);
    flex: 2;
    padding: 40px;
    border-left: 4px solid var(--dark-purple);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.right-container h2 {
    margin-bottom: 20px;
}

.right-container p {
    margin-bottom: 30px;
}
@media (width:1024px){
    .container{
        display: block;
    }
}

@media (max-width: 992px) {
    .container {
        display: block;
    }
    .signup-form {
        padding: 2% 8%;
    }
    .right-container {
        border-left: none;
        border-top: 3px solid var(--dark-purple);
    }
    .btn.log-in {
        display: block !important;
    }
}

/*reset pass codes included*/
.reset-password-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.reset-password-section h2{
    text-align: center;
}
.reset-password-section .logo{
    max-width: 150px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.reset-form {
    width: 400px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reset-form label {
    font-weight: bold;
}
.reset-password-section .toggle-password{
    right: -10px;
}

.reset-form input[type="text"],
.reset-form input[type="password"] {
    width: 95%;
    background-color: var(--back-color-main);
    padding: 10px 40px 10px 10px;
    border: 1px solid var(--dark-purple);
    border-radius: 14px;
    font-size: 16px;
}

.reset-form input[type="text"]:focus,
.reset-form input[type="password"]:focus {
    background-color: transparent;
    box-shadow: 0px 0px 3px 1px var(--dark-purple);
    outline: none;
}
@media (max-width:768px){
    .signup-form input[type="email"],
    .signup-form input[type="text"],
    .signup-form input[type="password"] {
        width: 79%;    
}
    .signup-form .toggle-password{
        right: 15px;
    }
    .reset-form{
        width: 350px;
    }
    .reset-form input[type="text"],
    .reset-form input[type="password"] {
        width: 83%;
    }
    .reset-password-section .toggle-password{
        right: 20px;
    }
}
@media (max-width:550px){
    .reset-form{
        width:300px;
    }
}
/*pre-load codes*/
.pre-loader.active{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(2px);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pre-loader.active .pre-load-circle1{
    border-radius: 20%;
    border: 3px solid rgb(56, 56, 254);
    position: absolute;
    width: 35px;
    height: 35px;
    top: 61vh;
    rotate: 90deg;
    -webkit-border-radius: 20%;
    -moz-border-radius: 20%;
    -ms-border-radius: 20%;
    -o-border-radius: 20%;
    animation: 1s infinite spin;
    -webkit-animation: 1s infinite spin;
}
.pre-loader.active .pre-load-circle2{
    border-radius: 20%;
    border: 3px solid rgb(56, 56, 254);
    position: absolute;
    width: 35px;
    height: 35px;
    top: 61vh;
    rotate: -45deg;
    -webkit-border-radius: 20%;
    -moz-border-radius: 20%;
    -ms-border-radius: 20%;
    -o-border-radius: 20%;
    animation: 1s infinite spin;
    -webkit-animation: 1s infinite spin;
}
@keyframes spin{
    0%{
        opacity: 1;
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
}
    50%{
        opacity: 0;
        transform: rotate(-180deg);
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
}
    100%{
        opacity: 1;
        transform: rotate(180deg);
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
}
}