@import url("customer-todo.css");

*{
    font-family: Arial, "Microsoft YaHei", "微软雅黑", "Segoe UI", sans-serif;
    font-size: 18px;
    color: #6e6e6e;
}
body{
    background-color: #f6f6f6;
}
.body{
    background-color: rgb(246,246,246);
}
textarea::placeholder,
input::placeholder {
    color: #d4d4d4 !important;
    opacity: 1;
}

textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder {
    color: #d4d4d4 !important;
    opacity: 1;
}

textarea::-moz-placeholder,
input::-moz-placeholder {
    color: #d4d4d4 !important;
    opacity: 1;
}

textarea:-ms-input-placeholder,
input:-ms-input-placeholder {
    color: #d4d4d4 !important;
}
input[type="text" i]{
    height: 35px;
    line-height: 35px;
    padding-inline: 1px;
    padding-block: 0px;
    font-size: 18px;
}
.context-font{
    color: #6e6e6e;
}
.input-text{
    height: 35px;
    width: 200px;
    line-height: 35px;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #D4D4D4;
}
.border{
    border: 1px solid #D2D2D2;
}
/* 确保下拉框与文本输入框宽度一致 */
select.input-text {
    width: 205px;
    height: 39px;
    line-height: 39px;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    box-sizing: border-box;
    color: #D4D4D4;
}

.input-text-long{
    height: 35px;
    width: 400px;
    line-height: 35px;
    font-size: 18px;
}

