@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --font-family: "Inter", sans-serif; /* new font */
    /*Changeing branding into one
        Idea is to connect sign in and register part of branding into one
        Second part will be Container Lookup
    */
    /*Here is a first part*/
    --primary-color: #7FBC03; /* the first company color*/
    --secondary-color: #218DCD; /* the second company color*/
    /*We need to add one variable to branding
        color of font in button
        We can use "Left panel icon background color" as this and add hover color for animation purposes
    */
    --button-text-color: white;
    --neutral-white: #fff;
    --neutral-100: #e6e6e6; /*Text fields/input border color also border color of dropdowns */
    --neutral-400: #999; /*Color of title in not used switch button*/
    --neutral-500: #808080; /*In branding - page text color*/
    --neutral-black: #000; /*In branding - page title color*/
    /* This color are not for change */
    --error-color: #d00000;
    /*Below there are varables that using names from branding
        I put those colors exactly there where they should be in css files
    */
    --left-panel-background: #fafafa;
    --left-panel-link-color: #218DCD; /*forgot password link in sign in*, links in register page */
    --left-panel-link-color-hover: #7FBC03;
    --left-panel-button-color: #7FBC03; /*Form button "Sign in"*/
    --left-panel-button-color-hover: #218DCD;
    --page-link-color: ##808080;
    --page-link-color-hover: #7FBC03;
    /*-----------------*/
    /*Container Lookup*/
    --cl-background-search-rgb: 0, 109, 155;
    --cl-primary-color: #7FBC03;
    --cl-secondary-color-rgb: 33, 141, 205; /*there is need to convert hex to this rgb version for cl- This is secondary color in rgb below is hex*/
    --cl-secondary-color: #218DCD;
    --cl-button-color: #114767; /*It is a 5 times darker color then secondary color*/
    --cl-result-background: #fafafa;
    --cl-neutral-100: #e6e6e6;
    --cl-neutral-200: #ccc;
    --cl-neutral-400: #999;
    --cl-neutral-500: #808080;
    --cl-neutral-black: #000;
    --cl-button-text-color: white;
}

.app__wrapper {
    background-color: var(--left-panel-background); /* This color is left panel background from branding */
    width: 100%;
    height: 100vh; /* or 100% */
    display: flex;
    align-items: center;
}

.bodyLeftPart__wrapper {
    height: 100%;
    width: 35%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family) !important;
    overflow-y: auto;
}

.bodyLeftPart__wrapper::-webkit-scrollbar {
    width: 0.2rem !important;
    height: 0.2rem !important;
}

.bodyLeftPart__wrapper::-webkit-scrollbar-track {
    background-color: #f5f5f5 !important; /* scrollbar color - no need to change for now */
    -webkit-box-shadow: none !important;
}

.bodyLeftPart__wrapper::-webkit-scrollbar-thumb {
    background-color: var(--grey-100) !important; /* scrollbar color - no need to change for now */
    border-radius: 1rem;
}

.bodyLeftPart__wrapper::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
}

.logo__wrapper {
    margin: 3rem auto 4rem;
}

.logo_image {
    height: 4rem;
    width: fit-content;
    object-fit: cover;
}

.extraInfromationBox__wrapper {
    background-color: var(--left-panel-background); /* This color need to be this same what left panel background in branding */
    /* Box-shadow requires a script
   to maintain the same shadow effect around the main form box.

   The client cannot use pure white or pure black as background colors.
   For white, they can start using #fafafa — in HSL this is (0, 0, 98),
   where pure white is (0, 0, 100).

   For black, an eight-point difference is applied
   (because the darker part of the shadow requires it):
   pure black is (0, 0, 0), so the client can start using (0, 0, 8).

   The first part of the box-shadow needs a brighter color than the base,
   and the second part needs darker shades by 8 points
   (so here: 0, 0, 90).

   Additionally, opacity is applied, which is why it is written in RGBA format.
*/
    box-shadow: -4px -4px 8px 0px #ffffff, -1px -1px 4px 0px #ffffff, 1.5px 1.5px 4px 0px rgba(229, 229, 229, 40%), 4px 4px 8px 0px rgba(229, 229, 229, 60%);
    width: 80%;
    padding: 32px;
    margin: 0 auto 2rem;
    text-align: center;
}

.extraInfromationBox__title {
    color: var(--neutral-black);
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    margin: 0 0 1rem;
}

.extraInfromationBox__text {
    color: var(--page-link-color);
    font-size: 12px;
    font-weight: 300;
    padding: 0;
    margin: 0;
    line-height: 16.8px;
}

.extraInfromationBox__text > a {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.extraInfromationBox__text > a:hover {
    font-weight: 500;
    color: var(--page-link-color-hover);
}

.imagePowerdBy__wrapper {
    margin: auto auto 0;
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
}

.imagePowerdBy__container {
    width: 100%;
    margin: auto;
}

.imagePowerdBy {
    height: 3rem;
    width: fit-content;
    object-fit: cover;
}

.bodyRightPart__wrapper {
    width: 75%;
    height: 100%;
    font-family: var(--font-family) !important;
    /*Here is image that will be different for every tenat 
        - this is a image that we see as background on right side*/
    background-image: url('/Content/account/images/default.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/*Styles for better responsivness*/
@media(max-width: 1500px) {
    .bodyRightPart__wrapper {
        width: 60%;
    }

    .bodyLeftPart__wrapper {
        width: 40%;
    }
}

/*-- Styles form tablet screen --*/
@media (max-width: 1200px) {
    div#divPartialLookup {
        background: none !important;
    }

    .app__wrapper {
        /*Here is image that will be different for every tenat 
        - this is a image that we see as background on right side*/
        background-image: url('/Content/account/images/default.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh;
        flex-direction: column-reverse;
        position: relative;
    }

    .bodyLeftPart__wrapper {
        height: 60%;
        width: 95%;
        margin: 0 auto;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        overflow-y: auto;
        background-color: var(--left-panel-background);
        transition: transform 0.5s ease, height 0.5s ease;
        position: relative;
        z-index: 11;
    }

    .bodyLeftPart__wrapper.fullscreen {
        height: 100vh;
        border-radius: 2rem;
    }

    .logo__wrapper {
        margin: 3rem auto;
    }

    .logo_image {
        height: 3.5rem;
    }

    .imagePowerdBy {
        height: 2.5rem;
    }

    .bodyRightPart__wrapper {
        width: 100%;
        height: 40%;
        top: 0;
        transition: height 0.3s ease-in-out;
        background: transparent;
    }

    .app__wrapper.fullscreen .bodyRightPart__wrapper {
        pointer-events: none;
        height: 0;
    }

    .app__wrapper.fullscreen .bodyRightPart__wrapper > .public__container__lookup,
    .app__wrapper.fullscreen .bodyRightPart__wrapper > #ip-pcl-form {
        display: none;
    }

    .grecaptcha-badge {
        z-index: 12;
    }
}

@media (max-width: 700px) {
    .bodyLeftPart__wrapper {
        width: 100%;
    }

    .bodyLeftPart__wrapper.fullscreen {
        border-radius: 0;
    }

    .logo__wrapper {
        margin: 2.5rem auto;
    }

    .logo_image {
        height: 3.5rem;
    }

    .imagePowerdBy {
        height: 2.5rem;
    }
}
