@import url(https://fonts.googleapis.com/css?family=Teko|Poppins);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);
:root {
    --primary-color: #582FBA;
    --primary-50: #F8F7FD;
    --primary-100: #D9CEF3;
    --primary-200: #9A7CDE;
    --primary-300: #744BD2;
    --primary-400: #170C31;
    --secondary-color: #4A1942;
    --secondary-50: #F4E1F1;
    --secondary-100: #DFA5D5;
    --secondary-200: #C45AB2;
    --secondary-300: #A53B93;
    --secondary-400: #2E1029;
    --grey-900: #252626;
    --grey-800: #525454;
    --grey-700: #6E7070;
    --grey-600: #919394;
    --grey-500: #AFB2B2;
    --grey-400: #C8CBCC;
    --grey-350: #C8CBCC;
    --grey-300: #D4D8D9;
    --grey-250: #E3E7E8;
    --grey-200: #E3E7E8;
    --grey-100: #EBEDED;
    --grey-150: #e8f6f5;
    --grey-50: #F8FAFC;
    --grey-medium: #E5E5E5;
    --success-50: #BEFAE9;
    --success-100: #3FD4AA;
    --success-200: #047857;
    --success-300: #024532;
    --warning-50: #F7FABE;
    --warning-100: #E0E575;
    --warning-200: #A6AD23;
    --warning-300: #616600;
    --danger-50: #FABEBE;
    --danger-100: #FA8080;
    --danger-200: #ce3a30;
    --danger-300: #570A0A;
    --primary-color-dark: #43238d;
    --primary-color-dark-2: #4607d9;
    --primary-color-heading: #330e80;
    --primary-light-bg: #F9F5FF;
    --primary-light-color: #6840C4;
    --sidebar-bg-color: #0F050E;
    --sidebar-active-itm-bg: #260D21;
    --tertiary-btn-bg: #E4DEF7;
    --tertiary-btn: var(--tertiary-btn-bg);
    --error-light-bg: rgba(254, 240, 240, 0.50);
    --neutral-800: #26272B;
    --neutral-600: #51525C;
    --dark-medium: #4F4F4F;
    --black: #25282b;
    --text-block: #525454;
    --error-200: #F04438;
    --brand-light: #eaf3f6;
    --green-200: #15523a;
    --green-100: var(--secondary-color);
    --ruby-red: #FA1E1E;
    --green-sidebar-v2: #011A0B;
    --light-blue-200: rgba(171, 218, 255, 0.7);;
    --light-blue-100: rgba(179, 221, 255, 0.05);
    --blue-100: #6fbfce;
    --blue-dianne: var(--primary-color-heading);
    --foam: #d9caff;
    --alabaster: #F8FAFC;;
    --yellow-200: #f2c94c;
    --yellow-100: #bdb76b;
    --brand-dot-green: #46a278;
    --brand-dot-orange: #f1965a;
    --frosted-mint: #e2fff3;
    --border: #E3E7E8;
    --red: #ff4d4d;
    --white: #fff;
    --shadow: rgba(0, 0, 0, 0.2);
    --completed: var(--primary-color);
    --canceled: var(--danger-200);
    --me-waiting: #D9B020;
    --others-waiting: var(--secondary-300, #A53B93);
    --font-inter: 'Inter', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --border-radius: var(--border-radius, 15px);
}

*{
    margin: 0;
    padding: 0;
    font-family: var(--font-poppins);
    color: var(--grey-900);
}

body::-webkit-scrollbar,
section.form::-webkit-scrollbar{
    width: 0.5rem;
}

body::-webkit-scrollbar-track,
section.form::-webkit-scrollbar-track{
    background: whitesmoke;
}

body::-webkit-scrollbar-thumb,
section.form::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background: lightgray;
}

body::-webkit-scrollbar-thumb:hover,
section.form::-webkit-scrollbar-thumb:hover{
    background: darkgray;
}

/* mobile elements */
.brand-logo{
    padding: 20px 0;
    text-align: center;
    background: var(--primary-color);
}

.brand-logo--mobile{
    display: none;
}
/* end of mobile elements */

main{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}

.banner-v1{
    background: #D9CEF3;
    background-image: url('../../images/registration-doodle-bg.png');
    background-repeat: repeat;
    background-size: contain;
}

.banner{
    background: #D9CEF3;
    background-image: url('../../images/docs-creation-flow.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.banner-wrapper{
    width: 70%;
    margin: 50px auto 30px auto;
}

.banner-brand{
    width: 50%;
    height: 50px;
    background-image: url('../../images/registration-side-logo-with-arrow.png');
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 10px;
}

.banner ul{
    color: var(--primary-color-heading);
    font-size: 12px;
    list-style-type: none;
}

.banner ul li{
    font-weight: 600;
    letter-spacing: 0.1px;
}
.banner ul li:not(:last-child){
    margin-bottom: 20px;
}

.bullet{
    background-image: url('../../icons/round_check.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 14px;
    vertical-align: middle;
    height: 14px;
    margin-right: 5px;
    display: inline-block;
}

.banner-img{
    height: 621px;
    max-height: 340px;
    background-image: url('../../images/dash.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 15%;
}

section.form{
    height: 100vh;
    overflow: auto;
}

.form-wrapper{
    width: 70%;
    margin: 50px auto;
}

.form-heading{
    font-weight: bold;
    margin-bottom: 10px;
}

.form-text-block{
    color: var(--grey-800);
    font-size: 14px;
    line-height: 24px;
}

.form-text-block-center{
    text-align: center;
}

.form-text-block-center a{
    text-decoration: none;
    color: var(--primary-color);
}

form{
    margin: 50px 0;
}

.form-group{
    margin-bottom: 20px;
}

.form-group-item-checkbox{
    display: grid;
    grid-template-columns: 20px auto;
    -moz-column-gap: 20px;
         column-gap: 20px;
    align-items: center;
}

input[type=checkbox]{
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-group-item-checkbox span{
    font-size: 14px;
}

.form-group-item-checkbox span a{
    color: var(--primary-color);
    text-decoration: none;
}

.form-group-item-field{
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.form-group-item-field input{
    display: block;
    width: 100%;
    height: 45px;
    padding: 10px;
    box-sizing: border-box;
    border: 0;
}

.form-group-item-field--has-icon{
    display: grid;
    grid-template-columns: auto 45px;
}

.form-group-item-field input:focus,
.form-btn button{
    outline: 0;
}

.form-group-item-field-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.form-group-item-field-icon i{
    color: var(--primary-color);
}

/* .form-group-item-field input[type=password]{
    width: 90%;
} */

.form-group label{
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.form-group label::first-letter{
    text-transform: uppercase;
}

.form-group-item-p-danger{
    color: red;
    font-size: 14px;
}

.form-group-item-p-danger::first-letter{
    text-transform: uppercase;
}

.form-group-col-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.form-group-col-2-item input{
    vertical-align: middle;
}

.form-group-col-2-item span{
    margin-left: 5px;
}

.form-group-col-2-item a{
    text-decoration: none;
    position: absolute;
    color: var(--primary-color);
    right: 0;
}

.form-btn{
    margin-top: 50px;
}

.form-btn button{
    width: 100%;
    border-radius: var(--border-radius, 15px);
    border: 0;
    color: white;
    padding: 15px 0;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--primary-color);
}

.form-btn button:disabled{
    background: var(--primary-200);
}


/* Change input border color on error */
.reg-inputfield-error {
    border: 1px solid red;
}

.form-group-item-p-danger {
    color: red;
    font-size: 0.85em;
}

/* google auth button */
.google-btn{
    display: block;
    font-size: 14px;
    padding: 16px 0;
    margin: 40px 0;
    position: relative;
    border-radius: var(--border-radius, 39px);
    border: 1px solid var(--border);
    text-align: center;
    text-decoration: none;
}

.google-btn:hover{
    text-decoration: none;
}

.google-btn img{
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.google-btn span{
    color: #525454;
    text-transform: uppercase;
    margin-left: 2.5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 18.75px;
    letter-spacing: 1.25px;
    text-align: left;

}

.back-btn {
    display: none;
}
.back-btn.active {
display: flex;
gap: 10px;
align-items: center;
background-color: white;
color: var(--grey-800);
border: none;
margin-bottom: -20px;
font-size: 14px;
cursor: pointer;
}
.form-row .form-group {
    position: relative;
    width: 100%; 
}

.step {
    display: none;
}

.step.active {
    display: block;
}
/* ----- Or ----- */
.section-form-break{
    text-align: center;
    margin: -20px 0 20px 0;
    text-transform: uppercase;
    font-weight: bold;
    color: #AFB2B2;
    position: relative;
}

.section-form-break::after{
    content: "";
    height: 1px;
    background: var(--border);
    width: 45%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-form-break::before{
    content: "";
    height: 1px;
    background: var(--border);
    width: 45%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 780px){
    .banner{
        display: none;
    }

    main{
        grid-template-columns: auto;
    }

    main{
        display: block;
    }

    section.form{
        height: unset;
        overflow: unset;
    }

    .brand-logo{
        display: none;
    }

    /* mobile element */
    .brand-logo--mobile{
        display: block;
    }
    /* end of mobile elements */
}

@media only screen and (max-width: 480px){

    .form-wrapper{
        width: 90%;
    }
}


@media (min-width: 768px) {
    .form-row {
    display: flex;
    gap: 15px;
}
    .form-row .form-group {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media only screen and (min-width: 1200px) {
    .banner{
        background-size: cover;
    }
}

