c-login {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

c-login .system-name {
    position: absolute;
    top: 10%;
    text-align: center;
    color: #1a73e8;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

c-login .login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

c-login .login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a73e8;
}

c-login .form-item {
    margin-bottom: 1rem;
}

c-login .form-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

c-login .form-item input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

c-login .form-item input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* 密码输入框容器样式 */
c-login .password-container {
    position: relative;
}

c-login .password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

c-login .password-input-wrapper input {
    width: 100%;
    padding-right: 40px; /* 为眼睛图标留出空间 */
}

c-login .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: #666;
    transition: color 0.3s;
}

c-login .password-toggle:hover {
    color: #1a73e8;
}

c-login .eye-icon {
    width: 20px;
    height: 20px;
}

c-login .eye-open {
    display: block;
}

c-login .eye-closed {
    display: none;
}

c-login .login-button {
    width: 100%;
    padding: 0.8rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

c-login .login-button:hover {
    background-color: #1557b0;
}

c-login .forgot-password {
    text-align: center;
    margin-top: 1rem;
}

c-login .forgot-password a {
    color: #1a73e8;
    text-decoration: none;
}

c-login .forgot-password a:hover {
    text-decoration: underline;
}

c-login .system-version {
    position: absolute;
    bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* 验证码容器样式 */
c-login .verify-code-container {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

c-login .verify-code-input {
    flex: 1;
}

c-login .verify-code-image {
    flex-shrink: 0;
}

c-login .verify-code-image img {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

c-login .verify-code-image img:hover {
    opacity: 0.8;
}

/* 短信验证码容器样式 */
c-login .sms-code-container {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

c-login .sms-code-input {
    flex: 1;
}

c-login .send-sms-btn {
    flex-shrink: 0;
    padding: 0.8rem 1rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    min-width: 100px;
}

c-login .send-sms-btn:hover:not(:disabled) {
    background-color: #1557b0;
}

c-login .send-sms-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 登录方式切换器样式 */
c-login .login-type-switcher {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

c-login .login-type-label {
    color: #666;
    font-size: 0.9rem;
}

c-login .login-type-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

c-login .login-type-link:hover {
    text-decoration: underline;
}

c-login .login-type-separator {
    color: #ccc;
    margin: 0 0.5rem;
}/* 顶部导航栏样式 */
.c-app .navbar {
    background-color: #ffffff;
    color: #333;
    height: 50px;
    line-height: 50px;
    padding-right: 20px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000000;
    border-bottom: 1px solid #E0E0E0;
}

.c-app .navbar-brand {
    font-size: 22px;
    font-weight: 500;
    color: #1a73e8;
}

.c-app .navbar-right {
    display: flex;
    align-items: center;
}

.c-app .navbar-right a {
    color: #5f6368;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    /* 添加鼠标手型样式 */
}

.c-app .navbar-right a:hover {
    color: #1a73e8;
}

/* 主要内容区布局 */
.c-app .main-container {
    display: flex;
    margin-top: 50px;
    min-height: calc(100vh - 50px);
    background-color: #f8f9fa;
    width: 100%;
    /* 确保主容器宽度为100% */
}

/* 左侧菜单样式 */
.c-app .sidebar {
    width: 270px;
    background-color: #ffffff;
    color: #5f6368;
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    z-index: 1000000;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

/* 菜单样式 */
.c-app .menu {
    list-style: none;
    padding: 12px 0;
}

.c-app .menu li {
    position: relative;
}

.c-app .menu-item {
    padding: 10px 10px;
    display: flex;
    align-items: center;
    color: #5f6368;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
    /*border-radius: 0 24px 24px 0;*/
    /*margin-right: 12px;*/
}

.c-app .menu-item:hover {
    background-color: #f1f3f4;
    color: #1a73e8;
}

/* 二级菜单 */
.c-app .submenu {
    list-style: none;
    display: none;
    background-color: transparent;
}

.c-app .submenu .menu-item {
    padding-left: 30px;
}

/* 三级菜单 */
.c-app .submenu .submenu .menu-item {
    padding-left: 50px;
}

/* 四级菜单 */
.c-app .submenu .submenu .submenu .menu-item {
    padding-left: 70px;
}

/* 五级菜单 */
.c-app .submenu .submenu .submenu .submenu .menu-item {
    padding-left: 90px;
}

/* 展开状态 */
.c-app .menu li.active>.submenu {
    display: block;
}

.c-app .menu li.active>.menu-item {
    color: #1a73e8;
    background-color: #e8f0fe;
}

/* 右侧内容区域 */
.c-app .content {
    flex: 1;
    margin-left: 270px;
    width: calc(100% - 270px);
    background-color: #FFFFFF;
    min-height: calc(100vh - 50px);
    transition: all 0.3s ease;
    font-size: 14px;
    overflow: hidden;
}

/* 图标样式 */
.c-app .menu-item i {
    margin-right: 5px;
    width: 20px;
    text-align: center;
    display: inline-block;
    color: #5f6368;
}

.c-app .menu-item:hover i {
    color: #1a73e8;
}

.c-app .menu-item-with-submenu::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: #5f6368;
}

.c-app .active>.menu-item-with-submenu::after {
    transform: translateY(-50%) rotate(90deg);
    color: #1a73e8;
}

/* 菜单切换按钮样式 */
.c-app .menu-toggle {
    font-size: 20px;
    color: #5f6368;
    cursor: pointer;
    margin-right: 24px;
    transition: color 0.3s;
}

.c-app .menu-toggle:hover {
    color: #1a73e8;
}

/* 菜单收起时的样式 */
.c-app .sidebar.collapsed {
    width: 40px;
}

.c-app .sidebar.collapsed .menu-item span {
    display: none;
}

.c-app .sidebar.collapsed .submenu {
    position: absolute;
    left: 40px;
    top: 0;
    width: 270px;
    display: none;
    background-color: #ffffff;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.c-app .sidebar.collapsed li:hover>.submenu {
    display: block;
}

.c-app .sidebar.collapsed .menu-item-with-submenu::after {
    display: none;
}

/* 内容区域适应菜单收起状态 */
.c-app .content.expanded {
    margin-left: 40px;
}

/* 选项卡容器样式 */
.c-app .tabs-container {
    display: flex;
    align-items: center;
    /* 垂直居中对齐 */
    justify-content: space-between;
    /* 在主轴上分配空间 */
    width: 100%;
    /* 确保容器宽度为100% */
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
    height: 40px;
    line-height: 37px;
}

/* 选项卡样式 */
.c-app .tabs {
    display: flex;
    flex-grow: 1;
    /* 使选项卡占据可用空间 */
    margin-right: 16px;
    /* 右侧间距，给按钮留出空间 */
    overflow: hidden;
    /* 禁止横向滚动条 */
    white-space: nowrap;
    /* 不允许换行 */
    max-width: 100%;
    /* 确保不超过父容器宽度 */
}

/* 选项卡项样式 */
.c-app .tab-item {
    padding: 0 10px;
    padding-right: 5px;
    cursor: pointer;
    /* border-top: 2px solid transparent; */
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: bold;
    list-style: none;
    color: #5f6368;
    transition: all 0.3s;
    border-right: 1px solid #f3f3f3;
}

.c-app .tab-item:hover {
    color: #1a73e8;
}

.c-app .tab-item.active {
    /* border-top: 2px solid transparent; */
    border-bottom: 2px solid #1a73e8;
    color: #1a73e8;
    background-color: #f6f6f6;
}

.c-app .tab-close {
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.c-app .tab-close:hover {
    opacity: 1;
}

.c-app .app-tab-pane {
    display: none;
    width: 100%;
    height: 100%;
}

.c-app .app-tab-pane.active {
    display: block;
}

.c-app .tabsContent {
    width: 100%;
    height: 100%;
    padding: 8px;
    background-color: #f2f2f2;
}

/* 左右滚动按钮样式 */
.c-app .scroll-left,
.c-app .scroll-right {
    background-color: transparent;
    /* 背景透明 */
    border: none;
    /* 去掉边框 */
    cursor: pointer;
    /* 鼠标手型 */
    color: #5f6368;
    /* 按钮颜色 */
    font-size: 16px;
    /* 调整字体大小，变小 */
    margin: 0 8px;
    /* 左右间距 */
    transition: color 0.3s;
    /* 颜色过渡效果 */
}

/* 图标样式 */
.c-app .scroll-left i,
.c-app .scroll-right i {
    font-size: 16px;
    /* 调整图标大小 */
}

.c-app .scroll-left:hover,
.c-app .scroll-right:hover {
    color: #1a73e8;
    /* 悬停时颜色变化 */
}

/* 滚动按钮悬停效果 */
.c-app .scroll-left:hover,
.c-app .scroll-right:hover {
    background-color: #e8f0fe;
}

/* 用户下拉菜单样式 */
.c-app .user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 24px;
    height: 50px;
}

.c-app .user-account {
    color: #5f6368;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
    height: 100%;
}

.c-app .user-account:hover {
    color: #1a73e8;
    background-color: #f1f3f4;
}

.c-app .dropdown-arrow {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.c-app .dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.c-app .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    z-index: 1000001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.c-app .user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.c-app .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0px 16px;
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    cursor: pointer;
    border-radius: 0;
}

.c-app .dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.c-app .dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.c-app .dropdown-item:hover {
    background-color: #f1f3f4;
    color: #1a73e8;
}


.c-app .dropdown-item i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.c-app .dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 2px 0;
}.project-info {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 14px;

    a {
        color: green;
        text-decoration: none;
    }
}

.search-container {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-right: 30px;
}

.search-box {
    flex: 1;
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.search-box:focus {
    outline: none;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.search-button {
    padding: 8px 16px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-button:hover {
    background: #40a9ff;
}

.delay-date-container {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

.delay-date-container input[type="date"] {
    margin-left: 8px;
    padding: 4px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #666;
}

.delay-date-container input[type="date"]:hover {
    border-color: #40a9ff;
}
.button-div{
    text-align: center;
}

.confirm-div{
    margin-top: 8px;
}
.confirm-button {
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 15px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
    transition: all 0.3s;
}

.confirm-button:hover {
    background-color: #40a9ff;
}

.confirm-button:active {
    background-color: #096dd9;
}.workflow-diagram {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    display: block;
    margin: 0 auto;
}

workflow-graphic {
    display: flex;
    min-width: 600px;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: auto;
}

.workflow-node {
    cursor: pointer;
}

.workflow-node:hover {
    background-color: #f9f9f9;
}

.decision-node .node-rect {
    fill: #ffffff;
    stroke: #000000;
    stroke-width: 2;
}

.node-rect {
    fill: #ffffff;
    stroke: #333333;
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.node-text {
    fill: #000000;
    font-size: 14px;
    font-weight: 500;
}

/* 已完成节点样式 - 蓝色主题 */
.node-completed .node-rect {
    fill: #e6f7ff !important;
    stroke: #1890ff !important;
    stroke-width: 2;
}

.node-completed .node-text {
    fill: #1890ff !important;
}

/* 跳转节点样式 - 橙色主题 */
.node-jump .node-rect {
    fill: #fff7e6 !important;
    stroke: #fa8c16 !important;
    stroke-width: 2;
}

.node-jump .node-text {
    fill: #fa8c16 !important;
}

/* 当前正在审批节点样式 - 红色主题 */
.node-current .node-rect {
    fill: #fff1f0 !important;
    stroke: #f5222d !important;
    stroke-width: 2;
}

.node-current .node-text {
    fill: #f5222d !important;
}

.workflow-connection {
    stroke: #333333;
    stroke-width: 2;
    fill: none;
}

.decision-node .workflow-connection {
    stroke: #000000;
}

.workflow-connection-group {
    cursor: pointer;
}

.connection-condition {
    fill: #000000;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    background-color: white;
    padding: 2px 4px;
    border-radius: 4px;
}

.connection-condition:hover {
    fill: #000000;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    font-size: 16px;
}