.table>tbody>tr>td:first-child, .table>tbody>tr>th:first-child, .table>thead>tr>td:first-child, .table>thead>tr>th:first-child {
    padding-left: 5px !important;
}
.btn {
    border-radius: 3px;
}
.fixed .content-wrapper, .fixed .right-side {
    padding-top: 50px;
}
@media (max-width: 767px){
    .fixed .content-wrapper, .fixed .right-side {
        padding-top: 50px;
    }
}
.main-header .logo {
    height: 52px;
}
em{
    font-style: normal;
    color: #f73131;
}
.skin-blue-light .main-header .navbar {
    background-color: #1b88b9 !important;
}
.skin-blue-light .main-header .logo {
    background-color: #1b88b9 !important;
    color: #ffffff;
    border-bottom: 0 solid transparent;
}

.main-header .navbar {
    margin-left: 260px !important;
}
.main-header .logo  {
    width: 260px !important;
}
.main-header .logo {
    text-align: left !important;
} 

/* 编辑样式统一 */
[contenteditable] {
    background-color: #fff;
    position: relative;
    z-index: 100;
    outline: none;
    padding: 6px 4px;
    border: 1px solid #3c8dbc;
    transition: all 0.2s ease;
    cursor: text;
    height: 100% !important;
    display: block;
    width: 100%;
    line-height: 28px;
    border-radius: 3px;
    box-sizing: border-box;
    min-height: 40px;
}

[contenteditable]:hover {
    background-color: #f0f7fc;
    border-color: #2d6987;
}

[contenteditable]:focus {
    background-color: #fffde7 !important;  /* 淡黄色背景 */
    border: 2px solid green !important;
    box-shadow: 0 0 8px rgba(60,141,188,0.5);
    padding: 5px 3px;
    color: #000;  /* 编辑时使用黑色文字 */
    font-weight: bold;
}

/* 编辑时的样式 */
.editing {
    background-color: #fffde7 !important;
    border: 2px solid green !important;
    box-shadow: 0 0 12px rgba(60,141,188,0.4);
    transform: scale(1.01);
    z-index: 101;
    color: #000 !important;
    font-weight: bold;
    height: 100% !important;
    min-height: 40px;
}

/* 关联字段的提示样式 */
td[data-field="taskNameAndNote"] .task-note-wrapper {
    cursor: help;
    padding: 6px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* 确保单元格内容正确显示 */
.table > tbody > tr > td > div {
    display: block;
    padding: 6px 4px;
    white-space: normal;
    word-break: break-all;
    height: 100%;
}

/* 表格单元格基础样式 */
.table > tbody > tr > td {
    padding: 0 !important;
    position: relative;
    vertical-align: middle;
    height: 40px;
    transition: all 0.2s ease;
}

/* 表格样式统一 */
.fixed-table-container {
    border: none !important;
}

.table {
    border: 1px solid #ddd;
    margin-bottom: 0;
}

.table > thead > tr > th {
    border-bottom: 2px solid #ddd;
    padding: 8px 4px !important;
    height: 45px;  /* 增加表头高度 */
    vertical-align: middle;  /* 确保表头文字垂直居中 */
}

/* 表格行样式 */
.table > tbody > tr:hover {
    background-color: #f5f5f5;
}

/* 已修改单元格的样式 */
td[data-modified="true"] {
    background-color: #fff8e1 !important;  /* 淡黄色背景 */
    color: #ff6d00 !important;  /* 橙色文字 */
    font-weight: bold !important;
}

/* 确保修改标记优先级 */
.table > tbody > tr > td[data-modified="true"],
.table-hover > tbody > tr > td[data-modified="true"],
.table-striped > tbody > tr > td[data-modified="true"] {
    background-color: #fff8e1 !important;
    color: #ff6d00 !important;
    font-weight: bold !important;
}

/* 悬停时保持样式 */
.table > tbody > tr:hover > td[data-modified="true"],
.table-hover > tbody > tr:hover > td[data-modified="true"] {
    background-color: #fff3e0 !important;  /* 悬停时稍微深一点的背景 */
    color: #ff6d00 !important;
    font-weight: bold !important;
} 