@import url("../../global/css/variable.css");

/* Default Configuration */
*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    list-style: none;
    padding-left: 0;
}

a, a:hover, a:visited{
    cursor: pointer;
    text-decoration: none;
}

a:hover{
    opacity: 0.75;
}

a, button{
    transition: all .15s linear;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -ms-transition: all .15s linear;
    -o-transition: all .15s linear;
}

button{
    cursor: pointer;
}

img{
    width: 100%;
}

p, label{
    margin-bottom: 0;
}

.text-highlight{
    color: var(--clr-primary);
}

body{
    font-family: var(--font-family);
    font-size: var(--fs-body);
    color: var(--clr-black);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* background-image: linear-gradient(45deg, rgb(255, 98, 103), rgb(252, 18, 27)); */
    background-color: var(--clr-white);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.login-wrapper{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: min(800px, 90vw);
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.section-image, .section-content{
    width: 50%;
    padding: 30px;
}

.section-image{
    background-color: var(--clr-primary);
    text-align: center;
    color: var(--clr-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-image-title{
    font-size: var(--fs-section-title);
    font-weight: var(--font-extra-bold);
}

.section-content{
    display: grid;
    place-items: center;
    background-color: #fff;
}

.login-form{
    width: 100%;
}

.form-title{
    font-size: var(--fs-section-title);
    font-weight: var(--font-extra-bold);
    text-align: center;
    color: var(--clr-primary);
    margin-bottom: 30px;
}

.form-label{
    font-weight: var(--font-medium);
}

.form-control:focus{
    box-shadow: 0 0 0 0.25rem var(--clr-overlay);
    border-color: var(--clr-primary);
}

.login-button{
    border: none;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-weight: var(--font-semibold);
    width: 100%;
    padding: 7.5px 17.5px;
    border-radius: 5px;
    transition: all .15s linear;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    -ms-transition: all .15s linear;
    -o-transition: all .15s linear;
}

.login-button:hover{
    opacity: 0.75;
}

label.required::after{
    content: '*';
    color: red;
    margin-left: 5px;
}

@media(max-width: 576px){
    .login-wrapper{
        flex-direction: column;
    }

    .section-image, .section-content{
        width: 100%;
    }

    .section-image{
        display: none;
    }
}
