@font-face {
    font-family: 'NOTOSANS';
    src: url('fonts/NOTOSANS-REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    --height: -420px; /* 默认高度 */
}
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    font-family: 'NOTOSANS';
}
.login-body {
    margin: 0;
    padding: 0;
    font-family: 'Arial';
    background: url('images/login_bg.png') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.index-body {
    margin: 0;
    padding: 10px;
    font-family: 'Arial';
    background: url('images/index-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: start;
}

.login-container {
    background-color: rgb(255 255 255 / 70%);
    padding: 10px 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 400px;
    margin-left: 40%;
    margin-top: var(--height); /*-420px;*/
}

    .login-container h2 {
        text-align: left;
        margin-bottom: 45px;
        color: #043b72;
        font-size: 48px;
        font-weight: bold;
        font-family: 'NOTOSANS';
    }

    .login-container h3 {
        color: #043b72;
        font-size: 30px;
        font-weight: bold;
    }

    .login-container a {
        font-size: 20px;
        font-weight: bold;
    }

.input-group {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-family: 'NOTOSANS';
        font-weight: 600;
        color: #444;
        font-size: 1.5rem;
    }

.input-wrapper {
    position: relative;
}

    .input-wrapper input {
        width: 100%;
        padding: 10px 50px 10px 20px;
        border: 2px solid #ddd;
        border-radius: 12px;
        font-family: Arial;
        font-size: 1.5rem;
        transition: all 0.3s ease;
        outline: none;
        background: #f9f9f9;
    }

        .input-wrapper input:focus {
            border-color: #4d90fe;
            box-shadow: 0 0 0 3px rgba(77, 144, 254, 0.2);
            background: #fff;
        }

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .toggle-password:hover {
        color: #4d90fe;
        background: rgba(77, 144, 254, 0.1);
    }

    .toggle-password:active {
        transform: translateY(-50%) scale(0.95);
    }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #82888b;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 18px;
    height: 48px;
}

.login-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #82888b;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 25px;
    height: 70px;
}

.login-btn {
    width: 150px;
    padding: 8px 20px;
    background-color: #043b72;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    transition: background-color 0.3s;
    margin-top: 20px;
}

    .login-btn:hover {
        background-color: #2b7ac8;
    }

.logout-btn {
    width: 200px;
    padding: 8px 12px;
    background-color: #043b72;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.3s;
}

    .logout-btn:hover {
        background-color: #2b7ac8;
    }

.chg-psw-btn {
    width: 200px;
    padding: 8px 12px;
    background-color: #043b72;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.3s;
}

    .chg-psw-btn:hover {
        background-color: #2b7ac8;
    }

.link-btn {
    width: 100px;
    padding: 8px 12px;
    background-color: #043b72;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s;
}
    .link-btn:hover {
        background-color: #2b7ac8;
    }

.submit-btn {
    width: 150px;
    padding: 12px 30px;
    background-color: #043b72;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: #2b7ac8;
    }

.index-container {
    /*width: 80vw;*/
    /*height: 75vh;*/
    padding-top: 60px;
    padding-left: 120px;
}

    .index-container h1 {
        text-align: left;
        margin-bottom: 45px;
        color: #043b72;
        font-size: 38px;
        font-weight: bold;
        font-family: 'NOTOSANS';
    }

        h1 span {
            color: #ffffff;
        }

.index-container h3 {
    text-align: left;
    margin-bottom: 45px;
    color: #043b72;
    font-size: 32px;
    font-weight: bold;
    font-family: 'NOTOSANS';
}

        h3 span {
            color: #ffffff;
        }

.index-body h2 {
    color: #043b72;
    font-size: 30px;
    font-weight: bold;
}

.welcome-box {
    height: 100%;
   /* display: flex;
    flex-direction: column;*/
}

.item {
    flex: 1;
    /*text-align: center;*/ /* 可选，使内容居中 */
    /*padding: 10px;*/ /* 可选，添加一些内边距 */
}

.white-box {
    background-color: hsl(0deg 0% 100% / 67%);
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 16px 16px;
    margin-left: 60px;
}

