/* CSS样式 */

.menu-bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0);
    transition: opacity 0.5s, backdrop-filter 0.5s, visibility 0.5s;
}
.main {
    padding-top: 6vw;
}

.loadingdiv {
    position: absolute;
    top: 0;
    z-index: 999;
    opacity: 0.5;
}

.fade-leave-active,
.fade-enter-active {
    transition: opacity 2s;
}


.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.project-fade-move,
.project-fade-leave-active,
.project-fade-enter-active {
    transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}


.project-fade-enter-from,
.project-fade-leave-to {
    opacity: 0;
    transform: scaleY(0.01) translate(0px, 0);
}

.project-fade-leave-active {
    transition: opacity 0.5s;
}

.project-fade-leave-to {
    opacity: 0;
    /* 设置离开时的透明度为0 */
}

.menu-bg.active {
    opacity: 1;
    display: block;
    visibility: visible;
    backdrop-filter: blur(20px);
}

.menu-container {
    color: #fff;
    z-index: 1000;
    position: fixed;
    left: 50%;
    top: 5vh;
    transform: translate(-50%);
    background-color: rgb(18 40 68);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    width: 65vw;
    line-height: 120%;
    font-size: 1.3vw;
    padding: 0 5vw;
}
.menu-list {
    border-radius: 10px;
    padding: 0.8vw 0.8vw;
    margin: 1vw 0;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(255 255 255 / 30%);
}

.menu-list span {
    display: block;
    padding-bottom: 1vw;
    padding-left: 1.2vw;
}

.menu-enter-but button {
    padding: 5px 20px;
    color: white;
    background: rgb(255 0 0);
    width: 10vw;
    margin: 2vw;
    padding: 0.5vw 2vw;
    font-size: 1vw;
    font-weight: 600;
    border-radius: 999px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(255 255 255 / 10%);
}

.menu-but {
    z-index: 999;

}

.highlight5 {
    background-color: rgb(224 224 224 / 5%);
    border-radius: 10px;
}

.highlight20 {
    background: rgb(224 224 224 / 20%) !important;
    border-radius: 10px;
}

button.highlight20 {
    background: rgb(224 224 224 / 80%) !important;
    color: #06182e;
}

label {
    padding: 5px 10px;
}
/* Background */
.bgimg {
    /* background: url(../img/ditu.png) no-repeat; */
    background-size: 100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    opacity: 0;
}

.linebox {
    background: #0d305d;
    background-size: 100%;
    width: 88vw;
    height: 100%;
    z-index: 0;
    position: absolute;
    right: 0;
    opacity: 1;
    top: 0;
}

.lineboximg {
    background: url(../img/lineBox.svg) no-repeat;
    background-size: 100%;
    width: 88vw;
    height: 100%;
    z-index: -1;
    position: absolute;
    right: 0;
    opacity: 1;
}

