
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* 主内容容器 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* 标题区域 */
.title-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 22px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.title-content h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #111827;
}

.title-content p {
    font-size: 18px;
    color: #6b7280;
}

.title-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

@media (min-width: 768px) {
    .title-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .title-actions {
        margin-top: 0;
    }
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.action-btn i {
    margin-right: 6px;
}

/* 表格通用样式 */
.table-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-header {
    padding: 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #111827;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

th {
    background: #f3f4f6;
    font-weight: 600;
}

tr:hover {
    background: rgba(22, 93, 255, 0.03);
}

.bg-gray-50 {
    background: #f9fafb;
}

.font-medium {
    font-weight: 500;
}

.text-neutral {
    color: #6b7280;
}

.text-primary {
    color: #165DFF;
}

.bg-primary-light {
    background: rgba(22, 93, 255, 0.05);
}

/* 打印样式 */
@media print {
    body {
        background-color: white;
        padding: 20px;
    }
    
    .title-actions {
        display: none;
    }
    
    .table-card {
        box-shadow: none;
        border: 1px solid #d1d5db;
        margin-bottom: 30px;
    }
    
    @page {
        margin: 1.5cm;
    }
}
