﻿:root {
    --ThemeColor: #060688;
    --operate-main-color: #0909b7;
    --operate-secondary-color: #d5f3ff;
    --input-border-box: 0 0 0 1px var(--operate-main-color), 0 0 0 3px rgb(95 150 255 / 20%);
    --body-leave-edges: 16px;
}

body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #fff;
}

.login-page {
    background-color: #DBDFE2;
}

.form-control {
    height: 50px;
    font-size: 16px;
}

.form-control-feedback {
    height: 50px;
    line-height: 50px;
}

.btn-vistra {
    background-color: var(--ThemeColor);
    color: #ffffff;
    width: 100%;
    height: 50px;
    font-size: 16px;
}

    .btn-vistra:hover {
        color: #fff;
        background-color: var(--operate-main-color);
        border-color: var(--operate-main-color);
    }

.header {
    width: 100%;
    height: 90px;
    z-index: 5;
    background-color: #ffffff;
    padding: 0px;
    position: relative;
    text-align: left;
    box-shadow: 0 0.125rem 0.125rem 0 rgba(85,107,130,.1), inset 0 -0.0625rem 0 0 rgba(85,107,130,.2);
}

.header_context {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 650px;
    margin: auto;
    padding: 20px 20px 10px 38px;
}

#page-inner {
    position: fixed;
    top: 78px;
    z-index: 5;
    width: 100%;
    background-color: #ffffff;
    padding: 0px;
    margin-left: -15px;
    border-bottom: 1px solid #a49485;
}

.context {
    display: flex;
    width: 100%;
    height: calc(100% - 220px);
    margin: 0;
    padding: 0;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #97E3FF;
}

.context_left {
    height: 100%;
    float: left;
    width: 55%;
    min-width: 100px;
    margin-right: 5px;
    background-image: url('../../Content/images/Vsoap.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #f5f5f6;
    text-align: center;
}

.login-box {
    width: 500px;
    font-size: 16px;
    background-color: #ffffff;
    border: 2px solid #0909b7;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 5px;
    border: medium 0;
    box-shadow: 1px 1px 10px #808080;
    position: absolute;
    right: 20%;
    z-index: 10;
    margin: 0px;
}

.footer {
    height: 130px;
    border-top: 1px solid #e4e8ef;
}

.footer_comtext {
    display: flex;
}

    .footer_comtext ul {
        height: 50px;
        font-size: 12px;
        font-family: Arial;
        list-style: none;
        margin: auto;
    }

        .footer_comtext ul li {
            float: left;
            margin: 30px 10px 0px 10px;
        }

            .footer_comtext ul li a {
                text-decoration: none;
                color: #000000;
            }

                .footer_comtext ul li a:hover {
                    color: var(--operate-main-color);
                }

.login-logo {
    margin-top: 20px;
    margin-bottom: 5px;
}

    .login-logo b {
        color: var(--ThemeColor);
    }

.context-baseplate {
    width: calc(100% - var(--body-leave-edges));
    height: calc(100% - var(--body-leave-edges));
    background-color: #fff;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
}

.context-img {
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 1;
    height: calc(100% - var(--body-leave-edges) - 2px);
}

.context-triangle-left {
    width: 16%;
    height: calc(100% - var(--body-leave-edges));
    position: absolute;
    top: 0px;
    left: var(--body-leave-edges);
    z-index: 1;
    background: #0909b7;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.context-triangle-right {
    width: 34.1%;
    height: calc(100% - var(--body-leave-edges) - 2px);
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 1;
    background: #0909b7;
    clip-path: polygon(0 0, 100% 0, 50% 50%);
}

/* 错误提示样式 */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* 加载中样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--ThemeColor);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:1440px) {
    .context-baseplate {
        width: 100%;
        height: 100%;
    }

    .context-triangle-left, .context-triangle-right, .context-img {
        display: none;
    }

    .login-box {
        right: initial;
    }

    .footer {
        width: 100%;
        position: absolute;
        bottom: 0;
        height: 100px;
    }

    .login-box {
        width: 335px;
    }

        .login-box .login-logo {
            margin-top: 5px;
            margin-bottom: 5px;
        }

    .login-box-body, .register-box-body {
        padding: 15px;
    }

    .form-control {
        height: 34px;
        font-size: 12px;
    }

    .btn-vistra {
        height: 36px;
        font-size: 14px;
    }

    table img {
        height: 34px !important;
    }

    .form-control {
        font-size: 14px;
    }

    .form-control-feedback {
        height: 34px;
        line-height: 34px;
    }
}