/* Colors */
.linecolorA {
    background: linear-gradient(90deg, #00cddf, #fadb00);
}

.linecolorB {
    background: linear-gradient(90deg, #00cddf, #00ca66);
}

.linecolorF {
    background: linear-gradient(90deg, #fadb00, #f94440);
}

/* Body and HTML */
body,
html {
    width: 100vw;
    height: 100vh;
    font-size: 1.2vw;
    background-color: #0c2949;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: -apple-system, BlinkMacSystemFont, Tahoma, Arial, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* Header */
.header {
    height: 7vw;
    width: 100vw;
    background: url(../img/headerbg2.svg) no-repeat;
    background-size: 100%;
    position: absolute;
    z-index: 1;
}

.header h1 {
    color: #ffffff;
    width: 100%;
    text-align: center;
    font-size: 2vw;
    margin: 0;
    padding: 0.9vw 0;
    letter-spacing: 0.2vw;
}

/* Content */
.content {
    display: flex;
    flex-direction: row;
}

/* Pagination Indicator */
.pagination-indicator {
    color: #fff;
    font-size: 0.8vw;
    position: absolute;
    right: 1.8vw;
    top: 2.5vw;
    z-index: 998;
}

/* Statistics */
.statistics {
    display: flex;
    color: #fff;
    flex-direction: column;
    width: 10vw;
    padding: 0 1vw;
}

.statistics-item {
    height: 8.6vw;
    width: 10vw;
    display: flex;
    margin: 0.5vw 0;
}

/* Date and Time */
.date-time {
    color: aliceblue;
    display: flex;
    position: absolute;
    left: 1.4vw;
    top: 2.4vw;
}

.date {
    font-size: 0.9vw;
    padding-top: 0.2vw;
}

.time {
    font-size: 1.1vw;
    padding-left: 1.5vw;
}

.timepoint .time {
    font-size: 0.8rem;
    padding-top: 0vw;
    text-align: center;
    padding-left: 0vw;
}

/* Project Category */
.project-category {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(90deg, rgb(21 125 242 / 30%), rgb(12 42 75 / 0%));
    border-radius: 0px;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    padding-left: 2vw;
}

.category-name {
    font-size: 1rem;
    padding-right: 0.2vw;
}

.project-count {
    font-size: 2.6rem;
    font-family: "DingTalk Sans";
}

.progress-marker img {
    height: 4.3vw;
    transform: rotateY(180deg);
    position: absolute;
    top: -3.8vw;
    left: -2vw;
}

/* Timeline */
.icon.start-time-icon {
    position: relative;
    top: 0vw;
}

.timeline-container {
    width: 100%;
    display: flex;
    position: relative;
    top: -4.1vw;
}

/* Project List */
.project-list {
    color: #fff;
    display: flex;
    border-radius: 0;
    padding: 1vw 0.7vw 1vw 1vw;
    margin: 0px 0vw 1.1vw 0.8vw;
    height: 6.3vw;
    border: #157df2 0.15vw solid;
    position: relative;
}

.project-list:nth-child(odd) {
    background: rgb(21 125 242 / 25%);
}

.project-list:nth-child(even) {
    background: rgb(27 217 237 / 25%);
}

.project-list .cornerTop {
    width: 1.2vw;
    position: absolute;
    top: -0.3vw;
    right: -0.3vw;
}

.project-list .cornerBottom {
    width: 1.2vw;
    position: absolute;
    bottom: -0.3vw;
    right: -0.3vw;
    transform: rotate(90deg);
}

.project-info {
    width: 24vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 1.1vw;
}

.project-name {
    width: 22vw;
    font-size: 1.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 1vw;
    line-height: 150%;
    display: block;
    font-weight: 600;
}

.executor-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 1);
    margin-top: 1vw;
    position: relative;
    padding-left: 1vw;
}

.executor-name::before {
    content: "";
    display: block;
    width: 0.5vw;
    height: 0.5vw;
    background-color: #ffffff;
    position: absolute;
    left: 0px;
    top: 0.5vw;
    border-radius: 50%;
}

.full-progress-bar {
    height: 1vw;
    width: 110%;
    background-color: rgb(21 125 242 / 45%);
    border-radius: 999px;
}

.project-progress-bar {
    height: 1vw;
    background-color: rgba(26, 255, 0, 0.779);
    border-radius: 999px;
    position: relative;
    top: -1vw;
}

.project-container {
    position: relative;
    margin-top: 0.3vw;
}

.project-timeline-info {
    width: 54vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1vw;
    margin-top: 1.6vw;
    padding-right: 5.2vw;
}

.icon img {
    height: 2.6vw;
    padding: 0.2vw;
}

.loading {
    font-size: 1.3rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100vw;
}

/* Pagination */
.pagination {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ddd;
}

.pagination-progress {
    height: 100%;
    background-color: #007bff;
    transition: width 5s ease;
}

/* Loading Animation */
@keyframes loadingAnimation {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.lodingbox {
    background: linear-gradient(to right,
            rgba(244, 244, 244, 0) 0%,
            rgba(244, 244, 244, 0.16) 25%,
            rgba(200, 200, 200, 0.3) 50%,
            rgba(244, 244, 244, 0.16) 75%,
            rgba(244, 244, 244, 0) 100%);
    background-size: 500% 100%;
    animation: loadingAnimation 5s linear infinite; /* 波纹的速度 */
}


/* Login Styles */
#login_container iframe {
    padding: 10px;
    background-color: #fff;
    border-width: 0px;
    width: 260px!important;
    height: 260px!important;
    border-radius: 10px;
}

div#login_container {
    color: #fff;
    display: flex;
    height: 100vh;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.login_box {
    width: 100%;
    text-align: center;
    padding: 0px;
}

.login_box h2{
    font-size: 26px;
}

/* Kanban Styles */
.logo img {
    height: 4.5vw;
}

.logo {
    width: 12vw;
    display: flex;
    padding-left: 3vw;
}

.executor-list {
    display: flex;
}

.executor {
    display: flex;
    align-items: center;
    margin-right: 0.5vw;
}

.executor-avatar img {
    border-radius: 999px;
    padding: 0.2vw;
}

.executor-avatar {
    display: flex;
}

.progress-bar-container {
    width: 100%;
    display: flex;
    margin-bottom: 1vw;
    position: static;
    flex-direction: column;
    align-items: flex-start;
}

.progress-marker {
    position: relative;
    top: -2.5vw;
}

.timepoint {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
}

.start-time-info,
.A-copy-info,
.B-copy-info,
.final-info {
    position: absolute;
}

.A-copy-info {}

.B-copy-info {
    left: 63%;
}

.final-info {
    left: 90%;
}

