﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
html {
    /* color definitions */

    --color-red: #e01f28;
    --color-gray: #c8c8c8;
    --color-gray-light: #e9e9e9;
    --color-gray-dark: #686868;
    --color-white: rgb(255, 255, 255);
    --color-gray-hover: rgba(0, 0, 0, 0.04);
    --color-black: #333333;

    --color-primary: var(--color-red);
    --color-secondary: var(--color-gray);
    --color-background: var(--color-white);
    --color-input-text: var(--color-gray-light);

    background-color: var(--color-background);
    font-family: "Open Sans", sans-serif;
    letter-spacing: .5px;
    color: var(--color-black);
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: visibility .6s , opacity .6s;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility .6s, opacity .6s;
}

.no-transition {
    transition: none;
}

input {
    box-sizing: border-box;
}

    input[type=text], input[type=password] {
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
        height: calc(3rem - 4px);
        width: 100%;
        font-size: 1rem;
        padding: 0;
        box-shadow: none;
        transition: all 0.3s;
        -webkit-background-clip: text; /*this removes the yellow autofill background*/
    }

        input[type=text]::placeholder, input[type=password]::placeholder {
            color: var(--color-gray-dark);
            transition: .2s;
        }




    input[type=button], input[type=submit] {
        border-radius: 6px;
        outline: none;
        height: 3rem;
        width: 100%;
        font-size: 1rem;
        padding: 0;
        box-shadow: none;
        transition: all 0.3s;
        margin-top: 15px;
        color: white;
        font-weight: bold;
        transition-duration: 0.3s;
        background-color: var(--color-primary);
        border: 2px solid var(--color-primary);
    }
    input.cancel[type=button] {
        background-color: var(--color-gray-dark);
        border: 2px solid var(--color-gray-dark);
    }

    input[type=button]:hover, input[type=submit]:hover {
        background-color: var(--color-white);
        border-radius: 6px;
        cursor: pointer;
        transition: .2s;
        border: 2px solid var(--color-primary);
        color: var(--color-primary);
    }


    input.cancel[type=button]:hover {
        border: 2px solid var(--color-gray-dark);
        color: var(--color-gray-dark);
    }



    input[type=button]:disabled, input[type=submit]:disabled {
        background-color: var(--color-secondary);
        border: 2px solid var(--color-secondary);
        border-radius: 6px;
        color: var(--color-white);
        cursor: not-allowed;
    }

    inputfocus{
        background: transparent;
    }

.input-box {
    box-sizing: border-box;
    cursor: text;
    width: 100%;
    border: 2px solid var(--color-input-text);
    border-radius: 6px;
    padding-left: 15px;
    padding-right: 7.5px;
    position: relative;
    background-color: var(--color-input-text);
    display: flex;
    height: 3rem;
}

    .input-box:hover {
        border: 2px solid var(--color-secondary);
        transition: .2s;
    }

    .input-box:focus-within {
        border-color: var(--color-primary);
    }
.backButton {
    display: flex;
    margin-bottom: 6px;
    width: max-content;
    padding-right: 10px;
    border-radius: 6px;
    margin-left: -7px;

}
    .backButton:hover {
        cursor: pointer;
        transform: scale(1.1);
        transition: .2s;
    }

button {
    background: transparent;
    border: none;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

    button:hover {
        background: var(--color-gray-hover);
        transition: .2s;
    }

label {
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333
}

label:hover {
    cursor:pointer;
}

a {
    color: #6f7070; 
    text-decoration-line: none;
    color: var(--color-primary);
}

     .forgot-pw-link {
        color: #6f7070;
        text-transform: uppercase;
        width: max-content;
        margin-top: 6px;
        margin-right: 6px;
        border-bottom: .5px solid transparent;
        font-size: 12px;
    }

    a:hover {
        border-bottom: .5px solid ;
        transition: .2s;
    }


.validation-summary-errors {
    display: flex;
    color: var(--color-primary);
    padding-left: 6px;
    padding-bottom: 6px;
}

    .validation-summary-errors > ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

.form-center {
    width: 600px;
    display: flex;
    flex-direction: column;
    margin:0;
}

p{
    color: var(--color-gray-dark);
}

header{
    font-size: 32px;
    font-weight: bold;
}

.header-image {
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    transition: opacity 1.1s;
}
    .header-image > img {
        height: 100vh;
    }

.overlay {
    height: 100vh;
    position: absolute;
    bottom: 0px;
    right: 0px
}

.login-inputs {
    width: 25vw;
    text-align: center;
}

.logo {
    display: block;
    max-height: 30vh;
    max-width: 25vw;
    padding-bottom: 15px;
    margin-left:auto;
    margin-right: auto;
}

ul{
    margin: 6px;
}

.overlay > svg > path { /*target the image with css*/
    fill: var(--primary-color);
}

.loading-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .loading-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #fff;
        border-radius: 50%;
        animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: var(--color-primary) transparent transparent transparent;
    }

        .loading-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .loading-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .loading-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-layout {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

@media screen and (min-width: 601px){
    .login-inputs {
        min-width: 500px;
        background: var(--color-background);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .logo {
        min-width: 500px;
    }

    .login-layout,
    .complete-html:has(.login-layout) {
        background: var(--color-input-text)
    }
}

    @media screen and (max-width: 600px) {
        

        .header-image {
            width: 100vw;
            height: unset;
            position: unset;
        }

            .header-image > img {
                width: 100vw;
                height: unset;
            }

        .overlay {
            display: none;
        }

        .login-inputs {
            width: 90vw;
            padding: 20px;
            padding-top: 0;
            margin-top: -35vh;
        }

        .logo {
            width: 90vw;
            max-width: unset;
            height: unset;
        }

        .form-center {
            width: unset;
            padding: 20px;
        }

        body {
            margin: 0;
        }
    }