.e-leave-icon {
    width: 100px;
    height: 100px;
    background-image: url('images/ELeave.png');
    background-size: cover;
    background-position: center;
    display: block;
    margin-bottom: 20px;
}

.e-appraisal-icon {
    width: 100px;
    height: 100px;
    background-image: url('images/EAppraisal.png');
    background-size: cover;
    background-position: center;
    display: block;
    margin-bottom: 20px;
}

.ess-icon {
    width: 100px;
    height: 100px;
    background-image: url('images/ESS.png');
    background-size: cover;
    background-position: center;
    display: block;
    margin-bottom: 20px;
}

.logout-container {
    display: flex;
    justify-content: space-between;
    padding-top:40px;
    width:530px;
}
.item-left {
    /*flex: 1 1; 
    margin: 5px; */
    justify-self: start;
}
.item-right {
    justify-self:end;
    padding-left:12px;
}
.space-4 {
    padding-top:4px;
}

.login-center {
    display: flex;
    justify-content: center;
    align-items: center;
    display: -webkit-flex;
    -webkit-justify-content: center;
    -webkit-align-items: center;
}
.login-img {
    width: 400px;
    height: 120px;
}

@media only screen and (max-width:480px) {
    .login-img {
        width: 300px;
        height: 100px;
    }
}
.login-box {
    width: 400px;
}

.no-border {
    border-width: 0;
}

.widget-box {
    padding: 0;
    box-shadow: none;
    margin: 3px 0;
    border: 1px solid #CCC;
}

.widget-body {
    background-color: #FFF;
}

.widget-main {
    padding: 12px;
}

.header.blue {
    border-bottom-color: #d5e3ef;
}

h4.bigger {
    font-size: 19px;
}

.blue {
    color: #478FCA !important;
}

.lighter {
    font-weight: lighter;
}

.header {
    line-height: 28px;
    margin-bottom: 16px;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid #CCC;
}

.space-6, [class*=vspace-6] {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 6px 0 5px;
}
.block {
    display: block !important;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
}

span.input-icon {
    display: inline-block;
}

.input-icon {
    position: relative;
}

.input-icon.input-icon-right > .ace-icon {
    left: auto;
    right: 8px;
}

