/* Copyright (c) 2019-2024. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary. */

:root {
    --white: #fff;
    --background-color-primary: #f5f6fd;
    --background-color-secondary: #fcf5f7;
    --primary: #333c66;
    --primary-dark: #202849;
    --light: #fafbff;
    --grey-light: #ced4da;
    --grey-dark: #61646b;
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-display: swap;
    font-weight: 100;
    src: url("./fonts/Figtree/Figtree-Light.ttf") format('truetype');
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-display: swap;
    font-weight: 300 400 500 700;
    src: url("./fonts/Figtree/Figtree-Regular.ttf"), url("./fonts/Figtree/Figtree-Regular.woff2") format('truetype');
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    font-family: "Figtree", sans-serif;
    color: var(--primary);
    background: var(--background-color-primary);
    background: linear-gradient(45deg, var(--background-color-primary), var(--background-color-secondary));
}

body form {
    margin: auto;
}

.container {
    min-height: 450px;
    display: flex;
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / 3%)) drop-shadow(0 4px 12px rgb(0 0 0 / 3%))
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.welcome-container {
    border-radius: 8px 0 0 8px;
    background-color: var(--white);
    width: 420px;
    padding: 2rem;
}

.welcome-container h3 {
    font-size: 24px;
    font-weight: lighter;
    margin: 1.2rem 0 0.6rem 0;
}

.welcome-container h5 {
    font-size: 12px;
    font-weight: lighter;
    margin: 0.6rem 0 0 0;
    letter-spacing: 1.7px;
    opacity: 60%;
}

.welcome-container .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.welcome-container .product {
    font-size: 36px;
    font-weight: 700;
}

.welcome-container .logo {
    max-width: 185px;
    max-height: 54px;
}

.welcome-container .footer {
    font-size: 36px;
    font-weight: 300;
}

.form-container {
    width: 350px;
    border-radius: 0 8px 8px 0;
    background-color: var(--light);
}

.form-container h3 {
    margin-top: 0;
    color: #696969;
}

.form-col {
    width: 80%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.input-text {
    display: block;
    margin: 0;
    padding: 0.4rem 1rem;
    color: inherit;
    width: 100%;
    font-family: inherit;
    font-weight: inherit;
    line-height: 1.8;
    border-radius: 4px;
    transition: box-shadow 300ms;
    background-clip: padding-box;
    border: 1px solid var(--grey-light);
    font-size: 0.8rem;
}

.input-text::placeholder {
    color: var(--grey-dark);
}

.input-text:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);

}

.input-label {
    display: block;
    position: absolute;
    opacity: 0;
}

.button {
    color: var(--white);
    background-color: var(--primary);
    border: 1px solid transparent;
    line-height: 1.5;
    border-radius: .3rem;
    cursor: pointer;
    width: 100%;
    padding: 0.4rem 1rem;
}

.button:hover {
    color: var(--white);
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}


@media screen and (max-width: 834px) {
    .container {
        flex-direction: column;
        min-height: auto;
    }

    .welcome-container {
        border-radius: 8px 8px 0 0;
    }

    .form-container {
        width: 100%;
        border-radius: 0 0 8px 8px;
        padding: 2rem 0;
    }
}