@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {

    // Color Scheme

    --app-background: #FEFEFE;
    --fade-app-color: #EFEFEF;
    --primary-color: #2944FF;
    --secondary-color: #1FF1FF;
    --border: #EDECEF;

    --accent: #161616;

    --text-1: #363636;
    --text-2: #565656;
    --text-3: #666666;
    --text-4: #767676;
    --text-5: #969696;

    --alert-color: #EB2632;
    --alert-hover-color: #C13131;
    --approved-color: #a3de83;
    --approved-hover-color: #2eb872;
    --warning-color: #fecd51;
    --warning-hover-color: #f8b500;
    --in-progress-color: #00bbf0;
    --in-progress-hover-color: #0e7cf4;
    --in-progress-light-color: #bef2ff;
    --open-color: #E6E6E6;
    --open-hover-color: #B6B6B6;

    --input-border: #E6E6E6;

    // Status Colors

    --pending-color: var(--warning-color);
    --pending-hover-color: var(--warning-hover-color);
    --closed-color: var(--approved-color);
    --closed-hover-color: var(--approved-hover-color-color);
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 10px;
    font-weight: 500;
    background: var(--app-background);
    color: var(--accent);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-spacing: normal;
    -webkit-word-spacing: normal;
    -moz-osx-word-spacing: normal;
    -o-word-spacing: normal;
    margin: 0;
}

* {
    font-family: "Plus Jakarta Sans", sans-serif;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, ul, li, a {
    display: block;
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: var(--accent);
}

app {
    position: relative;
    display: block;
    width: 100vw;
    height: 100vh;
}

.main {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100vw;
    height: 100vh;
    padding: 0;

    .login-wrapper {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100vw;
        height: 100vh;

        .login-cover {
            position: relative;
            display: block;
            width: 43vw;
            height: 100vh;
            padding: 1.3rem;
            flex-shrink: 0;

            .cover {
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
                background-image: url(../../public/login-bg.jpg);
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                border-radius: 1.9rem;
            }
        }

        .login-panel {
            position: relative;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            flex: 1;
            height: 100vh;
            gap: 6rem;

            .logo {
                position: relative;
                display: block;
                width: auto;
                height: 5.6rem;

                svg {
                    position: relative;
                    display: block;
                    height: 5.6rem;
                }
            }

            .login-box {
                position: relative;
                display: flex;
                flex-direction: column;
                flex-wrap: nowrap;
                align-items: flex-start;
                justify-content: flex-start;
                width: 36rem;

                form {
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    flex-wrap: nowrap;
                    align-items: flex-start;
                    justify-content: flex-start;
                    width: 100%;
                    gap: 2.6rem;

                    label {
                        font-size: 1.3rem;
                        font-weight: 500;
                        color: var(--text-1);
                    }

                    input {
                        position: relative;
                        display: block;
                        width: 100%;
                        height: 4.3rem;
                        background: white;
                        border: 1px solid var(--fade-app-color);
                        border-radius: 0.9rem;
                        padding: 0 1.6rem 0.2rem 1.6rem;
                        font-size: 1.4rem;
                        line-height: 1.4rem;
                        font-weight: 500;
                        color: var(--text-2);
                        flex-shrink: 0;
                        outline: none;

                        background: var(--fade-app-color);
                    }

                    input:-webkit-autofill,
                    input:-webkit-autofill:hover, 
                    input:-webkit-autofill:focus, 
                    input:-webkit-autofill:active{
                        -webkit-box-shadow: 0 0 0 30px var(--fade-app-color) inset !important;
                        font-size: 1.4rem;
                        line-height: 1.4rem;
                    }

                    button {
                        position: relative;
                        display: block;
                        width: 100%;
                        height: 4.6rem;
                        background: linear-gradient(170deg, var(--secondary-color) 0%, var(--primary-color) 69%, var(--primary-color) 100%);
                        border: none;
                        border-radius: 0.9rem;
                        font-size: 1.6rem;
                        line-height: 1.4rem;
                        font-weight: 600;
                        color: white;
                        margin: 2.3rem 0 0 0;
                    }

                    .form-group {
                        position: relative;
                        display: flex;
                        flex-direction: column;
                        flex-wrap: nowrap;
                        align-items: flex-start;
                        justify-content: flex-start;
                        width: 100%;
                        gap: 0.9rem;
                    }
                }
            }
        }
    }
}