:root {
    --green: #1B9124;
    --red: #B75C1B;
    --white-grey: #F7F7F7;
    --grey: #707070;
    --footer: #EFECEC;
    --blocked: #d8d8d8;
    --black: #333333;
    --speed: 600ms;
    --speed-interval: 150ms;
    --radius: 15px;
}

html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.background-global {
    background: url(/bundles/rcidentityprovideroauth/img/bg.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentTitle {
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
}

.contentTitle.success {
    color: var(--green);
}

.subtitle {
    font-size: 1rem;
    text-align: center;
    width: 60%;
    margin: 30px auto 0;
    line-height: 1.5;
}

.subtitle--error {
    color: var(--red);
}

.appLinksList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    row-gap: 2vw;
    column-gap: 2vw;
    margin: 1vh 3vw 1vh;
}

.appLinksList > .appLink {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.appLinksList > .appLink > img {
    height: 50px;
    max-width: unset;
}

.appLinksList > .appLink > a {
    font-size: 0.9rem;
    margin: 10px 0 0;
    padding: 10px 12px;
}

.separator {
    width: 25%;
    height: 2px;
    background: var(--grey);
    opacity: 0.2;
    margin: 0 auto;
}

.inputContainer {
    display: flex;
    flex-direction: column;
    position: relative;
}

.inputContainer > img.icon {
    position: absolute;
    bottom: 9px;
    height: 20px;
    left: 18px;
    fill: var(--grey);
}

.button {
    background: var(--black);
    display: flex;
    align-items: center;
    display: flex;
    column-gap: 10px;
    margin: auto;
    padding: 12px 18px;
    color: white;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 300ms ease-in-out;
}

.button.disabled {
    cursor: not-allowed;
    background: var(--blocked);
}

.button > img {
    height: 15px;
}

.button:not(.disabled):hover > img {
    animation: 0.5s infinite alternate arrowslide;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    color: var(--grey);
    height: 100%;
    padding: 2vh 5vw;
    width: 100%;
}

.content-wrapper.activate {
    padding: 2vh 0 5vh;
    max-height: 80vh;
    overflow: auto;
}

.content-wrapper.activate > .subtitle {
    margin: 1vh auto 2vh;
    width: 70%;
}

.icon-wrapper {
    width: 90px;
    margin-bottom: 20px;
}

.content-wrapper > form {
    margin-top: 40px;
}

.inputContainer > svg.error {
    position: absolute;
    bottom: 9px;
    height: 20px;
    right: 11px;
    fill: var(--red);
}

.inputContainer > svg.error > g > g {
    stroke: var(--red);
}

.inputContainer > label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    margin-left: 15px;
}

.inputContainer > input {
    background: var(--white-grey);
    border-radius: var(--radius);
    font-size: 0.8rem;
    width: 100%;
    padding: 8px 0 8px 15px;
    color: var(--black);
}

body > .wrapper {
    position: relative;
    background: white;
    width: 80vw;
    max-width: 1050px;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.2);
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    max-height: 92vh;
    padding: 0;
}

body > .wrapper > .lateral-bar {
    background: var(--white-grey);
    width: 35%;
    color: var(--grey);
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}

body > .wrapper > .lateral-bar > .contentTitle {
    font-weight: unset;
    display: block;
    margin: 20px;
    font-size: 0.8rem;
    line-height: 1.5;
}


.studio_logo {
    width: 160px;
    margin: 60px auto 30px;
}

.studio_logo--responsive {
    display: none;
}