.input-icon > .ace-icon {
    padding: 0 12px;
    z-index: 2;
    position: absolute;
    top: 0px;
    bottom: 1px;
    left: 3px;
    line-height: 56px;
    display: inline-block;
    color: #909090;
    font-size: 20px;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ace-icon {
    text-align: center;
}
.input-icon.input-icon-right > .ace-icon {
    left: auto;
    right: 3px;
}
*, :after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fa-coffee:before {
    content: "\f0f4";
}
.fa-user:before {
    content: "\f007";
}
.fa-lock:before {
    content: "\f023";
}

.width-35 {
    width: 35% !important;
}

.btn.btn-app {
    display: inline-block;
    width: 100px;
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
    text-align: center;
    text-shadow: 0 -1px -1px rgba(0, 0, 0, .2) !important;
    border: none;
    border-radius: 12px;
    padding: 12px 0 8px;
    margin: 2px;
    line-height: 1.7;
    position: relative;
}

    .btn.btn-app.btn-sm {
       /* width: 120px;*/
        font-size: 18px;
        font-weight:700;
        border-radius: 10px;
        line-height: 3.5;
    }

.btn-app.btn-purple, .btn-app.btn-purple.disabled:hover, .btn-app.btn-purple.no-hover:hover {
    background: repeat-x #9889c1 !important;
    background-image: -webkit-linear-gradient(top, #A696CE 0, #8A7CB4 100%) !important;
    background-image: -o-linear-gradient(top, #A696CE 0, #8A7CB4 100%) !important;
    background-image: linear-gradient(to bottom, #A696CE 0, #8A7CB4 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa696ce', endColorstr='#ff8a7cb4', GradientType=0) !important;
}

.btn-app.btn-success, .btn-app.btn-success.disabled:hover, .btn-app.btn-success.no-hover:hover {
    background: repeat-x #85b558 !important;
    background-image: -webkit-linear-gradient(top, #8EBF60 0, #7DAA50 100%) !important;
    background-image: -o-linear-gradient(top, #8EBF60 0, #7DAA50 100%) !important;
    background-image: linear-gradient(to bottom, #8EBF60 0, #7DAA50 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ebf60', endColorstr='#ff7daa50', GradientType=0) !important;
}

.btn-app.btn-primary, .btn-app.btn-primary.disabled:hover, .btn-app.btn-primary.no-hover:hover {
    background: repeat-x #2a8bcb !important;
    background-image: -webkit-linear-gradient(top, #3B98D6 0, #197EC1 100%) !important;
    background-image: -o-linear-gradient(top, #3B98D6 0, #197EC1 100%) !important;
    background-image: linear-gradient(to bottom, #3B98D6 0, #197EC1 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b98d6', endColorstr='#ff197ec1', GradientType=0) !important;
}

.error {
    color: red;
    margin-top: 10px;
}
.success {
    color: blue;
    margin-top: 10px;
}
.group-app-content {
    /*height: 100%;*/
    overflow: hidden;
    clear: both;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 60px 10px 60px 0px;
}

.um-box-vc {
    /*display: -webkit-flex;
    display: flex;*/
    display: -moz-box;
    -webkit-box-align: start;
    -moz-box-align: start;
    box-align: start;
    -webkit-align-items: start;
    -moz-align-items: start;
    align-items: start;
}
.group-app-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding: 10px 0;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}

.group-app-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 75px;
    text-align: center;
    -webkit-transition: background .2s linear;
    transition: background .2s linear;
    cursor: pointer;
}
.group-app-item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    padding: 0 28px;
    overflow: hidden;
    border: none;
    background-color: transparent;
}

.group-app-item:hover {
    background: #d1cdcd;
    border-radius: 6px;
    z-index: 1
}

.group-app-item:hover .group-app-item-hover-default {
    visibility: visible
}

    .group-app-item {
        overflow: hidden
    }
.group-app-item:disabled {
    cursor:not-allowed;
    color:grey;
}
.group-app-icon.color-icon, .group-app__icon.color-icon {
    position: relative;
    overflow: hidden;
}

.group-app-icon, .group-app__icon {
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.group-app-name.color-icon {
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.group-app-name {
    overflow: hidden;
    white-space: normal;
    width: 100%;
    font-size: 14px;
    color: rgb(17, 17, 17);
}
.staff-name {
    overflow: hidden;
    white-space: normal;
    width: 100%;
    font-size: 14px;
    color: #5a5ff8;
    margin-top: 20px;
}
.blue_icon {
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(135deg, rgb(0, 118, 255), rgb(23, 182, 255));
    border-radius: 7.68px;
}

.orange_icon {
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(129deg, rgb(255, 158, 2), rgb(255, 203, 0));
    border-radius: 7.68px;
}

.green_icon {
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(132deg, rgb(0, 161, 78), rgb(0, 206, 102));
    border-radius: 7.68px;
}

.red_icon {
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(132deg, rgb(220, 94, 50), rgb(246, 100, 31));
    border-radius: 7.68px;
}

.logout {
    color: #3ba4e8;
    text-decoration: underline;
    font-size: 22px;
    font-weight: 200;
    cursor: pointer;
}

.form-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: grid;
    place-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 模态框样式 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 40px 25px 25px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
}

/* 关闭按钮样式 */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

    .close-btn:hover {
        color: #333;
    }

/* 表单样式 */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

input[type="email"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    /*font-size: 16px;*/
}

/*.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

    .submit-btn:hover {
        background: #0056b3;
    }*/
    .submit-btn:disabled {
        background: #cccccc;
        cursor: not-allowed;
        opacity: 0.7;
    }
/* 过渡动画 */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.scale-enter-active,
.scale-leave-active {
    transition: all 0.3s;
}

.scale-enter-from,
.scale-leave-to {
    transform: scale(0.8);
    opacity: 0;
}

@media only screen and (min-width: 481px) and (max-width:599px) {
   /* .login-container {
        margin-top: -40px;
    }*/
    .index-container {
        /* width: 98vw;*/
        padding-top: 10%;
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media only screen and (min-width: 600px) and (max-width:899px) {
    /*.login-container {
        margin-top: -40px;
    }*/
    .index-container {
        /* width: 98vw;*/
        padding-top: 10%;
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media only screen and (min-width: 481px) and (max-width:899px) {

    .login-container {
        width: 400px;
        padding: 30px;
        margin-left: 50px;
        /*margin-top: -40px;*/
    }

        .login-container h2 {
            font-size: 50px;
        }

        .login-container h3 {
            font-size: 25px;
        }

        .login-container a {
            font-size: 20px;
        }

    .form-group input {
        font-size: 18px;
        height: 50px;
    }

    .input-icon > .ace-icon {
        line-height: 50px;
        font-size: 16px;
    }

        .index-container h1 {
            font-size: 32px;
        }

        .index-container h3 {
            font-size: 32px;
        }

    .welcome-box {
        height: 100%;
        display: inherit;
    }

    .white-box {
        margin-left: 40px;
        padding: 20px 20px;
    }

    .e-leave-icon {
        width: 100px;
        height: 100px;
    }

    .e-appraisal-icon {
        width: 100px;
        height: 100px;
    }

    .ess-icon {
        width: 100px;
        height: 100px;
    }

    .submit-btn {
        width: 150px;
        padding: 12px 10px;
        font-size: 18px;
    }

    .logout-btn {
        width: 180px;
        padding: 12px 30px;
        font-size: 14px;
    }

    .chg-psw-btn {
        width: 180px;
        padding: 12px 10px;
        font-size: 14px;
    }

    .link-btn {
        width: 100px;
        padding: 8px 12px;
    }

    .logout-container {
        padding-right: 10px;
        width: 520px;
    }

    .group-app-content {
        padding: 40px 10px 40px 0px;
    }
}

@media only screen and (max-width:480px) {

    .login-container {
        width: 360px;
        padding: 10px;
        margin-left: 15px;
        margin-top: 0px;
    }

        .login-container h2 {
            font-size: 50px;
        }

        .login-container h3 {
            font-size: 25px;
        }

        .login-container a {
            font-size: 20px;
        }

    .form-group input {
        font-size: 18px;
        height: 50px;
    }

    .input-icon > .ace-icon {
        line-height: 50px;
        font-size: 16px;
    }

    .index-body {
        justify-content: start;
    }

    .index-container {
        /* width: 100vw;
        height: 90vh;*/
        padding-top: 40px;
        padding-left: 0px;
    }

        .index-container h1 {
            font-size: 30px;
            margin-top: 20px;
            margin-bottom: 4px;
        }

        .index-container h3 {
            font-size: 30px;
            margin-bottom: 4px;
        }

    .welcome-box {
        height: 100%;
        display: inherit;
    }

    .white-box {
        margin-left: 4px;
        padding: 10px 10px;
    }

    .e-leave-icon {
        width: 100px;
        height: 100px;
    }

    .e-appraisal-icon {
        width: 100px;
        height: 100px;
    }

    .ess-icon {
        width: 100px;
        height: 100px;
    }

    .submit-btn {
        width: 100px;
        padding: 12px 10px;
        font-size: 14px;
    }

    .logout-btn {
        width: 180px;
        padding: 12px 30px;
        font-size: 14px;
    }

    .chg-psw-btn {
        width: 180px;
        padding: 12px 10px;
        font-size: 14px;
    }

    .logout-container {
        padding-right: 15px;
        width: 380px;
    }

    .group-app-content {
        padding: 40px 10px 40px 0px;
    }
}

@media (min-width: 900px) and (max-width: 1600px) {
    .login-container {
        margin-left: 20%;
    }
    .index-container {
        padding-top: 60px;
        padding-left: 60px;
        /*padding-right: 120px;*/
    }
        .index-container h1 {
            font-size: 38px;
        }
}

@media (min-width: 1600px) {
    .index-container {
        padding-top: 60px;
        padding-left: 280px;
        /*padding-right: 120px;*/
    }
}
