/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    line-height: 1.2;
    color: #333;
    background-color: #f5f7fa;
}

/* 主内容区域 */
.main-content {
    margin-left: 220px; /* 与侧边栏宽度匹配 */
    padding: 30px 50px;
    height: 100%;
    /* height: 100vh; */
    background-color: #fff;
}
.form-group {
    margin-bottom: 15px;
}
.btn {
    display: inline-block;
}

.table { max-width: 100%; }
.table th {vertical-align: middle;text-align: center;}
/* 每个单元格宽度最大120px, 超出显示省略号 -->*/
.table td { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 内容居中 */
.table td { text-align: center; }
/* 上下居中 */
.table td { vertical-align: middle; }


/*
 button {
            margin-top: 15px;
            padding: 10px 20px;
            font-size: 14px;
            background: #3498db;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
select{
	        margin-top: 15px;
            padding: 10px 20px;
            font-size: 14px;
            border: 1px solid;
            border-radius: 4px;
            cursor: pointer;
}	

input {
	        margin-top: 15px;
            padding: 10px 20px;
            font-size: 14px;
            border: 1px solid;
            border-radius: 4px;
            cursor: pointer;
}
	

/* 操作链接区域 
p {
    margin-bottom: 20px;
}

p a {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 12px;
    color: #3498db;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

p a:hover {
    background-color: #e3f2fd;
    color: #1976d2;
    transform: translateY(-1px);
}

/* 表格样式 
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    position: sticky;
    top: 0;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #f1f5f9;
}

/* 操作链接样式 
td a {
    color: #3498db;
    text-decoration: none;
    margin: 0 5px;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s;
}

td a:hover {
    background-color: #e3f2fd;
    color: #1976d2;
}

td a[onclick] {
    color: #e74c3c;
}

td a[onclick]:hover {
    background-color: #fde8e8;
}

/* 响应式设计 
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
    
    p a {
        display: block;
        margin-bottom: 10px;
    }
}

/* 图标与文本对齐 
td[data-type]::before {
    margin-right: 5px;
    font-size: 1.1em;
}

/* 类型标识 
.type-online::before {
    content: "⌨️";
}

.type-url::before {
    content: "🛜";
}

.type-file::before {
    content: "📁";
}
    */