body > .wrapper > .lateral-bar > .icons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
    padding: 2vh 2.5vw 6vh;
    font-size: 0.7rem;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container > .icon {
    transition: opacity 300ms ease-in-out;
    opacity: 1;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container > p {
    transition: color 300ms ease-in-out;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container:hover > .icon {
    opacity: 0.5;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container:hover > p {
    color: var(--black);
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container > .icon {
    width: 65px;
    margin-bottom: 10px;
}

body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container > .icon > img {
    display: inline-block;
    width: 60px;
}

body > .wrapper > .content {
    width: 65%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/********************
/*
/*  initializeForm
/*
/********************/

.initialiseWrapper {
    color: var(--grey);
    padding: 5vh 2vw;
}

.initialiseWrapper > .contentTitle {
    margin-top: 0;
}

.initialiseWrapper > .subtitle {
    width: 80%;
}

.initialiseWrapper > form >  .nameContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0 10px;
}

.initialiseWrapper > form > .nameContainer > .inputContainer {
    width: 40%;
}

.initialiseWrapper > form > .nameContainer > .inputContainer > input {
    padding-left: 50px;
}

.initialiseWrapper > form > .nameContainer > .separator {
    margin: 20px auto;
}

.initialiseWrapper > form > .passwordContainer {
    display: flex;
    justify-content: space-between;
}

.initialiseWrapper > form > .buttonContainer {
    margin-top: 25px;
}

.initialiseWrapper > form > .passwordContainer > .inputsContainer {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 30px;
    margin-bottom: 20px;
}

.initialiseWrapper > form > .passwordContainer > .inputsContainer > .inputContainer > input {
    padding-left: 50px;
}

.initialiseWrapper > form > .passwordContainer > .checkContainer {
    width: 47%;
    display: flex;
    flex-direction: column;
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon > svg {
    height: 20px;
    max-width: unset;
    fill: var(--grey);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon + p {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.3;
}
.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > p {
    font-size: 12px;
}


.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon {
    display: none;
}
.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.correct, .initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.not-correct {
    display: block;
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon > svg > g > g {
    stroke: var(--grey);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.correct > svg {
    fill: var(--green);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.correct > svg > g > g {
    stroke: var(--green);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.correct + p {
    color: var(--green);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.not-correct > svg {
    fill: var(--red);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.not-correct + p {
    color: var(--red);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .password-condition > .icon.not-correct > svg > g > g {
    stroke: var(--red);
}

.initialiseWrapper > form > .passwordContainer > .checkContainer > .condition-title {
    font-size: 11px;
    font-weight: 600;
    margin: 10px 0;
}


/********************
/*
/*  Responsive
/*
/********************/

@media screen and (max-width: 1050px) {
    .appLinksList {
        grid-template-columns: 1fr;
        row-gap: 7vw;
        grid-template-rows: unset;
    }
}

@media screen and (max-width: 950px) {
    body > .wrapper {
        width: 93vw;
    }
}


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

    .studio_logo--responsive {
        display: block;
    }

    .button {
        padding: 10px 3.9vw 10px 3.2vw;
    }

    body {
        min-height: 100vh;
    }

    body > .wrapper {
        height: auto;
        min-height: 100vh;
        margin-top: 0;
        border-radius: 0;
        width: 100%;
        max-width: none;
        justify-content: center;
        flex-direction: unset;
        overflow-x: hidden;
    }

    .initialiseWrapper > form >  .nameContainer {
        flex-direction: column;
        row-gap: 20px;
        padding: 0 20px;
    }

    .initialiseWrapper > form >  .nameContainer > .inputContainer {
        width: 100%;
    }

    body > .wrapper > .content {
        width: 100%;
        height: 100%;
    }

    body > .wrapper > .lateral-bar {
        width: 100%;
        margin-top: 32px;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }

    body > .wrapper > .lateral-bar > .icons-wrapper {
        max-width: 550px;
        margin: 0 auto;
    }
    body > .wrapper {
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        justify-content: unset;
    }
    /* body > .wrapper > .lateral-bar::before {
        background: var(--white-grey);
        border-radius: 999px;
        content: "";
        position: absolute;
        z-index: -1;
        transform: scale(0);
        transition: transform 800ms ease-in-out,
        border-radius 100ms ease-in-out;
        width: 1vh;
        height: 1vh;
        position: absolute;
        right: 32px;
        top: 32px;
    } */

    body > .wrapper > .lateral-bar > .icons-wrapper {
        row-gap: 24px;
        padding: 1vh 5vw 2vh;
    }

    .appLinksList {
        max-height: unset;
        overflow-y: unset;
    }

    .appLinksList > .appLink {
        height: 100px;
    }

    .appLinksList > .appLink > a {
        font-size: 1rem;
    }

    .initialiseWrapper > form > .passwordContainer {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding: 0 20px;
    }

    .initialiseWrapper > form > .passwordContainer > .inputsContainer {
        width: 100%;
    }

    .initialiseWrapper > form > .passwordContainer > .checkContainer {
        width: 100%;
    }


    body > .wrapper > .lateral-bar > .contentTitle  {
        font-size: 12px;
    }

    body > .wrapper > .lateral-bar > .icons-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    body > .wrapper > .lateral-bar > .studio_logo {
        width: 100px;
        margin: 20px auto;
    }

    body > .wrapper > .lateral-bar > .icons-wrapper > .icon-container > .icon {
        margin-bottom: 8px;
    }
}

/********************
/*
/*  Animations
/*
/********************/

@keyframes arrowslide {
    to {
        transform: translateX(10px);
    }
}