.input-text-full{
    height: 35px;
    width: calc(100% - 40px);
    line-height: 35px;
    font-size: 18px;
    margin: 0 20px;
    box-sizing: border-box;
}
.button-subject{
    width: 280px;
    height: 35px;
    line-height: 35px;
    background-color: #808080;
    color: #000000;
    font-size: 16px;
    border: solid 1px #797979;
}
.button-black{
    border-radius: 5px;
    width: 110px;
    height: 50px;
    background-color: #736e6e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 2px 2px 5px #f4f4f4;
}
.button-blue{
    border-radius: 5px;
    width: 110px;
    height: 50px;
    background-color: rgb(111,205,246);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.row-button{
    border-radius: 5px;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.button-long{
    border: rgb(216,216,216) 1px solid;
    border-radius: 5px;
    width: 200px;
    height: 30px;
    background-color: rgb(252,252,252);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    color: #6e6e6e;
}

.header{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 48px;
}

.header-text{
    margin-left: 27px;
    line-height: 48px;
    color: #939393;
    font-size: 16px;
    font-weight: bold;
    font-family: "Microsoft YaHei", SimHei, sans-serif;
}

.login-user{
    position: absolute;
    top: 0px;
    right: 27px;
    height: 48px;
    width: 100px;
    font-size: 19px;
    font-weight: 900;
    color: #5b5b88;
    line-height: 48px;
    cursor: pointer;
}

.header-tip{
    position: absolute;
    top: 36px;
    right: 23px;
    width: 127px;
    font-size: 16px;
    font-weight: 400;
    z-index: 888;
    color: #6E6E6E;
    background-color: white;
    display: none;
}
.header-tip-item:hover{
    background-color: #e0f4fe;
}

@media (max-width: 360px) {
    .header-text {
        max-width: calc(100% - 90px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
    }

    .login-user {
        right: 6px;
        width: 78px;
        overflow: hidden;
        text-align: right;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 16px;
    }

    .login-user > img {
        display: none;
    }
}

.login-user:hover .header-tip{
    display: block;
}

.first-banner{
    position: absolute;
    top: 48px;
    left: 0px;
    right: 0px;
    height: 65px;
    background-color: #4D4DFF;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.first-title{
    width: 164px;
    color: white;
    height: 53px;
    line-height: 53px;
    font-weight: bold;
    font-size: 20px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
.first-bg{
    width: 164px;
    height: 6px;
}



.second-banner{
    position: absolute;
    top: 113px;
    left: 0px;
    right: 0px;
    height: 66px;
    background-color: rgb(255,255,255);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgb(142,142,142);
    z-index: 10;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.second-title{
    margin-left: 30px;
    width: auto;
    min-width: 132px;
    max-width: 213px;
    padding: 0 16px;
    height: 100%;
    min-height: 31px;
    line-height: normal;
    font-weight: 400;
    color: #B8B8B8;
    float: none;
    flex: 0 0 auto;
    margin-bottom: 0;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.bottom-border{
    border-bottom: 1px solid #797979;
}

.menu-bottom-border{
    border-bottom: 3px solid #797979;
}

.white-bg{
    background-color: white;
}

.black-bg{
    background-color: rgb(134,134,134);
}

.blue-bg{
    background-color: #4D4DFF;
}

.form-group{
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    border: 1px solid #D2D2D2;
    border-radius: 0;
    background-color: #FFFFFF;
    box-shadow: 2px 2px 5px #f4f4f4;
}

.form-group-title{
    margin-left: 15px;
    margin-top: 22px;
    color: #6E6E6E;
    font-weight: bold;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 18px;
    min-height: 33px;
    line-height: 33px;
    display: flex;
    align-items: center;
}
.group-bottom{
    width: 100%;
    height: 20px;
}

.form-row{
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 22px;
    width: 100%;
    min-height: 35px;
}

.area-form-row{
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    width: 100%;
    min-height: 35px;
}

.cel-1{
    width: 100%;
    height: 35px;
}

.cel-2{
    float: left;
    width: 50%;
    height: 35px;
}
.cel-3{
    float: left;
    width: 33%;
    height: 35px;

}

.cel-label{
    float: left;
    color: #6E6E6E;
    line-height: 35px;
    height: 35px;
    width: 20%;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
.cel-label-view{
    float: left;
    color: #D4D4D4;
    line-height: 35px;
    height: 35px;
    width: 20%;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
.big-cel-label{
    float: left;
    color: #6E6E6E;
    line-height: 35px;
    height: 35px;
    width: 30%;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
.big-cel-label-2{
    float: left;
    color: #6E6E6E;
    line-height: 35px;
    height: 35px;
    width: 40%;
    font-size: 18px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}
.cel-text{
    float: left;
    line-height: 35px;
    height: 35px;
    width: 60%;
}
.small-cel-text{
    float: left;
    line-height: 35px;
    height: 35px;
    width: 50%;
}

.small-cel-text-2{
    float: left;
    line-height: 35px;
    height: 35px;
    width: 40%;
}

.small-cel-text-3{
    float: left;
    line-height: 35px;
    height: 35px;
    width: 30%;
}

.center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-20{
    width: 20%;
    height: 35px;
    line-height: 35px;
    float: left;
}
.row-10{
    width: 10%;
    height: 35px;
    line-height: 35px;
    float: left;
}

.th{
    height: 35px;
    line-height: 35px;
    background-color: rgb(246,246,246);
    float: left;
}
.td{
    height: 35px;
    line-height: 35px;
    float: left;
}

.under_line{
    text-decoration: underline;
    cursor: pointer;
}

.fix_w_200{
    width: 200px;
}
.fix_w_160{
    width: 160px;
}

.r_0{
    width: 0%;
}

.r_5{
    width: 5%;
}
.r_10{
    width: 10%;
}
.r_12{
    width: 12%;
}
.r_13{
    width: 13%;
}
.r_14{
    width: 14%;
}
.r_15{
    width: 15%;
}
.r_18{
    width: 18%;
}
.r_20{
    width: 20%;
}
.r_25{
    width: 25%;
}
.r_33{
    width: 33%;
}
.r_30{
    width: 30%;
}
.r_40{
    width: 40%;
}
.r_45{
    width: 45%;
}
.r_50{
    width: 50%;
}
.r_55{
    width: 55%;
}
.r_60{
    width: 60%;
}
.r_65{
    width: 65%;
}
.r_70{
    width: 70%;
}
.r_80{
    width: 80%;
}
.r_85{
    width: 85%;
}
.r_90{
    width: 90%;
}
.r_95{
    width: 95%;
}
.r_100{
    width: 100%;
}

/* 文本溢出处理 */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* todo-list通用样式增强 */
.todo-list {
    pointer-events: none;
}

.todo-list .todo-item,
.todo-list .scroll-y,
.todo-list .task-item,
.todo-list .task-item > div,
.todo-list .row-button,
.todo-list .task-item-info,
.todo-list input,
.todo-list select,
.todo-list textarea,
.todo-list button,
.todo-list a {
    pointer-events: auto;
}

.todo-list .task-item-name,
.todo-list .task-item-point {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 防止task-item超出父容器边界 */
.todo-list .task-item {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-wrap: nowrap;
}

.todo-list .task-item > div {
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0; /* 允许flex项目收缩到内容以下 */
}

/* 统一的卡片式task-item样式 - 来自todo.html */
.todo-list .task-item {
    margin: 5px 3px;
    min-height: 50px;
    padding: 5px 5px;
    /*background: #f9f9f9;*/
    border-radius: 6px;
    /*border-left: 3px solid #e0e0e0;*/
    /*box-shadow: 0 1px 3px rgba(0,0,0,0.1);*/
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.todo-list .task-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* task-item内部元素样式优化 */
.todo-list .task-item-name {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.todo-list .task-item-name strong,
.todo-list .task-item-name div[style*="font-weight: bold"] {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.todo-list .task-item-point {
    width: 80px;
    text-align: center;
    padding: 4px 8px;
    background: #007bff;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    white-space: nowrap;
}

/* 待办事项标签 */
.todo-list .task-item.processing .task-item-point {
    background: #007bff;
}

/* 在办事项标签 */
.todo-list .task-item.ongoing .task-item-point {
    background: #28a745;
}

.todo-list .task-item-info {
    width: 60px;
    text-align: center;
    color: #4849FC;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.todo-list .task-item-info:hover {
    background: rgba(72, 73, 252, 0.1);
}

/* 根据任务状态调整边框颜色 */
.todo-list .task-item.processing {
    border-left-color: #007bff;
}

.todo-list .task-item.ongoing {
    border-left-color: #28a745;
}

/* todo-item容器滚动控制 */
.todo-item {
    overflow-y: auto; /* 使用auto而不是scroll，只在需要时显示滚动条 */
    overflow-x: hidden; /* 防止水平滚动 */
    box-sizing: border-box;
}

/* 确保todo-item内部的滚动区域也有正确的约束 */
.todo-item .scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    box-sizing: border-box;
}

/* 截止时间信息样式 */
.deadline-info {
    font-size: 11px;
    margin-top: 2px;
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-block;
}

.deadline-normal {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.deadline-urgent {
    color: #FF9800;
    background-color: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.deadline-warning {
    color: #FFC107;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.deadline-critical {
    color: #D32F2F;
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.5);
    font-weight: bold;
    animation: pulse 2s infinite;
}

.deadline-overdue {
    color: #F44336;
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    font-weight: bold;
}

/* 脉冲动画效果 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}
.left_10{
    margin-left: 10px;
}
.left_20{
    margin-left: 20px;
}
.right_20{
    margin-right: 20px;
}
.left_40{
    margin-left: 40px;
}
.right_40{
    margin-right: 40px;
}
.table-row{
    margin-left: 20px;
    margin-right: 20px;
    height: 35px;
    line-height: 35px;
}

.a-href{
    text-decoration: underline;
    color: #4849FC;
    cursor: pointer;
}

.form-status{
    position: absolute;
    top: 196px;
    left: 78px;
    width: 60px;
    height: 60px;
    border: red solid 3px;
    border-radius: 40px;
    z-index: 9999;
    color: red;
    font-size: 18px;
}

.updateAttr{
    color: red;
}

.scroll-y{
    overflow-y: scroll;
}

.scroll-x{
    overflow-x: scroll;
}

.red-info-text{
    font-size: 18px;
    color: #D4D4D4;
    height: 35px;
    line-height: 35px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}

.dialog-guide-text{
    color: #D4D4D4;
    font-size: 18px;
    min-height: 35px;
    line-height: 35px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}

.dialog-select-text{
    color: #6E6E6E;
    font-size: 18px;
    min-height: 35px;
    line-height: 35px;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}

.show{
    display: block;
}

.noShow{
    display: none;
}
.noPass{
    color: #d4d4d4;
}

.normal-color{
    color: #6e6e6e;
}

.select-422 .input-text {
    width: 422px;
}
