﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: system-ui;
    font-size: 15px;
    line-height: 1.5;
    scroll-behavior: smooth;
}


input,
select {
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: system-ui;
}

select,
option {
    cursor: pointer;
}

.banner {
    width: 100%;
    background-image: url(../../App_Imgs/back.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

    .banner small {
        color: red;
        font-weight: 500;
    }

    .banner header  {
        display: none;
        text-align: center;
    }

        .banner header img {
            width: 280px;
            margin: 2% 0 0;
            padding: 2%;
        }

    .banner .container {
        display: flex;
        justify-content: center;
        height: 100%;
        align-items: center;
    }

        .banner .container #formChoose {
            padding: 3% 3% 4% 3%;
        }

        .banner .container > div {
            width: 700px;
            padding: 2% 3% 1% 3%;
            text-align: center;
            background-color: hsl(0deg 0% 100% / 90%);
        }

            .banner .container > div > div {
                display: flex;
                flex-direction: column;
            }

                .banner .container > div > div h1 {
                    margin: 0 0 5% 0;
                }

            .banner .container > div input,
            .banner .container > div select {
                width: 60%;
                margin: 2% auto 0;
                line-height: 2;
                outline: none;
                border-radius: 5px;
                transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
            }

                .banner .container > div input:focus {
                    border-color: #80bdff;
                    outline: 0;
                    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
                }

            .banner .container > div .button {
                cursor: pointer;
                width: 60%;
                margin: 4% auto 0;
                background-color: #007bff;
                color: #fff;
                font-size: 16px;
                transition: all .3s;
            }

                .banner .container > div .button:hover {
                    background-color: #0069d9;
                    border-color: #0062cc;
                }

            .banner .container > div footer {
                margin: 7% 0 0;
                color: #8b8b8b;
            }

                .banner .container > div footer a {
                    text-decoration: none;
                    color: #007bff;
                }

                    .banner .container > div footer a:hover {
                        color: #0056b3;
                        text-decoration: underline;
                    }

            .banner .container > div > div > div {
                display: flex;
                flex-direction: column;
                margin: 0 auto;
                width: 60%;
                position: relative;
            }

                .banner .container > div > div > div select,
                .banner .container > div > div > div input {
                    width: 100%;
                    margin: 0 0 2% 0;
                }

                .banner .container > div > div > div span {
                    text-align: left;
                }

        .banner .container input#txtPass {
            padding: 8px 50px 8px 8px;
        }

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

    .banner header {
        text-align: center;
    }

        .banner header img {
            width: 235px;
            margin: 10% 0 0 0;
        }

    .banner .container > div {
        width: 80%;
    }
}

.container #CPass {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    height: 45px;
}

    .container #CPass svg {
        width: 47px;
        padding: 13px;
        border-left: 1px solid #cbcbcb;
    }

.container #CPassAlt {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    height: 45px;
}

    .container #CPassAlt svg {
        width: 47px;
        padding: 13px;
        border-left: 1px solid #cbcbcb;
    }

/* ---- UpdateProgress OK -------------------------------------------------- */
.modalUpdateProgress {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    background-color: #000;
    z-index: 10;
    opacity: 0.6;
    -moz-opacity: 0.8;
    filter: alpha(opacity=60);
}

.centerUpdateProgress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    z-index: 11;
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

    .centerUpdateProgress img {
        width: 170px;
        z-index: 12;
        user-select: none;
        -webkit-user-drag: none;
    }

.errorPopup {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 20px;
    left: 0;
    width: fit-content;
    right: 0;
    margin: 0 auto;
    gap: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: white;
    box-shadow: -5px 5px 10px 0px #00000024;
    border-left: 5px solid var(--red);
    align-items: center;
    justify-content: space-between;
    user-select: none;
    border-left: 5px solid #f44336;
    animation: PopupFromTop 5s forwards;
}

    .errorPopup svg {
        width: 20px;
        fill: #484848;
    }

.infoPopup {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 20px;
    left: 0;
    width: fit-content;
    right: 0;
    margin: 0 auto;
    gap: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: white;
    box-shadow: -5px 5px 10px 0px #00000024;
    border-left: 5px solid #007bff;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    animation: PopupFromTop 5s forwards;
}

    .infoPopup svg {
        width: 20px;
        fill: #484848;
    }

.fade {
    animation: animateTopBottom .5s;
}


@keyframes animateTopBottom {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes PopupFromTop {
    0% {
        top: -50px;
        opacity: 0;
    }

    5% {
        top: 20px;
        opacity: 1;
    }

    10% {
        top: 20px;
        opacity: 1;
    }

    20% {
        top: 20px;
        opacity: 1;
    }

    30% {
        top: 20px;
        opacity: 1;
    }

    40% {
        top: 20px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 1;
    }

    60% {
        top: 20px;
        opacity: 1;
    }

    70% {
        top: 20px;
        opacity: 1;
    }

    80% {
        top: 20px;
        opacity: 1;
    }

    90% {
        top: 20px;
        opacity: 1;
    }

    100% {
        top: -50px;
        opacity: 0;
    }
}
