* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f5f7fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
}

.environment-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 15px;
}

.badge-source {
    background: #e6a23c;
    color: white;
}

.badge-target {
    background: #409eff;
    color: white;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e4e7ed;
    color: #303133;
}

/* 统计信息 */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 按钮组 */
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 日期输入 */
.date-input {
    width: 200px;
    margin-right: 15px;
}

/* 文件列表 */
.file-list {
    max-height: 400px;
    overflow-y: auto;
}

/* 日志区域 */
.log-area {
    background: #f5f7fa;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
}

.log-item {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 3px;
}

.log-success {
    background: #f0f9ff;
    color: #67c23a;
}

.log-error {
    background: #fef0f0;
    color: #f56c6c;
}

.log-info {
    background: #f4f4f5;
    color: #909399;
}

/* 表单提示 */
.form-tip {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 4px;
}

/* BLOB标签 */
.blob-tag {
    margin: 2px;
}

/* 分页 */
.pagination-container {
    margin-top: 20px;
    text-align: right;
}

/* 搜索卡片 */
.search-card {
    background: #fafafa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.batch-delete-btn {
    margin-left: 10px;
}

/* Tab内容 */
.tab-content {
    padding-top: 20px;
}