body {
    background-color: #e3e5e8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.main-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Card Styling */
.detail-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 1px solid #dcdfe6;
}

.detail-card-header {
    background: #f5f7fa;
    padding: 10px 15px;
    border-bottom: 1px solid #ebeef5;
    font-weight: bold;
    font-size: 14px;
    color: #303133;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-card-body {
    padding: 15px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-label {
    width: 80px;
    color: #909399;
    font-weight: 500;
    flex-shrink: 0;
}

.info-value {
    color: #606266;
    flex-grow: 1;
    word-break: break-all;
}

.info-value.highlight {
    color: #f56c6c;
    font-weight: bold;
}

/* Action Bar */
.action-bar {
    background: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.action-bar a, .action-bar button {
    margin-right: 5px;
}

/* Table Styling */
.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.table-custom th {
    background-color: #f5f7fa;
    color: #909399;
    font-weight: 600;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #ebeef5;
}

.table-custom td {
    padding: 6px 10px;
    border-bottom: 1px solid #ebeef5;
    color: #606266;
    vertical-align: middle;
}

.table-custom tr:hover td {
    background-color: #fafafa;
}

.table-footer {
    padding: 15px;
    background: #fdf6ec;
    color: #e6a23c;
    font-size: 12px;
    border-top: 1px solid #faecd8;
}

/* Buttons */
.btn-xs {
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
}

/* Status Tags */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #fff;
    background-color: #909399;
}
.status-badge.success { background-color: #67c23a; }
.status-badge.warning { background-color: #e6a23c; }
.status-badge.danger { background-color: #f56c6c; }
.status-badge.primary { background-color: #409eff; }

/* Utility */
.text-red { color: #f56c6c; }
.text-blue { color: #409eff; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .detail-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
