/* 自定义样式，与Tailwind配合使用 */

/* 右键菜单样式 */
.context-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
    z-index: 1000;
}

.context-menu-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

/* 冻结第一列样式 */
th:first-child,
td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #e8f4ff;
}

th:first-child {
    z-index: 2;
    background-color: #d0e8ff;
}

tr:nth-child(even) td:first-child {
    background-color: #daeeff;
}

tr:nth-child(odd) td:first-child {
    background-color: #e8f4ff;
}

/* 表格通用样式 */
table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

/* 表格滚动容器 */
.table-container {
    overflow-x: auto;
    max-width: 100%;
} 